@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActivateGatewayResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
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.
Constructor and Description |
---|
ActivateGatewayResult() |
Modifier and Type | Method and Description |
---|---|
ActivateGatewayResult |
clone() |
boolean |
equals(Object obj) |
String |
getGatewayARN() |
int |
hashCode() |
void |
setGatewayARN(String gatewayARN) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ActivateGatewayResult |
withGatewayARN(String gatewayARN) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setGatewayARN(String gatewayARN)
gatewayARN
- public String getGatewayARN()
public ActivateGatewayResult withGatewayARN(String gatewayARN)
gatewayARN
- public String toString()
toString
in class Object
Object.toString()
public ActivateGatewayResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.