Interface UpdateDirectConnectGatewayAssociationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDirectConnectGatewayAssociationRequest.Builder,
,UpdateDirectConnectGatewayAssociationRequest> DirectConnectRequest.Builder
,SdkBuilder<UpdateDirectConnectGatewayAssociationRequest.Builder,
,UpdateDirectConnectGatewayAssociationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateDirectConnectGatewayAssociationRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddAllowedPrefixesToDirectConnectGateway
(Collection<RouteFilterPrefix> addAllowedPrefixesToDirectConnectGateway) The Amazon VPC prefixes to advertise to the Direct Connect gateway.addAllowedPrefixesToDirectConnectGateway
(Consumer<RouteFilterPrefix.Builder>... addAllowedPrefixesToDirectConnectGateway) The Amazon VPC prefixes to advertise to the Direct Connect gateway.addAllowedPrefixesToDirectConnectGateway
(RouteFilterPrefix... addAllowedPrefixesToDirectConnectGateway) The Amazon VPC prefixes to advertise to the Direct Connect gateway.associationId
(String associationId) The ID of the Direct Connect gateway association.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.removeAllowedPrefixesToDirectConnectGateway
(Collection<RouteFilterPrefix> removeAllowedPrefixesToDirectConnectGateway) The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.removeAllowedPrefixesToDirectConnectGateway
(Consumer<RouteFilterPrefix.Builder>... removeAllowedPrefixesToDirectConnectGateway) The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.removeAllowedPrefixesToDirectConnectGateway
(RouteFilterPrefix... removeAllowedPrefixesToDirectConnectGateway) The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.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
-
associationId
The ID of the Direct Connect gateway association.
- Parameters:
associationId
- The ID of the Direct Connect gateway association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addAllowedPrefixesToDirectConnectGateway
UpdateDirectConnectGatewayAssociationRequest.Builder addAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> addAllowedPrefixesToDirectConnectGateway) The Amazon VPC prefixes to advertise to the Direct Connect gateway.
- Parameters:
addAllowedPrefixesToDirectConnectGateway
- 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.
-
addAllowedPrefixesToDirectConnectGateway
UpdateDirectConnectGatewayAssociationRequest.Builder addAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix... addAllowedPrefixesToDirectConnectGateway) The Amazon VPC prefixes to advertise to the Direct Connect gateway.
- Parameters:
addAllowedPrefixesToDirectConnectGateway
- 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.
-
addAllowedPrefixesToDirectConnectGateway
UpdateDirectConnectGatewayAssociationRequest.Builder addAllowedPrefixesToDirectConnectGateway(Consumer<RouteFilterPrefix.Builder>... addAllowedPrefixesToDirectConnectGateway) 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 toaddAllowedPrefixesToDirectConnectGateway(List<RouteFilterPrefix>)
.- Parameters:
addAllowedPrefixesToDirectConnectGateway
- 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:
-
removeAllowedPrefixesToDirectConnectGateway
UpdateDirectConnectGatewayAssociationRequest.Builder removeAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> removeAllowedPrefixesToDirectConnectGateway) The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
- Parameters:
removeAllowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeAllowedPrefixesToDirectConnectGateway
UpdateDirectConnectGatewayAssociationRequest.Builder removeAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix... removeAllowedPrefixesToDirectConnectGateway) The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
- Parameters:
removeAllowedPrefixesToDirectConnectGateway
- The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeAllowedPrefixesToDirectConnectGateway
UpdateDirectConnectGatewayAssociationRequest.Builder removeAllowedPrefixesToDirectConnectGateway(Consumer<RouteFilterPrefix.Builder>... removeAllowedPrefixesToDirectConnectGateway) The Amazon VPC prefixes to no longer 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 toremoveAllowedPrefixesToDirectConnectGateway(List<RouteFilterPrefix>)
.- Parameters:
removeAllowedPrefixesToDirectConnectGateway
- 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
UpdateDirectConnectGatewayAssociationRequest.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
UpdateDirectConnectGatewayAssociationRequest.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.
-