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
-
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 Detail
-
coreNetworkId
CreateVpcAttachmentRequest.Builder coreNetworkId(String 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
CreateVpcAttachmentRequest.Builder vpcArn(String 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
CreateVpcAttachmentRequest.Builder subnetArns(Collection<String> 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
CreateVpcAttachmentRequest.Builder subnetArns(String... 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
CreateVpcAttachmentRequest.Builder options(VpcOptions 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
default CreateVpcAttachmentRequest.Builder options(Consumer<VpcOptions.Builder> 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:
options(VpcOptions)
-
tags
CreateVpcAttachmentRequest.Builder tags(Collection<Tag> 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
CreateVpcAttachmentRequest.Builder tags(Tag... 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
CreateVpcAttachmentRequest.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
clientToken
CreateVpcAttachmentRequest.Builder clientToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateVpcAttachmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-