@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GatewayInfo extends Object implements Serializable, Cloneable, StructuredPojo
Describes a gateway object.
Constructor and Description |
---|
GatewayInfo() |
Modifier and Type | Method and Description |
---|---|
GatewayInfo |
clone() |
boolean |
equals(Object obj) |
String |
getEc2InstanceId()
The ID of the Amazon EC2 instance that was used to launch the gateway.
|
String |
getEc2InstanceRegion()
The AWS Region where the Amazon EC2 instance is located.
|
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEc2InstanceId(String ec2InstanceId)
The ID of the Amazon EC2 instance that was used to launch the gateway.
|
void |
setEc2InstanceRegion(String ec2InstanceRegion)
The AWS Region where the Amazon EC2 instance is located.
|
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.
|
GatewayInfo |
withEc2InstanceId(String ec2InstanceId)
The ID of the Amazon EC2 instance that was used to launch the gateway.
|
GatewayInfo |
withEc2InstanceRegion(String ec2InstanceRegion)
The AWS Region where the Amazon EC2 instance is located.
|
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.
|
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.
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.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.
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.
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.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 AWS Region.
gatewayARN
- The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of
gateways for your account and AWS Region.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 AWS Region.
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 AWS Region.
gatewayARN
- The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of
gateways for your account and AWS Region.public void setGatewayType(String gatewayType)
The type of the gateway.
gatewayType
- The type of the gateway.public String getGatewayType()
The type of the gateway.
public GatewayInfo withGatewayType(String gatewayType)
The type of the gateway.
gatewayType
- The type of the gateway.public void setGatewayOperationalState(String gatewayOperationalState)
The state of the gateway.
Valid Values: DISABLED
| ACTIVE
gatewayOperationalState
- The state of the gateway.
Valid Values: DISABLED
| ACTIVE
public String getGatewayOperationalState()
The state of the gateway.
Valid Values: DISABLED
| ACTIVE
Valid Values: DISABLED
| ACTIVE
public GatewayInfo withGatewayOperationalState(String gatewayOperationalState)
The state of the gateway.
Valid Values: DISABLED
| ACTIVE
gatewayOperationalState
- The state of the gateway.
Valid Values: DISABLED
| ACTIVE
public void setGatewayName(String gatewayName)
The name of the gateway.
gatewayName
- The name of the gateway.public String getGatewayName()
The name of the gateway.
public GatewayInfo withGatewayName(String gatewayName)
The name of the gateway.
gatewayName
- The name of the gateway.public void setEc2InstanceId(String ec2InstanceId)
The ID of the Amazon EC2 instance that was used to launch the gateway.
ec2InstanceId
- The ID of the Amazon EC2 instance that was used to launch the gateway.public String getEc2InstanceId()
The ID of the Amazon EC2 instance that was used to launch the gateway.
public GatewayInfo withEc2InstanceId(String ec2InstanceId)
The ID of the Amazon EC2 instance that was used to launch the gateway.
ec2InstanceId
- The ID of the Amazon EC2 instance that was used to launch the gateway.public void setEc2InstanceRegion(String ec2InstanceRegion)
The AWS Region where the Amazon EC2 instance is located.
ec2InstanceRegion
- The AWS Region where the Amazon EC2 instance is located.public String getEc2InstanceRegion()
The AWS Region where the Amazon EC2 instance is located.
public GatewayInfo withEc2InstanceRegion(String ec2InstanceRegion)
The AWS Region where the Amazon EC2 instance is located.
ec2InstanceRegion
- The AWS Region where the Amazon EC2 instance is located.public String toString()
toString
in class Object
Object.toString()
public GatewayInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.