@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DirectConnectGatewayAssociationProposal extends Object implements Serializable, Cloneable, StructuredPojo
Information about the proposal request to attach a virtual private gateway to a Direct Connect gateway.
Constructor and Description |
---|
DirectConnectGatewayAssociationProposal() |
Modifier and Type | Method and Description |
---|---|
DirectConnectGatewayAssociationProposal |
clone() |
boolean |
equals(Object obj) |
AssociatedGateway |
getAssociatedGateway()
Information about the associated gateway.
|
String |
getDirectConnectGatewayId()
The ID of the Direct Connect gateway.
|
String |
getDirectConnectGatewayOwnerAccount()
The ID of the Amazon Web Services account that owns the Direct Connect gateway.
|
List<RouteFilterPrefix> |
getExistingAllowedPrefixesToDirectConnectGateway()
The existing Amazon VPC prefixes advertised to the Direct Connect gateway.
|
String |
getProposalId()
The ID of the association proposal.
|
String |
getProposalState()
The state of the proposal.
|
List<RouteFilterPrefix> |
getRequestedAllowedPrefixesToDirectConnectGateway()
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociatedGateway(AssociatedGateway associatedGateway)
Information about the associated gateway.
|
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 Direct Connect gateway.
|
void |
setExistingAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> existingAllowedPrefixesToDirectConnectGateway)
The existing Amazon VPC prefixes advertised to the Direct Connect gateway.
|
void |
setProposalId(String proposalId)
The ID of the association proposal.
|
void |
setProposalState(String proposalState)
The state of the proposal.
|
void |
setRequestedAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> requestedAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
|
String |
toString()
Returns a string representation of this object.
|
DirectConnectGatewayAssociationProposal |
withAssociatedGateway(AssociatedGateway associatedGateway)
Information about the associated gateway.
|
DirectConnectGatewayAssociationProposal |
withDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
|
DirectConnectGatewayAssociationProposal |
withDirectConnectGatewayOwnerAccount(String directConnectGatewayOwnerAccount)
The ID of the Amazon Web Services account that owns the Direct Connect gateway.
|
DirectConnectGatewayAssociationProposal |
withExistingAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> existingAllowedPrefixesToDirectConnectGateway)
The existing Amazon VPC prefixes advertised to the Direct Connect gateway.
|
DirectConnectGatewayAssociationProposal |
withExistingAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix... existingAllowedPrefixesToDirectConnectGateway)
The existing Amazon VPC prefixes advertised to the Direct Connect gateway.
|
DirectConnectGatewayAssociationProposal |
withProposalId(String proposalId)
The ID of the association proposal.
|
DirectConnectGatewayAssociationProposal |
withProposalState(DirectConnectGatewayAssociationProposalState proposalState)
The state of the proposal.
|
DirectConnectGatewayAssociationProposal |
withProposalState(String proposalState)
The state of the proposal.
|
DirectConnectGatewayAssociationProposal |
withRequestedAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> requestedAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
|
DirectConnectGatewayAssociationProposal |
withRequestedAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix... requestedAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
|
public DirectConnectGatewayAssociationProposal()
public void setProposalId(String proposalId)
The ID of the association proposal.
proposalId
- The ID of the association proposal.public String getProposalId()
The ID of the association proposal.
public DirectConnectGatewayAssociationProposal withProposalId(String proposalId)
The ID of the association proposal.
proposalId
- The ID of the association proposal.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 DirectConnectGatewayAssociationProposal 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 Direct Connect gateway.
directConnectGatewayOwnerAccount
- The ID of the Amazon Web Services account that owns the Direct Connect gateway.public String getDirectConnectGatewayOwnerAccount()
The ID of the Amazon Web Services account that owns the Direct Connect gateway.
public DirectConnectGatewayAssociationProposal withDirectConnectGatewayOwnerAccount(String directConnectGatewayOwnerAccount)
The ID of the Amazon Web Services account that owns the Direct Connect gateway.
directConnectGatewayOwnerAccount
- The ID of the Amazon Web Services account that owns the Direct Connect gateway.public void setProposalState(String proposalState)
The state of the proposal. The following are possible values:
accepted
: The proposal has been accepted. The Direct Connect gateway association is available to use
in this state.
deleted
: The proposal has been deleted by the owner that made the proposal. The Direct Connect
gateway association cannot be used in this state.
requested
: The proposal has been requested. The Direct Connect gateway association cannot be used in
this state.
proposalState
- The state of the proposal. The following are possible values:
accepted
: The proposal has been accepted. The Direct Connect gateway association is available
to use in this state.
deleted
: The proposal has been deleted by the owner that made the proposal. The Direct
Connect gateway association cannot be used in this state.
requested
: The proposal has been requested. The Direct Connect gateway association cannot be
used in this state.
DirectConnectGatewayAssociationProposalState
public String getProposalState()
The state of the proposal. The following are possible values:
accepted
: The proposal has been accepted. The Direct Connect gateway association is available to use
in this state.
deleted
: The proposal has been deleted by the owner that made the proposal. The Direct Connect
gateway association cannot be used in this state.
requested
: The proposal has been requested. The Direct Connect gateway association cannot be used in
this state.
accepted
: The proposal has been accepted. The Direct Connect gateway association is
available to use in this state.
deleted
: The proposal has been deleted by the owner that made the proposal. The Direct
Connect gateway association cannot be used in this state.
requested
: The proposal has been requested. The Direct Connect gateway association cannot be
used in this state.
DirectConnectGatewayAssociationProposalState
public DirectConnectGatewayAssociationProposal withProposalState(String proposalState)
The state of the proposal. The following are possible values:
accepted
: The proposal has been accepted. The Direct Connect gateway association is available to use
in this state.
deleted
: The proposal has been deleted by the owner that made the proposal. The Direct Connect
gateway association cannot be used in this state.
requested
: The proposal has been requested. The Direct Connect gateway association cannot be used in
this state.
proposalState
- The state of the proposal. The following are possible values:
accepted
: The proposal has been accepted. The Direct Connect gateway association is available
to use in this state.
deleted
: The proposal has been deleted by the owner that made the proposal. The Direct
Connect gateway association cannot be used in this state.
requested
: The proposal has been requested. The Direct Connect gateway association cannot be
used in this state.
DirectConnectGatewayAssociationProposalState
public DirectConnectGatewayAssociationProposal withProposalState(DirectConnectGatewayAssociationProposalState proposalState)
The state of the proposal. The following are possible values:
accepted
: The proposal has been accepted. The Direct Connect gateway association is available to use
in this state.
deleted
: The proposal has been deleted by the owner that made the proposal. The Direct Connect
gateway association cannot be used in this state.
requested
: The proposal has been requested. The Direct Connect gateway association cannot be used in
this state.
proposalState
- The state of the proposal. The following are possible values:
accepted
: The proposal has been accepted. The Direct Connect gateway association is available
to use in this state.
deleted
: The proposal has been deleted by the owner that made the proposal. The Direct
Connect gateway association cannot be used in this state.
requested
: The proposal has been requested. The Direct Connect gateway association cannot be
used in this state.
DirectConnectGatewayAssociationProposalState
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 DirectConnectGatewayAssociationProposal withAssociatedGateway(AssociatedGateway associatedGateway)
Information about the associated gateway.
associatedGateway
- Information about the associated gateway.public List<RouteFilterPrefix> getExistingAllowedPrefixesToDirectConnectGateway()
The existing Amazon VPC prefixes advertised to the Direct Connect gateway.
public void setExistingAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> existingAllowedPrefixesToDirectConnectGateway)
The existing Amazon VPC prefixes advertised to the Direct Connect gateway.
existingAllowedPrefixesToDirectConnectGateway
- The existing Amazon VPC prefixes advertised to the Direct Connect gateway.public DirectConnectGatewayAssociationProposal withExistingAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix... existingAllowedPrefixesToDirectConnectGateway)
The existing Amazon VPC prefixes advertised to the Direct Connect gateway.
NOTE: This method appends the values to the existing list (if any). Use
setExistingAllowedPrefixesToDirectConnectGateway(java.util.Collection)
or
withExistingAllowedPrefixesToDirectConnectGateway(java.util.Collection)
if you want to override the
existing values.
existingAllowedPrefixesToDirectConnectGateway
- The existing Amazon VPC prefixes advertised to the Direct Connect gateway.public DirectConnectGatewayAssociationProposal withExistingAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> existingAllowedPrefixesToDirectConnectGateway)
The existing Amazon VPC prefixes advertised to the Direct Connect gateway.
existingAllowedPrefixesToDirectConnectGateway
- The existing Amazon VPC prefixes advertised to the Direct Connect gateway.public List<RouteFilterPrefix> getRequestedAllowedPrefixesToDirectConnectGateway()
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
public void setRequestedAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> requestedAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
requestedAllowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to advertise to the Direct Connect gateway.public DirectConnectGatewayAssociationProposal withRequestedAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix... requestedAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
NOTE: This method appends the values to the existing list (if any). Use
setRequestedAllowedPrefixesToDirectConnectGateway(java.util.Collection)
or
withRequestedAllowedPrefixesToDirectConnectGateway(java.util.Collection)
if you want to override the
existing values.
requestedAllowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to advertise to the Direct Connect gateway.public DirectConnectGatewayAssociationProposal withRequestedAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> requestedAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
requestedAllowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to advertise to the Direct Connect gateway.public String toString()
toString
in class Object
Object.toString()
public DirectConnectGatewayAssociationProposal clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.