Interface CreateDirectConnectGatewayAssociationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDirectConnectGatewayAssociationRequest.Builder,CreateDirectConnectGatewayAssociationRequest>,DirectConnectRequest.Builder,SdkBuilder<CreateDirectConnectGatewayAssociationRequest.Builder,CreateDirectConnectGatewayAssociationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDirectConnectGatewayAssociationRequest
public static interface CreateDirectConnectGatewayAssociationRequest.Builder extends DirectConnectRequest.Builder, SdkPojo, CopyableBuilder<CreateDirectConnectGatewayAssociationRequest.Builder,CreateDirectConnectGatewayAssociationRequest>
-
-
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
CreateDirectConnectGatewayAssociationRequest.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.
-
gatewayId
CreateDirectConnectGatewayAssociationRequest.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
CreateDirectConnectGatewayAssociationRequest.Builder addAllowedPrefixesToDirectConnectGateway(Collection<RouteFilterPrefix> addAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway
This parameter is required when you create an association to a transit gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
- Parameters:
addAllowedPrefixesToDirectConnectGateway- The Amazon VPC prefixes to advertise to the Direct Connect gatewayThis parameter is required when you create an association to a transit 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.
-
addAllowedPrefixesToDirectConnectGateway
CreateDirectConnectGatewayAssociationRequest.Builder addAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix... addAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway
This parameter is required when you create an association to a transit gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
- Parameters:
addAllowedPrefixesToDirectConnectGateway- The Amazon VPC prefixes to advertise to the Direct Connect gatewayThis parameter is required when you create an association to a transit 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.
-
addAllowedPrefixesToDirectConnectGateway
CreateDirectConnectGatewayAssociationRequest.Builder addAllowedPrefixesToDirectConnectGateway(Consumer<RouteFilterPrefix.Builder>... addAllowedPrefixesToDirectConnectGateway)
The Amazon VPC prefixes to advertise to the Direct Connect gateway
This parameter is required when you create an association to a transit 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 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)
-
virtualGatewayId
CreateDirectConnectGatewayAssociationRequest.Builder virtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway.
- Parameters:
virtualGatewayId- The ID of the virtual private gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDirectConnectGatewayAssociationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDirectConnectGatewayAssociationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-