@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DirectConnectGatewayAssociation extends Object implements Serializable, Cloneable, StructuredPojo
Information about an association between a Direct Connect gateway and a virtual private gateway.
| Constructor and Description |
|---|
DirectConnectGatewayAssociation() |
| Modifier and Type | Method and Description |
|---|---|
DirectConnectGatewayAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getAssociationState()
The state of the association.
|
String |
getDirectConnectGatewayId()
The ID of the Direct Connect gateway.
|
String |
getStateChangeError()
The error message if the state of an object failed to advance.
|
String |
getVirtualGatewayId()
The ID of the virtual private gateway.
|
String |
getVirtualGatewayOwnerAccount()
The ID of the AWS account that owns the virtual private gateway.
|
String |
getVirtualGatewayRegion()
The AWS Region where the virtual private gateway is located.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAssociationState(String associationState)
The state of the association.
|
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 |
setVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway.
|
void |
setVirtualGatewayOwnerAccount(String virtualGatewayOwnerAccount)
The ID of the AWS account that owns the virtual private gateway.
|
void |
setVirtualGatewayRegion(String virtualGatewayRegion)
The AWS Region where the virtual private gateway is located.
|
String |
toString()
Returns a string representation of this object.
|
DirectConnectGatewayAssociation |
withAssociationState(DirectConnectGatewayAssociationState associationState)
The state of the association.
|
DirectConnectGatewayAssociation |
withAssociationState(String associationState)
The state of the association.
|
DirectConnectGatewayAssociation |
withDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
|
DirectConnectGatewayAssociation |
withStateChangeError(String stateChangeError)
The error message if the state of an object failed to advance.
|
DirectConnectGatewayAssociation |
withVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway.
|
DirectConnectGatewayAssociation |
withVirtualGatewayOwnerAccount(String virtualGatewayOwnerAccount)
The ID of the AWS account that owns the virtual private gateway.
|
DirectConnectGatewayAssociation |
withVirtualGatewayRegion(String virtualGatewayRegion)
The AWS Region where the virtual private gateway 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 DirectConnectGatewayAssociation withDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
directConnectGatewayId - The ID of the Direct Connect gateway.public void setVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway. Applies only to private virtual interfaces.
virtualGatewayId - The ID of the virtual private gateway. Applies only to private virtual interfaces.public String getVirtualGatewayId()
The ID of the virtual private gateway. Applies only to private virtual interfaces.
public DirectConnectGatewayAssociation withVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway. Applies only to private virtual interfaces.
virtualGatewayId - The ID of the virtual private gateway. Applies only to private virtual interfaces.public void setVirtualGatewayRegion(String virtualGatewayRegion)
The AWS Region where the virtual private gateway is located.
virtualGatewayRegion - The AWS Region where the virtual private gateway is located.public String getVirtualGatewayRegion()
The AWS Region where the virtual private gateway is located.
public DirectConnectGatewayAssociation withVirtualGatewayRegion(String virtualGatewayRegion)
The AWS Region where the virtual private gateway is located.
virtualGatewayRegion - The AWS Region where the virtual private gateway is located.public void setVirtualGatewayOwnerAccount(String virtualGatewayOwnerAccount)
The ID of the AWS account that owns the virtual private gateway.
virtualGatewayOwnerAccount - The ID of the AWS account that owns the virtual private gateway.public String getVirtualGatewayOwnerAccount()
The ID of the AWS account that owns the virtual private gateway.
public DirectConnectGatewayAssociation withVirtualGatewayOwnerAccount(String virtualGatewayOwnerAccount)
The ID of the AWS account that owns the virtual private gateway.
virtualGatewayOwnerAccount - The ID of the AWS account that owns the virtual private gateway.public void setAssociationState(String associationState)
The state of the association. The following are the possible values:
associating: The initial state after calling CreateDirectConnectGatewayAssociation.
associated: The Direct Connect gateway and virtual private gateway are successfully associated and
ready to pass traffic.
disassociating: The initial state after calling DeleteDirectConnectGatewayAssociation.
disassociated: The virtual private gateway is disassociated from the Direct Connect gateway. Traffic
flow between the Direct Connect gateway and virtual private gateway is stopped.
associationState - The state of the association. The following are the possible values:
associating: The initial state after calling CreateDirectConnectGatewayAssociation.
associated: The Direct Connect gateway and virtual private gateway are successfully
associated and ready to pass traffic.
disassociating: The initial state after calling DeleteDirectConnectGatewayAssociation.
disassociated: The virtual private gateway is disassociated from the Direct Connect gateway.
Traffic flow between the Direct Connect gateway and virtual private gateway is stopped.
DirectConnectGatewayAssociationStatepublic String getAssociationState()
The state of the association. The following are the possible values:
associating: The initial state after calling CreateDirectConnectGatewayAssociation.
associated: The Direct Connect gateway and virtual private gateway are successfully associated and
ready to pass traffic.
disassociating: The initial state after calling DeleteDirectConnectGatewayAssociation.
disassociated: The virtual private gateway is disassociated from the Direct Connect gateway. Traffic
flow between the Direct Connect gateway and virtual private gateway is stopped.
associating: The initial state after calling CreateDirectConnectGatewayAssociation.
associated: The Direct Connect gateway and virtual private gateway are successfully
associated and ready to pass traffic.
disassociating: The initial state after calling
DeleteDirectConnectGatewayAssociation.
disassociated: The virtual private gateway is disassociated from the Direct Connect gateway.
Traffic flow between the Direct Connect gateway and virtual private gateway is stopped.
DirectConnectGatewayAssociationStatepublic DirectConnectGatewayAssociation withAssociationState(String associationState)
The state of the association. The following are the possible values:
associating: The initial state after calling CreateDirectConnectGatewayAssociation.
associated: The Direct Connect gateway and virtual private gateway are successfully associated and
ready to pass traffic.
disassociating: The initial state after calling DeleteDirectConnectGatewayAssociation.
disassociated: The virtual private gateway is disassociated from the Direct Connect gateway. Traffic
flow between the Direct Connect gateway and virtual private gateway is stopped.
associationState - The state of the association. The following are the possible values:
associating: The initial state after calling CreateDirectConnectGatewayAssociation.
associated: The Direct Connect gateway and virtual private gateway are successfully
associated and ready to pass traffic.
disassociating: The initial state after calling DeleteDirectConnectGatewayAssociation.
disassociated: The virtual private gateway is disassociated from the Direct Connect gateway.
Traffic flow between the Direct Connect gateway and virtual private gateway is stopped.
DirectConnectGatewayAssociationStatepublic DirectConnectGatewayAssociation withAssociationState(DirectConnectGatewayAssociationState associationState)
The state of the association. The following are the possible values:
associating: The initial state after calling CreateDirectConnectGatewayAssociation.
associated: The Direct Connect gateway and virtual private gateway are successfully associated and
ready to pass traffic.
disassociating: The initial state after calling DeleteDirectConnectGatewayAssociation.
disassociated: The virtual private gateway is disassociated from the Direct Connect gateway. Traffic
flow between the Direct Connect gateway and virtual private gateway is stopped.
associationState - The state of the association. The following are the possible values:
associating: The initial state after calling CreateDirectConnectGatewayAssociation.
associated: The Direct Connect gateway and virtual private gateway are successfully
associated and ready to pass traffic.
disassociating: The initial state after calling DeleteDirectConnectGatewayAssociation.
disassociated: The virtual private gateway is disassociated from the Direct Connect gateway.
Traffic flow between the Direct Connect gateway and virtual private gateway is stopped.
DirectConnectGatewayAssociationStatepublic 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 DirectConnectGatewayAssociation 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 ObjectObject.toString()public DirectConnectGatewayAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.