Class ActivateGatewayResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.storagegateway.model.StorageGatewayResponse
-
- software.amazon.awssdk.services.storagegateway.model.ActivateGatewayResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ActivateGatewayResponse.Builder,ActivateGatewayResponse>
@Generated("software.amazon.awssdk:codegen") public final class ActivateGatewayResponse extends StorageGatewayResponse implements ToCopyableBuilder<ActivateGatewayResponse.Builder,ActivateGatewayResponse>
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 Amazon Web Services 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceActivateGatewayResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActivateGatewayResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringgatewayARN()Returns the value of the GatewayARN property for this object.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ActivateGatewayResponse.Builder>serializableBuilderClass()ActivateGatewayResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.storagegateway.model.StorageGatewayResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
gatewayARN
public final String gatewayARN()
Returns the value of the GatewayARN property for this object.- Returns:
- The value of the GatewayARN property for this object.
-
toBuilder
public ActivateGatewayResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ActivateGatewayResponse.Builder,ActivateGatewayResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static ActivateGatewayResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends ActivateGatewayResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-