Class 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 Detail

      • ActivateGatewayResult

        public ActivateGatewayResult()
    • 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 class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object