Interface CreateVpcAttachmentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateVpcAttachmentRequest.Builder,,CreateVpcAttachmentRequest> NetworkManagerRequest.Builder,SdkBuilder<CreateVpcAttachmentRequest.Builder,,CreateVpcAttachmentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateVpcAttachmentRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) The client token associated with the request.coreNetworkId(String coreNetworkId) The ID of a core network for the VPC attachment.options(Consumer<VpcOptions.Builder> options) Options for the VPC attachment.options(VpcOptions options) Options for the VPC attachment.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.routingPolicyLabel(String routingPolicyLabel) The routing policy label to apply to the VPC attachment for traffic routing decisions.subnetArns(String... subnetArns) The subnet ARN of the VPC attachment.subnetArns(Collection<String> subnetArns) The subnet ARN of the VPC attachment.tags(Collection<Tag> tags) The key-value tags associated with the request.tags(Consumer<Tag.Builder>... tags) The key-value tags associated with the request.The key-value tags associated with the request.The ARN of the VPC.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.networkmanager.model.NetworkManagerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
coreNetworkId
The ID of a core network for the VPC attachment.
- Parameters:
coreNetworkId- The ID of a core network for the VPC attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcArn
The ARN of the VPC.
- Parameters:
vpcArn- The ARN of the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetArns
The subnet ARN of the VPC attachment.
- Parameters:
subnetArns- The subnet ARN of the VPC attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetArns
The subnet ARN of the VPC attachment.
- Parameters:
subnetArns- The subnet ARN of the VPC attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
Options for the VPC attachment.
- Parameters:
options- Options for the VPC attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
Options for the VPC attachment.
This is a convenience method that creates an instance of theVpcOptions.Builderavoiding the need to create one manually viaVpcOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptions(VpcOptions).- Parameters:
options- a consumer that will call methods onVpcOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
routingPolicyLabel
The routing policy label to apply to the VPC attachment for traffic routing decisions.
- Parameters:
routingPolicyLabel- The routing policy label to apply to the VPC attachment for traffic routing decisions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The key-value tags associated with the request.
- Parameters:
tags- The key-value tags associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The key-value tags associated with the request.
- Parameters:
tags- The key-value tags associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The key-value tags associated with the request.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
The client token associated with the request.
- Parameters:
clientToken- The client token associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateVpcAttachmentRequest.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
CreateVpcAttachmentRequest.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.
-