Interface DirectConnectGatewayAssociationProposal.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DirectConnectGatewayAssociationProposal.Builder,DirectConnectGatewayAssociationProposal>,SdkBuilder<DirectConnectGatewayAssociationProposal.Builder,DirectConnectGatewayAssociationProposal>,SdkPojo
- Enclosing class:
- DirectConnectGatewayAssociationProposal
public static interface DirectConnectGatewayAssociationProposal.Builder extends SdkPojo, CopyableBuilder<DirectConnectGatewayAssociationProposal.Builder,DirectConnectGatewayAssociationProposal>
-
-
Method Summary
-
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 Detail
-
proposalId
DirectConnectGatewayAssociationProposal.Builder proposalId(String 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
DirectConnectGatewayAssociationProposal.Builder proposalState(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.
- 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:
DirectConnectGatewayAssociationProposalState,DirectConnectGatewayAssociationProposalState
-
-
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:
DirectConnectGatewayAssociationProposalState,DirectConnectGatewayAssociationProposalState
-
-
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.Builderavoiding the need to create one manually viaAssociatedGateway.builder().When the
Consumercompletes,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:
associatedGateway(AssociatedGateway)
-
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.Builderavoiding the need to create one manually viaRouteFilterPrefix.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#existingAllowedPrefixesToDirectConnectGateway(List.) - 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:
#existingAllowedPrefixesToDirectConnectGateway(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaRouteFilterPrefix.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#requestedAllowedPrefixesToDirectConnectGateway(List.) - 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:
#requestedAllowedPrefixesToDirectConnectGateway(java.util.Collection)
-
-