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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.directconnect.model.DirectConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaRouteFilterPrefix.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-