@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DirectConnectGateway extends Object implements Serializable, Cloneable, StructuredPojo
Information about a Direct Connect gateway, which enables you to connect virtual interfaces and virtual private gateway or transit gateways.
Constructor and Description |
---|
DirectConnectGateway() |
Modifier and Type | Method and Description |
---|---|
DirectConnectGateway |
clone() |
boolean |
equals(Object obj) |
Long |
getAmazonSideAsn()
The autonomous system number (ASN) for the Amazon side of the connection.
|
String |
getDirectConnectGatewayId()
The ID of the Direct Connect gateway.
|
String |
getDirectConnectGatewayName()
The name of the Direct Connect gateway.
|
String |
getDirectConnectGatewayState()
The state of the Direct Connect gateway.
|
String |
getOwnerAccount()
The ID of the AWS account that owns the Direct Connect gateway.
|
String |
getStateChangeError()
The error message if the state of an object failed to advance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for the Amazon side of the connection.
|
void |
setDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
|
void |
setDirectConnectGatewayName(String directConnectGatewayName)
The name of the Direct Connect gateway.
|
void |
setDirectConnectGatewayState(String directConnectGatewayState)
The state of the Direct Connect gateway.
|
void |
setOwnerAccount(String ownerAccount)
The ID of the AWS account that owns the Direct Connect gateway.
|
void |
setStateChangeError(String stateChangeError)
The error message if the state of an object failed to advance.
|
String |
toString()
Returns a string representation of this object.
|
DirectConnectGateway |
withAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for the Amazon side of the connection.
|
DirectConnectGateway |
withDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
|
DirectConnectGateway |
withDirectConnectGatewayName(String directConnectGatewayName)
The name of the Direct Connect gateway.
|
DirectConnectGateway |
withDirectConnectGatewayState(DirectConnectGatewayState directConnectGatewayState)
The state of the Direct Connect gateway.
|
DirectConnectGateway |
withDirectConnectGatewayState(String directConnectGatewayState)
The state of the Direct Connect gateway.
|
DirectConnectGateway |
withOwnerAccount(String ownerAccount)
The ID of the AWS account that owns the Direct Connect gateway.
|
DirectConnectGateway |
withStateChangeError(String stateChangeError)
The error message if the state of an object failed to advance.
|
public void setDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
directConnectGatewayId
- The ID of the Direct Connect gateway.public String getDirectConnectGatewayId()
The ID of the Direct Connect gateway.
public DirectConnectGateway withDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
directConnectGatewayId
- The ID of the Direct Connect gateway.public void setDirectConnectGatewayName(String directConnectGatewayName)
The name of the Direct Connect gateway.
directConnectGatewayName
- The name of the Direct Connect gateway.public String getDirectConnectGatewayName()
The name of the Direct Connect gateway.
public DirectConnectGateway withDirectConnectGatewayName(String directConnectGatewayName)
The name of the Direct Connect gateway.
directConnectGatewayName
- The name of the Direct Connect gateway.public void setAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for the Amazon side of the connection.
amazonSideAsn
- The autonomous system number (ASN) for the Amazon side of the connection.public Long getAmazonSideAsn()
The autonomous system number (ASN) for the Amazon side of the connection.
public DirectConnectGateway withAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for the Amazon side of the connection.
amazonSideAsn
- The autonomous system number (ASN) for the Amazon side of the connection.public void setOwnerAccount(String ownerAccount)
The ID of the AWS account that owns the Direct Connect gateway.
ownerAccount
- The ID of the AWS account that owns the Direct Connect gateway.public String getOwnerAccount()
The ID of the AWS account that owns the Direct Connect gateway.
public DirectConnectGateway withOwnerAccount(String ownerAccount)
The ID of the AWS account that owns the Direct Connect gateway.
ownerAccount
- The ID of the AWS account that owns the Direct Connect gateway.public void setDirectConnectGatewayState(String directConnectGatewayState)
The state of the Direct Connect gateway. The following are the possible values:
pending
: The initial state after calling CreateDirectConnectGateway.
available
: The Direct Connect gateway is ready for use.
deleting
: The initial state after calling DeleteDirectConnectGateway.
deleted
: The Direct Connect gateway is deleted and cannot pass traffic.
directConnectGatewayState
- The state of the Direct Connect gateway. The following are the possible values:
pending
: The initial state after calling CreateDirectConnectGateway.
available
: The Direct Connect gateway is ready for use.
deleting
: The initial state after calling DeleteDirectConnectGateway.
deleted
: The Direct Connect gateway is deleted and cannot pass traffic.
DirectConnectGatewayState
public String getDirectConnectGatewayState()
The state of the Direct Connect gateway. The following are the possible values:
pending
: The initial state after calling CreateDirectConnectGateway.
available
: The Direct Connect gateway is ready for use.
deleting
: The initial state after calling DeleteDirectConnectGateway.
deleted
: The Direct Connect gateway is deleted and cannot pass traffic.
pending
: The initial state after calling CreateDirectConnectGateway.
available
: The Direct Connect gateway is ready for use.
deleting
: The initial state after calling DeleteDirectConnectGateway.
deleted
: The Direct Connect gateway is deleted and cannot pass traffic.
DirectConnectGatewayState
public DirectConnectGateway withDirectConnectGatewayState(String directConnectGatewayState)
The state of the Direct Connect gateway. The following are the possible values:
pending
: The initial state after calling CreateDirectConnectGateway.
available
: The Direct Connect gateway is ready for use.
deleting
: The initial state after calling DeleteDirectConnectGateway.
deleted
: The Direct Connect gateway is deleted and cannot pass traffic.
directConnectGatewayState
- The state of the Direct Connect gateway. The following are the possible values:
pending
: The initial state after calling CreateDirectConnectGateway.
available
: The Direct Connect gateway is ready for use.
deleting
: The initial state after calling DeleteDirectConnectGateway.
deleted
: The Direct Connect gateway is deleted and cannot pass traffic.
DirectConnectGatewayState
public DirectConnectGateway withDirectConnectGatewayState(DirectConnectGatewayState directConnectGatewayState)
The state of the Direct Connect gateway. The following are the possible values:
pending
: The initial state after calling CreateDirectConnectGateway.
available
: The Direct Connect gateway is ready for use.
deleting
: The initial state after calling DeleteDirectConnectGateway.
deleted
: The Direct Connect gateway is deleted and cannot pass traffic.
directConnectGatewayState
- The state of the Direct Connect gateway. The following are the possible values:
pending
: The initial state after calling CreateDirectConnectGateway.
available
: The Direct Connect gateway is ready for use.
deleting
: The initial state after calling DeleteDirectConnectGateway.
deleted
: The Direct Connect gateway is deleted and cannot pass traffic.
DirectConnectGatewayState
public void setStateChangeError(String stateChangeError)
The error message if the state of an object failed to advance.
stateChangeError
- The error message if the state of an object failed to advance.public String getStateChangeError()
The error message if the state of an object failed to advance.
public DirectConnectGateway withStateChangeError(String stateChangeError)
The error message if the state of an object failed to advance.
stateChangeError
- The error message if the state of an object failed to advance.public String toString()
toString
in class Object
Object.toString()
public DirectConnectGateway clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.