Class ActivateGatewayResult
- java.lang.Object
-
- com.amazonaws.services.storagegateway.model.ActivateGatewayResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ActivateGatewayResult extends Object 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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActivateGatewayResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
setGatewayARN
public void setGatewayARN(String gatewayARN)
- Parameters:
gatewayARN
-
-
getGatewayARN
public String getGatewayARN()
- Returns:
-
withGatewayARN
public ActivateGatewayResult withGatewayARN(String gatewayARN)
- Parameters:
gatewayARN
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ActivateGatewayResult clone()
-
-