@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 or transit gateway.
Constructor and Description |
---|
DirectConnectGatewayAssociation() |
Modifier and Type | Method and Description |
---|---|
DirectConnectGatewayAssociation |
clone() |
boolean |
equals(Object obj) |
List<RouteFilterPrefix> |
getAllowedPrefixesToDirectConnectGateway()
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
|
AssociatedGateway |
getAssociatedGateway()
Information about the associated gateway.
|
String |
getAssociationId()
The ID of the Direct Connect gateway association.
|
String |
getAssociationState()
The state of the association.
|
String |
getDirectConnectGatewayId()
The ID of the Direct Connect gateway.
|
String |
getDirectConnectGatewayOwnerAccount()
The ID of the Amazon Web Services account that owns the associated 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 Amazon Web Services account that owns the virtual private gateway.
|
String |
getVirtualGatewayRegion()
The Amazon Web Services Region where the virtual private gateway is located.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> allowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
|
void |
setAssociatedGateway(AssociatedGateway associatedGateway)
Information about the associated gateway.
|
void |
setAssociationId(String associationId)
The ID of the Direct Connect gateway association.
|
void |
setAssociationState(String associationState)
The state of the association.
|
void |
setDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
|
void |
setDirectConnectGatewayOwnerAccount(String directConnectGatewayOwnerAccount)
The ID of the Amazon Web Services account that owns the associated 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 Amazon Web Services account that owns the virtual private gateway.
|
void |
setVirtualGatewayRegion(String virtualGatewayRegion)
The Amazon Web Services Region where the virtual private gateway is located.
|
String |
toString()
Returns a string representation of this object.
|
DirectConnectGatewayAssociation |
withAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> allowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
|
DirectConnectGatewayAssociation |
withAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix... allowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
|
DirectConnectGatewayAssociation |
withAssociatedGateway(AssociatedGateway associatedGateway)
Information about the associated gateway.
|
DirectConnectGatewayAssociation |
withAssociationId(String associationId)
The ID of the Direct Connect gateway association.
|
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 |
withDirectConnectGatewayOwnerAccount(String directConnectGatewayOwnerAccount)
The ID of the Amazon Web Services account that owns the associated 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 Amazon Web Services account that owns the virtual private gateway.
|
DirectConnectGatewayAssociation |
withVirtualGatewayRegion(String virtualGatewayRegion)
The Amazon Web Services 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 setDirectConnectGatewayOwnerAccount(String directConnectGatewayOwnerAccount)
The ID of the Amazon Web Services account that owns the associated gateway.
directConnectGatewayOwnerAccount
- The ID of the Amazon Web Services account that owns the associated gateway.public String getDirectConnectGatewayOwnerAccount()
The ID of the Amazon Web Services account that owns the associated gateway.
public DirectConnectGatewayAssociation withDirectConnectGatewayOwnerAccount(String directConnectGatewayOwnerAccount)
The ID of the Amazon Web Services account that owns the associated gateway.
directConnectGatewayOwnerAccount
- The ID of the Amazon Web Services account that owns the associated 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 or transit gateway are
successfully associated and ready to pass traffic.
disassociating
: The initial state after calling DeleteDirectConnectGatewayAssociation.
disassociated
: The virtual private gateway or transit gateway is disassociated from the Direct
Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway or transit gateway
is stopped.
updating
: The CIDR blocks for the virtual private gateway or transit gateway are currently being
updated. This could be new CIDR blocks added or current CIDR blocks removed.
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 or transit gateway are
successfully associated and ready to pass traffic.
disassociating
: The initial state after calling DeleteDirectConnectGatewayAssociation.
disassociated
: The virtual private gateway or transit gateway is disassociated from the
Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway or
transit gateway is stopped.
updating
: The CIDR blocks for the virtual private gateway or transit gateway are currently
being updated. This could be new CIDR blocks added or current CIDR blocks removed.
DirectConnectGatewayAssociationState
public 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 or transit gateway are
successfully associated and ready to pass traffic.
disassociating
: The initial state after calling DeleteDirectConnectGatewayAssociation.
disassociated
: The virtual private gateway or transit gateway is disassociated from the Direct
Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway or transit gateway
is stopped.
updating
: The CIDR blocks for the virtual private gateway or transit gateway are currently being
updated. This could be new CIDR blocks added or current CIDR blocks removed.
associating
: The initial state after calling CreateDirectConnectGatewayAssociation.
associated
: The Direct Connect gateway and virtual private gateway or transit gateway are
successfully associated and ready to pass traffic.
disassociating
: The initial state after calling
DeleteDirectConnectGatewayAssociation.
disassociated
: The virtual private gateway or transit gateway is disassociated from the
Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway or
transit gateway is stopped.
updating
: The CIDR blocks for the virtual private gateway or transit gateway are currently
being updated. This could be new CIDR blocks added or current CIDR blocks removed.
DirectConnectGatewayAssociationState
public 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 or transit gateway are
successfully associated and ready to pass traffic.
disassociating
: The initial state after calling DeleteDirectConnectGatewayAssociation.
disassociated
: The virtual private gateway or transit gateway is disassociated from the Direct
Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway or transit gateway
is stopped.
updating
: The CIDR blocks for the virtual private gateway or transit gateway are currently being
updated. This could be new CIDR blocks added or current CIDR blocks removed.
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 or transit gateway are
successfully associated and ready to pass traffic.
disassociating
: The initial state after calling DeleteDirectConnectGatewayAssociation.
disassociated
: The virtual private gateway or transit gateway is disassociated from the
Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway or
transit gateway is stopped.
updating
: The CIDR blocks for the virtual private gateway or transit gateway are currently
being updated. This could be new CIDR blocks added or current CIDR blocks removed.
DirectConnectGatewayAssociationState
public 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 or transit gateway are
successfully associated and ready to pass traffic.
disassociating
: The initial state after calling DeleteDirectConnectGatewayAssociation.
disassociated
: The virtual private gateway or transit gateway is disassociated from the Direct
Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway or transit gateway
is stopped.
updating
: The CIDR blocks for the virtual private gateway or transit gateway are currently being
updated. This could be new CIDR blocks added or current CIDR blocks removed.
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 or transit gateway are
successfully associated and ready to pass traffic.
disassociating
: The initial state after calling DeleteDirectConnectGatewayAssociation.
disassociated
: The virtual private gateway or transit gateway is disassociated from the
Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway or
transit gateway is stopped.
updating
: The CIDR blocks for the virtual private gateway or transit gateway are currently
being updated. This could be new CIDR blocks added or current CIDR blocks removed.
DirectConnectGatewayAssociationState
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 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 void setAssociatedGateway(AssociatedGateway associatedGateway)
Information about the associated gateway.
associatedGateway
- Information about the associated gateway.public AssociatedGateway getAssociatedGateway()
Information about the associated gateway.
public DirectConnectGatewayAssociation withAssociatedGateway(AssociatedGateway associatedGateway)
Information about the associated gateway.
associatedGateway
- Information about the associated gateway.public void setAssociationId(String associationId)
The ID of the Direct Connect gateway association.
associationId
- The ID of the Direct Connect gateway association.public String getAssociationId()
The ID of the Direct Connect gateway association.
public DirectConnectGatewayAssociation withAssociationId(String associationId)
The ID of the Direct Connect gateway association.
associationId
- The ID of the Direct Connect gateway association.public List<RouteFilterPrefix> getAllowedPrefixesToDirectConnectGateway()
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
public void setAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> allowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
allowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to advertise to the Direct Connect gateway.public DirectConnectGatewayAssociation withAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix... allowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
NOTE: This method appends the values to the existing list (if any). Use
setAllowedPrefixesToDirectConnectGateway(java.util.Collection)
or
withAllowedPrefixesToDirectConnectGateway(java.util.Collection)
if you want to override the existing
values.
allowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to advertise to the Direct Connect gateway.public DirectConnectGatewayAssociation withAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> allowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
allowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to advertise to 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 Amazon Web Services Region where the virtual private gateway is located.
virtualGatewayRegion
- The Amazon Web Services Region where the virtual private gateway is located.public String getVirtualGatewayRegion()
The Amazon Web Services Region where the virtual private gateway is located.
public DirectConnectGatewayAssociation withVirtualGatewayRegion(String virtualGatewayRegion)
The Amazon Web Services Region where the virtual private gateway is located.
virtualGatewayRegion
- The Amazon Web Services Region where the virtual private gateway is located.public void setVirtualGatewayOwnerAccount(String virtualGatewayOwnerAccount)
The ID of the Amazon Web Services account that owns the virtual private gateway.
virtualGatewayOwnerAccount
- The ID of the Amazon Web Services account that owns the virtual private gateway.public String getVirtualGatewayOwnerAccount()
The ID of the Amazon Web Services account that owns the virtual private gateway.
public DirectConnectGatewayAssociation withVirtualGatewayOwnerAccount(String virtualGatewayOwnerAccount)
The ID of the Amazon Web Services account that owns the virtual private gateway.
virtualGatewayOwnerAccount
- The ID of the Amazon Web Services account that owns the virtual private gateway.public String toString()
toString
in class Object
Object.toString()
public DirectConnectGatewayAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.