@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 AWS 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) |
boolean |
equalsBySdkFields(Object obj) |
String |
gatewayARN()
Returns the value of the GatewayARN property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ActivateGatewayResponse.Builder> |
serializableBuilderClass() |
ActivateGatewayResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String gatewayARN()
public ActivateGatewayResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ActivateGatewayResponse.Builder,ActivateGatewayResponse>toBuilder in class AwsResponsepublic static ActivateGatewayResponse.Builder builder()
public static Class<? extends ActivateGatewayResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2019. All rights reserved.