Interface DirectConnectGatewayAssociationProposal.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DirectConnectGatewayAssociationProposal.Builder,
,DirectConnectGatewayAssociationProposal> SdkBuilder<DirectConnectGatewayAssociationProposal.Builder,
,DirectConnectGatewayAssociationProposal> SdkPojo
- Enclosing class:
DirectConnectGatewayAssociationProposal
-
Method Summary
Modifier and TypeMethodDescriptionassociatedGateway
(Consumer<AssociatedGateway.Builder> associatedGateway) Information about the associated gateway.associatedGateway
(AssociatedGateway associatedGateway) Information about the associated gateway.directConnectGatewayId
(String directConnectGatewayId) The ID of the Direct Connect gateway.directConnectGatewayOwnerAccount
(String directConnectGatewayOwnerAccount) The ID of the Amazon Web Services account that owns the Direct Connect gateway.existingAllowedPrefixesToDirectConnectGateway
(Collection<RouteFilterPrefix> existingAllowedPrefixesToDirectConnectGateway) The existing Amazon VPC prefixes advertised to the Direct Connect gateway.existingAllowedPrefixesToDirectConnectGateway
(Consumer<RouteFilterPrefix.Builder>... existingAllowedPrefixesToDirectConnectGateway) The existing Amazon VPC prefixes advertised to the Direct Connect gateway.existingAllowedPrefixesToDirectConnectGateway
(RouteFilterPrefix... existingAllowedPrefixesToDirectConnectGateway) The existing Amazon VPC prefixes advertised to the Direct Connect gateway.proposalId
(String proposalId) The ID of the association proposal.proposalState
(String proposalState) The state of the proposal.proposalState
(DirectConnectGatewayAssociationProposalState proposalState) The state of the proposal.requestedAllowedPrefixesToDirectConnectGateway
(Collection<RouteFilterPrefix> requestedAllowedPrefixesToDirectConnectGateway) The Amazon VPC prefixes to advertise to the Direct Connect gateway.requestedAllowedPrefixesToDirectConnectGateway
(Consumer<RouteFilterPrefix.Builder>... requestedAllowedPrefixesToDirectConnectGateway) The Amazon VPC prefixes to advertise to the Direct Connect gateway.requestedAllowedPrefixesToDirectConnectGateway
(RouteFilterPrefix... requestedAllowedPrefixesToDirectConnectGateway) The Amazon VPC prefixes to advertise to the Direct Connect gateway.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
proposalId
The ID of the association proposal.
- Parameters:
proposalId
- The ID of the association proposal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directConnectGatewayId
DirectConnectGatewayAssociationProposal.Builder directConnectGatewayId(String directConnectGatewayId) The ID of the Direct Connect gateway.
- Parameters:
directConnectGatewayId
- The ID of the Direct Connect gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directConnectGatewayOwnerAccount
DirectConnectGatewayAssociationProposal.Builder directConnectGatewayOwnerAccount(String directConnectGatewayOwnerAccount) The ID of the Amazon Web Services account that owns the Direct Connect gateway.
- Parameters:
directConnectGatewayOwnerAccount
- The ID of the Amazon Web Services account that owns the Direct Connect gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
proposalState
DirectConnectGatewayAssociationProposal.Builder proposalState(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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
associatedGateway
DirectConnectGatewayAssociationProposal.Builder associatedGateway(AssociatedGateway associatedGateway) Information about the associated gateway.
- Parameters:
associatedGateway
- Information about the associated gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedGateway
default DirectConnectGatewayAssociationProposal.Builder associatedGateway(Consumer<AssociatedGateway.Builder> associatedGateway) Information about the associated gateway.
This is a convenience method that creates an instance of theAssociatedGateway.Builder
avoiding the need to create one manually viaAssociatedGateway.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociatedGateway(AssociatedGateway)
.- Parameters:
associatedGateway
- a consumer that will call methods onAssociatedGateway.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
existingAllowedPrefixesToDirectConnectGateway
DirectConnectGatewayAssociationProposal.Builder existingAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> existingAllowedPrefixesToDirectConnectGateway) The existing Amazon VPC prefixes advertised to the Direct Connect gateway.
- Parameters:
existingAllowedPrefixesToDirectConnectGateway
- The existing Amazon VPC prefixes advertised to the Direct Connect gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
existingAllowedPrefixesToDirectConnectGateway
DirectConnectGatewayAssociationProposal.Builder existingAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix... existingAllowedPrefixesToDirectConnectGateway) The existing Amazon VPC prefixes advertised to the Direct Connect gateway.
- Parameters:
existingAllowedPrefixesToDirectConnectGateway
- The existing Amazon VPC prefixes advertised to the Direct Connect gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
existingAllowedPrefixesToDirectConnectGateway
DirectConnectGatewayAssociationProposal.Builder existingAllowedPrefixesToDirectConnectGateway(Consumer<RouteFilterPrefix.Builder>... existingAllowedPrefixesToDirectConnectGateway) The existing Amazon VPC prefixes advertised to the Direct Connect gateway.
This is a convenience method that creates an instance of theRouteFilterPrefix.Builder
avoiding the need to create one manually viaRouteFilterPrefix.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexistingAllowedPrefixesToDirectConnectGateway(List<RouteFilterPrefix>)
.- Parameters:
existingAllowedPrefixesToDirectConnectGateway
- a consumer that will call methods onRouteFilterPrefix.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestedAllowedPrefixesToDirectConnectGateway
DirectConnectGatewayAssociationProposal.Builder requestedAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> requestedAllowedPrefixesToDirectConnectGateway) The Amazon VPC prefixes to advertise to the Direct Connect gateway.
- Parameters:
requestedAllowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to advertise to the Direct Connect gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestedAllowedPrefixesToDirectConnectGateway
DirectConnectGatewayAssociationProposal.Builder requestedAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix... requestedAllowedPrefixesToDirectConnectGateway) The Amazon VPC prefixes to advertise to the Direct Connect gateway.
- Parameters:
requestedAllowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to advertise to the Direct Connect gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestedAllowedPrefixesToDirectConnectGateway
DirectConnectGatewayAssociationProposal.Builder requestedAllowedPrefixesToDirectConnectGateway(Consumer<RouteFilterPrefix.Builder>... requestedAllowedPrefixesToDirectConnectGateway) The Amazon VPC prefixes to advertise to the Direct Connect gateway.
This is a convenience method that creates an instance of theRouteFilterPrefix.Builder
avoiding the need to create one manually viaRouteFilterPrefix.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torequestedAllowedPrefixesToDirectConnectGateway(List<RouteFilterPrefix>)
.- Parameters:
requestedAllowedPrefixesToDirectConnectGateway
- a consumer that will call methods onRouteFilterPrefix.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-