Class GatewayInfo

java.lang.Object
com.amazonaws.services.storagegateway.model.GatewayInfo
All Implemented Interfaces:
Serializable, Cloneable

public class GatewayInfo extends Object implements Serializable, Cloneable

Describes a gateway object.

See Also:
  • Constructor Details

    • GatewayInfo

      public GatewayInfo()
  • Method Details

    • setGatewayId

      public void setGatewayId(String gatewayId)

      The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.

      Parameters:
      gatewayId - The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
    • getGatewayId

      public String getGatewayId()

      The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.

      Returns:
      The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
    • withGatewayId

      public GatewayInfo withGatewayId(String gatewayId)

      The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.

      Parameters:
      gatewayId - The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setGatewayARN

      public void setGatewayARN(String gatewayARN)

      The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

      Parameters:
      gatewayARN - The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.
    • getGatewayARN

      public String getGatewayARN()

      The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

      Returns:
      The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.
    • withGatewayARN

      public GatewayInfo withGatewayARN(String gatewayARN)

      The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

      Parameters:
      gatewayARN - The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setGatewayType

      public void setGatewayType(String gatewayType)

      The type of the gateway.

      Parameters:
      gatewayType - The type of the gateway.
    • getGatewayType

      public String getGatewayType()

      The type of the gateway.

      Returns:
      The type of the gateway.
    • withGatewayType

      public GatewayInfo withGatewayType(String gatewayType)

      The type of the gateway.

      Parameters:
      gatewayType - The type of the gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setGatewayOperationalState

      public void setGatewayOperationalState(String gatewayOperationalState)

      The state of the gateway.

      Valid Values: DISABLED or ACTIVE

      Parameters:
      gatewayOperationalState - The state of the gateway.

      Valid Values: DISABLED or ACTIVE

    • getGatewayOperationalState

      public String getGatewayOperationalState()

      The state of the gateway.

      Valid Values: DISABLED or ACTIVE

      Returns:
      The state of the gateway.

      Valid Values: DISABLED or ACTIVE

    • withGatewayOperationalState

      public GatewayInfo withGatewayOperationalState(String gatewayOperationalState)

      The state of the gateway.

      Valid Values: DISABLED or ACTIVE

      Parameters:
      gatewayOperationalState - The state of the gateway.

      Valid Values: DISABLED or ACTIVE

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setGatewayName

      public void setGatewayName(String gatewayName)

      The name of the gateway.

      Parameters:
      gatewayName - The name of the gateway.
    • getGatewayName

      public String getGatewayName()

      The name of the gateway.

      Returns:
      The name of the gateway.
    • withGatewayName

      public GatewayInfo withGatewayName(String gatewayName)

      The name of the gateway.

      Parameters:
      gatewayName - The name of the gateway.
      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public GatewayInfo clone()
      Overrides:
      clone in class Object