@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DirectConnectGatewayAttachment extends Object implements Serializable, Cloneable, StructuredPojo
Information about an attachment between a Direct Connect gateway and a virtual interface.
Constructor and Description |
---|
DirectConnectGatewayAttachment() |
Modifier and Type | Method and Description |
---|---|
DirectConnectGatewayAttachment |
clone() |
boolean |
equals(Object obj) |
String |
getAttachmentState()
The state of the attachment.
|
String |
getAttachmentType()
The type of attachment.
|
String |
getDirectConnectGatewayId()
The ID of the Direct Connect gateway.
|
String |
getStateChangeError()
The error message if the state of an object failed to advance.
|
String |
getVirtualInterfaceId()
The ID of the virtual interface.
|
String |
getVirtualInterfaceOwnerAccount()
The ID of the Amazon Web Services account that owns the virtual interface.
|
String |
getVirtualInterfaceRegion()
The Amazon Web Services Region where the virtual interface is located.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttachmentState(String attachmentState)
The state of the attachment.
|
void |
setAttachmentType(String attachmentType)
The type of attachment.
|
void |
setDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
|
void |
setStateChangeError(String stateChangeError)
The error message if the state of an object failed to advance.
|
void |
setVirtualInterfaceId(String virtualInterfaceId)
The ID of the virtual interface.
|
void |
setVirtualInterfaceOwnerAccount(String virtualInterfaceOwnerAccount)
The ID of the Amazon Web Services account that owns the virtual interface.
|
void |
setVirtualInterfaceRegion(String virtualInterfaceRegion)
The Amazon Web Services Region where the virtual interface is located.
|
String |
toString()
Returns a string representation of this object.
|
DirectConnectGatewayAttachment |
withAttachmentState(DirectConnectGatewayAttachmentState attachmentState)
The state of the attachment.
|
DirectConnectGatewayAttachment |
withAttachmentState(String attachmentState)
The state of the attachment.
|
DirectConnectGatewayAttachment |
withAttachmentType(DirectConnectGatewayAttachmentType attachmentType)
The type of attachment.
|
DirectConnectGatewayAttachment |
withAttachmentType(String attachmentType)
The type of attachment.
|
DirectConnectGatewayAttachment |
withDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
|
DirectConnectGatewayAttachment |
withStateChangeError(String stateChangeError)
The error message if the state of an object failed to advance.
|
DirectConnectGatewayAttachment |
withVirtualInterfaceId(String virtualInterfaceId)
The ID of the virtual interface.
|
DirectConnectGatewayAttachment |
withVirtualInterfaceOwnerAccount(String virtualInterfaceOwnerAccount)
The ID of the Amazon Web Services account that owns the virtual interface.
|
DirectConnectGatewayAttachment |
withVirtualInterfaceRegion(String virtualInterfaceRegion)
The Amazon Web Services Region where the virtual interface is located.
|
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 DirectConnectGatewayAttachment withDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
directConnectGatewayId
- The ID of the Direct Connect gateway.public void setVirtualInterfaceId(String virtualInterfaceId)
The ID of the virtual interface.
virtualInterfaceId
- The ID of the virtual interface.public String getVirtualInterfaceId()
The ID of the virtual interface.
public DirectConnectGatewayAttachment withVirtualInterfaceId(String virtualInterfaceId)
The ID of the virtual interface.
virtualInterfaceId
- The ID of the virtual interface.public void setVirtualInterfaceRegion(String virtualInterfaceRegion)
The Amazon Web Services Region where the virtual interface is located.
virtualInterfaceRegion
- The Amazon Web Services Region where the virtual interface is located.public String getVirtualInterfaceRegion()
The Amazon Web Services Region where the virtual interface is located.
public DirectConnectGatewayAttachment withVirtualInterfaceRegion(String virtualInterfaceRegion)
The Amazon Web Services Region where the virtual interface is located.
virtualInterfaceRegion
- The Amazon Web Services Region where the virtual interface is located.public void setVirtualInterfaceOwnerAccount(String virtualInterfaceOwnerAccount)
The ID of the Amazon Web Services account that owns the virtual interface.
virtualInterfaceOwnerAccount
- The ID of the Amazon Web Services account that owns the virtual interface.public String getVirtualInterfaceOwnerAccount()
The ID of the Amazon Web Services account that owns the virtual interface.
public DirectConnectGatewayAttachment withVirtualInterfaceOwnerAccount(String virtualInterfaceOwnerAccount)
The ID of the Amazon Web Services account that owns the virtual interface.
virtualInterfaceOwnerAccount
- The ID of the Amazon Web Services account that owns the virtual interface.public void setAttachmentState(String attachmentState)
The state of the attachment. The following are the possible values:
attaching
: The initial state after a virtual interface is created using the Direct Connect gateway.
attached
: The Direct Connect gateway and virtual interface are attached and ready to pass traffic.
detaching
: The initial state after calling DeleteVirtualInterface.
detached
: The virtual interface is detached from the Direct Connect gateway. Traffic flow between
the Direct Connect gateway and virtual interface is stopped.
attachmentState
- The state of the attachment. The following are the possible values:
attaching
: The initial state after a virtual interface is created using the Direct Connect
gateway.
attached
: The Direct Connect gateway and virtual interface are attached and ready to pass
traffic.
detaching
: The initial state after calling DeleteVirtualInterface.
detached
: The virtual interface is detached from the Direct Connect gateway. Traffic flow
between the Direct Connect gateway and virtual interface is stopped.
DirectConnectGatewayAttachmentState
public String getAttachmentState()
The state of the attachment. The following are the possible values:
attaching
: The initial state after a virtual interface is created using the Direct Connect gateway.
attached
: The Direct Connect gateway and virtual interface are attached and ready to pass traffic.
detaching
: The initial state after calling DeleteVirtualInterface.
detached
: The virtual interface is detached from the Direct Connect gateway. Traffic flow between
the Direct Connect gateway and virtual interface is stopped.
attaching
: The initial state after a virtual interface is created using the Direct Connect
gateway.
attached
: The Direct Connect gateway and virtual interface are attached and ready to pass
traffic.
detaching
: The initial state after calling DeleteVirtualInterface.
detached
: The virtual interface is detached from the Direct Connect gateway. Traffic flow
between the Direct Connect gateway and virtual interface is stopped.
DirectConnectGatewayAttachmentState
public DirectConnectGatewayAttachment withAttachmentState(String attachmentState)
The state of the attachment. The following are the possible values:
attaching
: The initial state after a virtual interface is created using the Direct Connect gateway.
attached
: The Direct Connect gateway and virtual interface are attached and ready to pass traffic.
detaching
: The initial state after calling DeleteVirtualInterface.
detached
: The virtual interface is detached from the Direct Connect gateway. Traffic flow between
the Direct Connect gateway and virtual interface is stopped.
attachmentState
- The state of the attachment. The following are the possible values:
attaching
: The initial state after a virtual interface is created using the Direct Connect
gateway.
attached
: The Direct Connect gateway and virtual interface are attached and ready to pass
traffic.
detaching
: The initial state after calling DeleteVirtualInterface.
detached
: The virtual interface is detached from the Direct Connect gateway. Traffic flow
between the Direct Connect gateway and virtual interface is stopped.
DirectConnectGatewayAttachmentState
public DirectConnectGatewayAttachment withAttachmentState(DirectConnectGatewayAttachmentState attachmentState)
The state of the attachment. The following are the possible values:
attaching
: The initial state after a virtual interface is created using the Direct Connect gateway.
attached
: The Direct Connect gateway and virtual interface are attached and ready to pass traffic.
detaching
: The initial state after calling DeleteVirtualInterface.
detached
: The virtual interface is detached from the Direct Connect gateway. Traffic flow between
the Direct Connect gateway and virtual interface is stopped.
attachmentState
- The state of the attachment. The following are the possible values:
attaching
: The initial state after a virtual interface is created using the Direct Connect
gateway.
attached
: The Direct Connect gateway and virtual interface are attached and ready to pass
traffic.
detaching
: The initial state after calling DeleteVirtualInterface.
detached
: The virtual interface is detached from the Direct Connect gateway. Traffic flow
between the Direct Connect gateway and virtual interface is stopped.
DirectConnectGatewayAttachmentState
public void setAttachmentType(String attachmentType)
The type of attachment.
attachmentType
- The type of attachment.DirectConnectGatewayAttachmentType
public String getAttachmentType()
The type of attachment.
DirectConnectGatewayAttachmentType
public DirectConnectGatewayAttachment withAttachmentType(String attachmentType)
The type of attachment.
attachmentType
- The type of attachment.DirectConnectGatewayAttachmentType
public DirectConnectGatewayAttachment withAttachmentType(DirectConnectGatewayAttachmentType attachmentType)
The type of attachment.
attachmentType
- The type of attachment.DirectConnectGatewayAttachmentType
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 DirectConnectGatewayAttachment 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 DirectConnectGatewayAttachment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.