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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GatewayInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GatewayInfo
clone()
boolean
equals(Object obj)
String
getGatewayARN()
The Amazon Resource Name (ARN) of the gateway.String
getGatewayId()
The unique identifier assigned to your gateway during activation.String
getGatewayName()
The name of the gateway.String
getGatewayOperationalState()
The state of the gateway.String
getGatewayType()
The type of the gateway.int
hashCode()
void
setGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.void
setGatewayId(String gatewayId)
The unique identifier assigned to your gateway during activation.void
setGatewayName(String gatewayName)
The name of the gateway.void
setGatewayOperationalState(String gatewayOperationalState)
The state of the gateway.void
setGatewayType(String gatewayType)
The type of the gateway.String
toString()
Returns a string representation of this object; useful for testing and debugging.GatewayInfo
withGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.GatewayInfo
withGatewayId(String gatewayId)
The unique identifier assigned to your gateway during activation.GatewayInfo
withGatewayName(String gatewayName)
The name of the gateway.GatewayInfo
withGatewayOperationalState(String gatewayOperationalState)
The state of the gateway.GatewayInfo
withGatewayType(String gatewayType)
The type of the gateway.
-
-
-
Method Detail
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GatewayInfo clone()
-
-