Interface DirectConnectGatewayAssociationProposal.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<DirectConnectGatewayAssociationProposal.Builder,,- DirectConnectGatewayAssociationProposal> - SdkBuilder<DirectConnectGatewayAssociationProposal.Builder,,- DirectConnectGatewayAssociationProposal> - SdkPojo
- Enclosing class:
- DirectConnectGatewayAssociationProposal
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
proposalIdThe 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.
 
- 
directConnectGatewayIdDirectConnectGatewayAssociationProposal.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.
 
- 
directConnectGatewayOwnerAccountDirectConnectGatewayAssociationProposal.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.
 
- 
proposalStateThe 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:
 
- 
 
- 
proposalStateDirectConnectGatewayAssociationProposal.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:
 
- 
 
- 
associatedGatewayDirectConnectGatewayAssociationProposal.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.
 
- 
associatedGatewaydefault 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 on- AssociatedGateway.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
existingAllowedPrefixesToDirectConnectGatewayDirectConnectGatewayAssociationProposal.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.
 
- 
existingAllowedPrefixesToDirectConnectGatewayDirectConnectGatewayAssociationProposal.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.
 
- 
existingAllowedPrefixesToDirectConnectGatewayDirectConnectGatewayAssociationProposal.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 toexistingAllowedPrefixesToDirectConnectGateway(List<RouteFilterPrefix>).- Parameters:
- existingAllowedPrefixesToDirectConnectGateway- a consumer that will call methods on- RouteFilterPrefix.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
requestedAllowedPrefixesToDirectConnectGatewayDirectConnectGatewayAssociationProposal.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.
 
- 
requestedAllowedPrefixesToDirectConnectGatewayDirectConnectGatewayAssociationProposal.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.
 
- 
requestedAllowedPrefixesToDirectConnectGatewayDirectConnectGatewayAssociationProposal.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 torequestedAllowedPrefixesToDirectConnectGateway(List<RouteFilterPrefix>).- Parameters:
- requestedAllowedPrefixesToDirectConnectGateway- a consumer that will call methods on- RouteFilterPrefix.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-