@Generated(value="software.amazon.awssdk:codegen") public final class ActivateGatewayResponse extends StorageGatewayResponse implements ToCopyableBuilder<ActivateGatewayResponse.Builder,ActivateGatewayResponse>
AWS Storage Gateway returns the Amazon Resource Name (ARN) of the activated gateway. It is a string made of information such as your account, gateway name, and region. This ARN is used to reference the gateway in other API operations as well as resource-based authorization.
For gateways activated prior to September 02, 2015 the gateway ARN contains the gateway name rather than the gateway id. Changing the name of the gateway has no effect on the gateway ARN.
Modifier and Type | Class and Description |
---|---|
static interface |
ActivateGatewayResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static ActivateGatewayResponse.Builder |
builder() |
boolean |
equals(Object obj) |
String |
gatewayARN()
Returns the value of the GatewayARN property for this object.
|
<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() |
static Class<? extends ActivateGatewayResponse.Builder> |
serializableBuilderClass() |
ActivateGatewayResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
sdkHttpResponse
copy
public String gatewayARN()
public ActivateGatewayResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ActivateGatewayResponse.Builder,ActivateGatewayResponse>
toBuilder
in class AwsResponse
public static ActivateGatewayResponse.Builder builder()
public static Class<? extends ActivateGatewayResponse.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.