public static interface CreateDirectConnectGatewayAssociationRequest.Builder extends DirectConnectRequest.Builder, SdkPojo, CopyableBuilder<CreateDirectConnectGatewayAssociationRequest.Builder,CreateDirectConnectGatewayAssociationRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateDirectConnectGatewayAssociationRequest.Builder directConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
directConnectGatewayId - The ID of the Direct Connect gateway.CreateDirectConnectGatewayAssociationRequest.Builder gatewayId(String gatewayId)
The ID of the virtual private gateway or transit gateway.
gatewayId - The ID of the virtual private gateway or transit gateway.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.
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.
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.
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.
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.Builder avoiding the need to
create one manually via
RouteFilterPrefix.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #addAllowedPrefixesToDirectConnectGateway(List.
addAllowedPrefixesToDirectConnectGateway - a consumer that will call methods on
RouteFilterPrefix.Builder#addAllowedPrefixesToDirectConnectGateway(java.util.Collection) CreateDirectConnectGatewayAssociationRequest.Builder virtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway.
virtualGatewayId - The ID of the virtual private gateway.CreateDirectConnectGatewayAssociationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateDirectConnectGatewayAssociationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.