Interface CreateVpcAttachmentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateVpcAttachmentRequest.Builder,
,CreateVpcAttachmentRequest> NetworkManagerRequest.Builder
,SdkBuilder<CreateVpcAttachmentRequest.Builder,
,CreateVpcAttachmentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateVpcAttachmentRequest
public static interface CreateVpcAttachmentRequest.Builder
extends NetworkManagerRequest.Builder, SdkPojo, CopyableBuilder<CreateVpcAttachmentRequest.Builder,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.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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerRequest.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
-
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.Builder
avoiding the need to create one manually viaVpcOptions.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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.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
CreateVpcAttachmentRequest.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.
-