public class ActivateGatewayResult
extends java.lang.Object
implements java.io.Serializable, java.lang.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.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
gatewayARN |
Constructor and Description |
---|
ActivateGatewayResult() |
Modifier and Type | Method and Description |
---|---|
ActivateGatewayResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGatewayARN() |
int |
hashCode() |
void |
setGatewayARN(java.lang.String gatewayARN) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActivateGatewayResult |
withGatewayARN(java.lang.String gatewayARN) |
public void setGatewayARN(java.lang.String gatewayARN)
gatewayARN
- public java.lang.String getGatewayARN()
public ActivateGatewayResult withGatewayARN(java.lang.String gatewayARN)
gatewayARN
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ActivateGatewayResult clone()
clone
in class java.lang.Object