@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActivateGatewayResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
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.
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.
|
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()