@Generated(value="software.amazon.awssdk:codegen") public class DescribeGatewayInformationResponse extends StorageGatewayResponse implements ToCopyableBuilder<DescribeGatewayInformationResponse.Builder,DescribeGatewayInformationResponse>
A JSON object containing the following fields:
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeGatewayInformationResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeGatewayInformationResponse.Builder |
builder() |
boolean |
equals(Object obj) |
String |
gatewayARN()
Returns the value of the GatewayARN property for this object.
|
String |
gatewayId()
The unique identifier assigned to your gateway during activation.
|
String |
gatewayName()
The name you configured for your gateway.
|
List<NetworkInterface> |
gatewayNetworkInterfaces()
A NetworkInterface array that contains descriptions of the gateway network interfaces.
|
String |
gatewayState()
A value that indicates the operating state of the gateway.
|
String |
gatewayTimezone()
A value that indicates the time zone configured for the gateway.
|
String |
gatewayType()
The type of the gateway.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
String |
lastSoftwareUpdate()
The date on which the last software update was applied to the gateway.
|
String |
nextUpdateAvailabilityDate()
The date on which an update to the gateway is available.
|
static Class<? extends DescribeGatewayInformationResponse.Builder> |
serializableBuilderClass() |
DescribeGatewayInformationResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String gatewayARN()
public 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.
public String gatewayName()
The name you configured for your gateway.
public String gatewayTimezone()
A value that indicates the time zone configured for the gateway.
public String gatewayState()
A value that indicates the operating state of the gateway.
public List<NetworkInterface> gatewayNetworkInterfaces()
A NetworkInterface array that contains descriptions of the gateway network interfaces.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String gatewayType()
The type of the gateway.
public 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.
public 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.
public DescribeGatewayInformationResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeGatewayInformationResponse.Builder,DescribeGatewayInformationResponse>
toBuilder
in class AwsResponse
public static DescribeGatewayInformationResponse.Builder builder()
public static Class<? extends DescribeGatewayInformationResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.