@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VirtualGateway extends Object implements Serializable, Cloneable, StructuredPojo
Information about a virtual private gateway for a private virtual interface.
Constructor and Description |
---|
VirtualGateway() |
Modifier and Type | Method and Description |
---|---|
VirtualGateway |
clone() |
boolean |
equals(Object obj) |
String |
getVirtualGatewayId()
The ID of the virtual private gateway.
|
String |
getVirtualGatewayState()
The state of the virtual private gateway.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway.
|
void |
setVirtualGatewayState(String virtualGatewayState)
The state of the virtual private gateway.
|
String |
toString()
Returns a string representation of this object.
|
VirtualGateway |
withVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway.
|
VirtualGateway |
withVirtualGatewayState(String virtualGatewayState)
The state of the virtual private gateway.
|
public void setVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway.
virtualGatewayId
- The ID of the virtual private gateway.public String getVirtualGatewayId()
The ID of the virtual private gateway.
public VirtualGateway withVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway.
virtualGatewayId
- The ID of the virtual private gateway.public void setVirtualGatewayState(String virtualGatewayState)
The state of the virtual private gateway. The following are the possible values:
pending
: Initial state after creating the virtual private gateway.
available
: Ready for use by a private virtual interface.
deleting
: Initial state after deleting the virtual private gateway.
deleted
: The virtual private gateway is deleted. The private virtual interface is unable to send
traffic over this gateway.
virtualGatewayState
- The state of the virtual private gateway. The following are the possible values:
pending
: Initial state after creating the virtual private gateway.
available
: Ready for use by a private virtual interface.
deleting
: Initial state after deleting the virtual private gateway.
deleted
: The virtual private gateway is deleted. The private virtual interface is unable to
send traffic over this gateway.
public String getVirtualGatewayState()
The state of the virtual private gateway. The following are the possible values:
pending
: Initial state after creating the virtual private gateway.
available
: Ready for use by a private virtual interface.
deleting
: Initial state after deleting the virtual private gateway.
deleted
: The virtual private gateway is deleted. The private virtual interface is unable to send
traffic over this gateway.
pending
: Initial state after creating the virtual private gateway.
available
: Ready for use by a private virtual interface.
deleting
: Initial state after deleting the virtual private gateway.
deleted
: The virtual private gateway is deleted. The private virtual interface is unable to
send traffic over this gateway.
public VirtualGateway withVirtualGatewayState(String virtualGatewayState)
The state of the virtual private gateway. The following are the possible values:
pending
: Initial state after creating the virtual private gateway.
available
: Ready for use by a private virtual interface.
deleting
: Initial state after deleting the virtual private gateway.
deleted
: The virtual private gateway is deleted. The private virtual interface is unable to send
traffic over this gateway.
virtualGatewayState
- The state of the virtual private gateway. The following are the possible values:
pending
: Initial state after creating the virtual private gateway.
available
: Ready for use by a private virtual interface.
deleting
: Initial state after deleting the virtual private gateway.
deleted
: The virtual private gateway is deleted. The private virtual interface is unable to
send traffic over this gateway.
public String toString()
toString
in class Object
Object.toString()
public VirtualGateway clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.