Interface AcceptDirectConnectGatewayAssociationProposalRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AcceptDirectConnectGatewayAssociationProposalRequest.Builder,
,AcceptDirectConnectGatewayAssociationProposalRequest> DirectConnectRequest.Builder
,SdkBuilder<AcceptDirectConnectGatewayAssociationProposalRequest.Builder,
,AcceptDirectConnectGatewayAssociationProposalRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AcceptDirectConnectGatewayAssociationProposalRequest
-
Method Summary
Modifier and TypeMethodDescriptionassociatedGatewayOwnerAccount
(String associatedGatewayOwnerAccount) The ID of the Amazon Web Services account that owns the virtual private gateway or transit gateway.directConnectGatewayId
(String directConnectGatewayId) The ID of the Direct Connect gateway.overrideAllowedPrefixesToDirectConnectGateway
(Collection<RouteFilterPrefix> overrideAllowedPrefixesToDirectConnectGateway) Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.overrideAllowedPrefixesToDirectConnectGateway
(Consumer<RouteFilterPrefix.Builder>... overrideAllowedPrefixesToDirectConnectGateway) Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.overrideAllowedPrefixesToDirectConnectGateway
(RouteFilterPrefix... overrideAllowedPrefixesToDirectConnectGateway) Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.proposalId
(String proposalId) The ID of the request proposal.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.directconnect.model.DirectConnectRequest.Builder
build
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
-
directConnectGatewayId
AcceptDirectConnectGatewayAssociationProposalRequest.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.
-
proposalId
The ID of the request proposal.
- Parameters:
proposalId
- The ID of the request proposal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedGatewayOwnerAccount
AcceptDirectConnectGatewayAssociationProposalRequest.Builder associatedGatewayOwnerAccount(String associatedGatewayOwnerAccount) The ID of the Amazon Web Services account that owns the virtual private gateway or transit gateway.
- Parameters:
associatedGatewayOwnerAccount
- The ID of the Amazon Web Services account that owns the virtual private gateway or transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideAllowedPrefixesToDirectConnectGateway
AcceptDirectConnectGatewayAssociationProposalRequest.Builder overrideAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> overrideAllowedPrefixesToDirectConnectGateway) Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
- Parameters:
overrideAllowedPrefixesToDirectConnectGateway
- Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideAllowedPrefixesToDirectConnectGateway
AcceptDirectConnectGatewayAssociationProposalRequest.Builder overrideAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix... overrideAllowedPrefixesToDirectConnectGateway) Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
- Parameters:
overrideAllowedPrefixesToDirectConnectGateway
- Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideAllowedPrefixesToDirectConnectGateway
AcceptDirectConnectGatewayAssociationProposalRequest.Builder overrideAllowedPrefixesToDirectConnectGateway(Consumer<RouteFilterPrefix.Builder>... overrideAllowedPrefixesToDirectConnectGateway) Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
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 tooverrideAllowedPrefixesToDirectConnectGateway(List<RouteFilterPrefix>)
.- Parameters:
overrideAllowedPrefixesToDirectConnectGateway
- 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:
-
overrideConfiguration
AcceptDirectConnectGatewayAssociationProposalRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AcceptDirectConnectGatewayAssociationProposalRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-