Class DescribeGatewayInformationResult
- java.lang.Object
-
- com.amazonaws.services.storagegateway.model.DescribeGatewayInformationResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeGatewayInformationResult extends Object implements Serializable, Cloneable
A JSON object containing the following fields:
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeGatewayInformationResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeGatewayInformationResult
clone()
boolean
equals(Object obj)
String
getGatewayARN()
String
getGatewayId()
The unique identifier assigned to your gateway during activation.String
getGatewayName()
The name you configured for your gateway.List<NetworkInterface>
getGatewayNetworkInterfaces()
A NetworkInterface array that contains descriptions of the gateway network interfaces.String
getGatewayState()
A value that indicates the operating state of the gateway.String
getGatewayTimezone()
A value that indicates the time zone configured for the gateway.String
getGatewayType()
The type of the gateway.String
getLastSoftwareUpdate()
The date on which the last software update was applied to the gateway.String
getNextUpdateAvailabilityDate()
The date on which an update to the gateway is available.int
hashCode()
void
setGatewayARN(String gatewayARN)
void
setGatewayId(String gatewayId)
The unique identifier assigned to your gateway during activation.void
setGatewayName(String gatewayName)
The name you configured for your gateway.void
setGatewayNetworkInterfaces(Collection<NetworkInterface> gatewayNetworkInterfaces)
A NetworkInterface array that contains descriptions of the gateway network interfaces.void
setGatewayState(String gatewayState)
A value that indicates the operating state of the gateway.void
setGatewayTimezone(String gatewayTimezone)
A value that indicates the time zone configured for the gateway.void
setGatewayType(String gatewayType)
The type of the gateway.void
setLastSoftwareUpdate(String lastSoftwareUpdate)
The date on which the last software update was applied to the gateway.void
setNextUpdateAvailabilityDate(String nextUpdateAvailabilityDate)
The date on which an update to the gateway is available.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeGatewayInformationResult
withGatewayARN(String gatewayARN)
DescribeGatewayInformationResult
withGatewayId(String gatewayId)
The unique identifier assigned to your gateway during activation.DescribeGatewayInformationResult
withGatewayName(String gatewayName)
The name you configured for your gateway.DescribeGatewayInformationResult
withGatewayNetworkInterfaces(NetworkInterface... gatewayNetworkInterfaces)
A NetworkInterface array that contains descriptions of the gateway network interfaces.DescribeGatewayInformationResult
withGatewayNetworkInterfaces(Collection<NetworkInterface> gatewayNetworkInterfaces)
A NetworkInterface array that contains descriptions of the gateway network interfaces.DescribeGatewayInformationResult
withGatewayState(String gatewayState)
A value that indicates the operating state of the gateway.DescribeGatewayInformationResult
withGatewayTimezone(String gatewayTimezone)
A value that indicates the time zone configured for the gateway.DescribeGatewayInformationResult
withGatewayType(String gatewayType)
The type of the gateway.DescribeGatewayInformationResult
withLastSoftwareUpdate(String lastSoftwareUpdate)
The date on which the last software update was applied to the gateway.DescribeGatewayInformationResult
withNextUpdateAvailabilityDate(String nextUpdateAvailabilityDate)
The date on which an update to the gateway is available.
-
-
-
Method Detail
-
setGatewayARN
public void setGatewayARN(String gatewayARN)
- Parameters:
gatewayARN
-
-
getGatewayARN
public String getGatewayARN()
- Returns:
-
withGatewayARN
public DescribeGatewayInformationResult withGatewayARN(String gatewayARN)
- Parameters:
gatewayARN
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGatewayId
public void setGatewayId(String gatewayId)
The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
- Parameters:
gatewayId
- The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
-
getGatewayId
public String getGatewayId()
The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
- Returns:
- The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
-
withGatewayId
public DescribeGatewayInformationResult withGatewayId(String gatewayId)
The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
- Parameters:
gatewayId
- The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGatewayName
public void setGatewayName(String gatewayName)
The name you configured for your gateway.
- Parameters:
gatewayName
- The name you configured for your gateway.
-
getGatewayName
public String getGatewayName()
The name you configured for your gateway.
- Returns:
- The name you configured for your gateway.
-
withGatewayName
public DescribeGatewayInformationResult withGatewayName(String gatewayName)
The name you configured for your gateway.
- Parameters:
gatewayName
- The name you configured for your gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGatewayTimezone
public void setGatewayTimezone(String gatewayTimezone)
A value that indicates the time zone configured for the gateway.
- Parameters:
gatewayTimezone
- A value that indicates the time zone configured for the gateway.
-
getGatewayTimezone
public String getGatewayTimezone()
A value that indicates the time zone configured for the gateway.
- Returns:
- A value that indicates the time zone configured for the gateway.
-
withGatewayTimezone
public DescribeGatewayInformationResult withGatewayTimezone(String gatewayTimezone)
A value that indicates the time zone configured for the gateway.
- Parameters:
gatewayTimezone
- A value that indicates the time zone configured for the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGatewayState
public void setGatewayState(String gatewayState)
A value that indicates the operating state of the gateway.
- Parameters:
gatewayState
- A value that indicates the operating state of the gateway.
-
getGatewayState
public String getGatewayState()
A value that indicates the operating state of the gateway.
- Returns:
- A value that indicates the operating state of the gateway.
-
withGatewayState
public DescribeGatewayInformationResult withGatewayState(String gatewayState)
A value that indicates the operating state of the gateway.
- Parameters:
gatewayState
- A value that indicates the operating state of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getGatewayNetworkInterfaces
public List<NetworkInterface> getGatewayNetworkInterfaces()
A NetworkInterface array that contains descriptions of the gateway network interfaces.
- Returns:
- A NetworkInterface array that contains descriptions of the gateway network interfaces.
-
setGatewayNetworkInterfaces
public void setGatewayNetworkInterfaces(Collection<NetworkInterface> gatewayNetworkInterfaces)
A NetworkInterface array that contains descriptions of the gateway network interfaces.
- Parameters:
gatewayNetworkInterfaces
- A NetworkInterface array that contains descriptions of the gateway network interfaces.
-
withGatewayNetworkInterfaces
public DescribeGatewayInformationResult withGatewayNetworkInterfaces(NetworkInterface... gatewayNetworkInterfaces)
A NetworkInterface array that contains descriptions of the gateway network interfaces.
NOTE: This method appends the values to the existing list (if any). Use
setGatewayNetworkInterfaces(java.util.Collection)
orwithGatewayNetworkInterfaces(java.util.Collection)
if you want to override the existing values.- Parameters:
gatewayNetworkInterfaces
- A NetworkInterface array that contains descriptions of the gateway network interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withGatewayNetworkInterfaces
public DescribeGatewayInformationResult withGatewayNetworkInterfaces(Collection<NetworkInterface> gatewayNetworkInterfaces)
A NetworkInterface array that contains descriptions of the gateway network interfaces.
- Parameters:
gatewayNetworkInterfaces
- A NetworkInterface array that contains descriptions of the gateway network interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGatewayType
public void setGatewayType(String gatewayType)
The type of the gateway.
- Parameters:
gatewayType
- The type of the gateway.
-
getGatewayType
public String getGatewayType()
The type of the gateway.
- Returns:
- The type of the gateway.
-
withGatewayType
public DescribeGatewayInformationResult withGatewayType(String gatewayType)
The type of the gateway.
- Parameters:
gatewayType
- The type of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextUpdateAvailabilityDate
public void setNextUpdateAvailabilityDate(String nextUpdateAvailabilityDate)
The date on which an update to the gateway is available. This date is in the time zone of the gateway. If the gateway is not available for an update this field is not returned in the response.
- Parameters:
nextUpdateAvailabilityDate
- The date on which an update to the gateway is available. This date is in the time zone of the gateway. If the gateway is not available for an update this field is not returned in the response.
-
getNextUpdateAvailabilityDate
public String getNextUpdateAvailabilityDate()
The date on which an update to the gateway is available. This date is in the time zone of the gateway. If the gateway is not available for an update this field is not returned in the response.
- Returns:
- The date on which an update to the gateway is available. This date is in the time zone of the gateway. If the gateway is not available for an update this field is not returned in the response.
-
withNextUpdateAvailabilityDate
public DescribeGatewayInformationResult withNextUpdateAvailabilityDate(String nextUpdateAvailabilityDate)
The date on which an update to the gateway is available. This date is in the time zone of the gateway. If the gateway is not available for an update this field is not returned in the response.
- Parameters:
nextUpdateAvailabilityDate
- The date on which an update to the gateway is available. This date is in the time zone of the gateway. If the gateway is not available for an update this field is not returned in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastSoftwareUpdate
public void setLastSoftwareUpdate(String lastSoftwareUpdate)
The date on which the last software update was applied to the gateway. If the gateway has never been updated, this field does not return a value in the response.
- Parameters:
lastSoftwareUpdate
- The date on which the last software update was applied to the gateway. If the gateway has never been updated, this field does not return a value in the response.
-
getLastSoftwareUpdate
public String getLastSoftwareUpdate()
The date on which the last software update was applied to the gateway. If the gateway has never been updated, this field does not return a value in the response.
- Returns:
- The date on which the last software update was applied to the gateway. If the gateway has never been updated, this field does not return a value in the response.
-
withLastSoftwareUpdate
public DescribeGatewayInformationResult withLastSoftwareUpdate(String lastSoftwareUpdate)
The date on which the last software update was applied to the gateway. If the gateway has never been updated, this field does not return a value in the response.
- Parameters:
lastSoftwareUpdate
- The date on which the last software update was applied to the gateway. If the gateway has never been updated, this field does not return a value in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeGatewayInformationResult clone()
-
-