Interface CreateDirectConnectGatewayAssociationProposalRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDirectConnectGatewayAssociationProposalRequest.Builder,CreateDirectConnectGatewayAssociationProposalRequest>,DirectConnectRequest.Builder,SdkBuilder<CreateDirectConnectGatewayAssociationProposalRequest.Builder,CreateDirectConnectGatewayAssociationProposalRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDirectConnectGatewayAssociationProposalRequest
public static interface CreateDirectConnectGatewayAssociationProposalRequest.Builder extends DirectConnectRequest.Builder, SdkPojo, CopyableBuilder<CreateDirectConnectGatewayAssociationProposalRequest.Builder,CreateDirectConnectGatewayAssociationProposalRequest>
-
-
Method Summary
-
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 Detail
-
directConnectGatewayId
CreateDirectConnectGatewayAssociationProposalRequest.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
CreateDirectConnectGatewayAssociationProposalRequest.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.
-
gatewayId
CreateDirectConnectGatewayAssociationProposalRequest.Builder gatewayId(String gatewayId)
The ID of the virtual private gateway or transit gateway.
- Parameters:
gatewayId- The ID of the virtual private gateway or transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addAllowedPrefixesToDirectConnectGateway
CreateDirectConnectGatewayAssociationProposalRequest.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
CreateDirectConnectGatewayAssociationProposalRequest.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
CreateDirectConnectGatewayAssociationProposalRequest.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.Builderavoiding the need to create one manually viaRouteFilterPrefix.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#addAllowedPrefixesToDirectConnectGateway(List.) - 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:
#addAllowedPrefixesToDirectConnectGateway(java.util.Collection)
-
removeAllowedPrefixesToDirectConnectGateway
CreateDirectConnectGatewayAssociationProposalRequest.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
CreateDirectConnectGatewayAssociationProposalRequest.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
CreateDirectConnectGatewayAssociationProposalRequest.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.Builderavoiding the need to create one manually viaRouteFilterPrefix.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#removeAllowedPrefixesToDirectConnectGateway(List.) - 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:
#removeAllowedPrefixesToDirectConnectGateway(java.util.Collection)
-
overrideConfiguration
CreateDirectConnectGatewayAssociationProposalRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDirectConnectGatewayAssociationProposalRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-