Interface CreateVpcConnectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateVpcConnectionRequest.Builder,,CreateVpcConnectionRequest> QuickSightRequest.Builder,SdkBuilder<CreateVpcConnectionRequest.Builder,,CreateVpcConnectionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateVpcConnectionRequest
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) The Amazon Web Services account ID of the account where you want to create a new VPC connection.dnsResolvers(String... dnsResolvers) A list of IP addresses of DNS resolver endpoints for the VPC connection.dnsResolvers(Collection<String> dnsResolvers) A list of IP addresses of DNS resolver endpoints for the VPC connection.The display name for the VPC connection.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The IAM role to associate with the VPC connection.securityGroupIds(String... securityGroupIds) A list of security group IDs for the VPC connection.securityGroupIds(Collection<String> securityGroupIds) A list of security group IDs for the VPC connection.A list of subnet IDs for the VPC connection.subnetIds(Collection<String> subnetIds) A list of subnet IDs for the VPC connection.tags(Collection<Tag> tags) A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.tags(Consumer<Tag.Builder>... tags) A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.vpcConnectionId(String vpcConnectionId) The ID of the VPC connection that you're creating.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.quicksight.model.QuickSightRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
awsAccountId
The Amazon Web Services account ID of the account where you want to create a new VPC connection.
- Parameters:
awsAccountId- The Amazon Web Services account ID of the account where you want to create a new VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConnectionId
The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.
- Parameters:
vpcConnectionId- The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The display name for the VPC connection.
- Parameters:
name- The display name for the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
A list of subnet IDs for the VPC connection.
- Parameters:
subnetIds- A list of subnet IDs for the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
A list of subnet IDs for the VPC connection.
- Parameters:
subnetIds- A list of subnet IDs for the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
A list of security group IDs for the VPC connection.
- Parameters:
securityGroupIds- A list of security group IDs for the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
A list of security group IDs for the VPC connection.
- Parameters:
securityGroupIds- A list of security group IDs for the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsResolvers
A list of IP addresses of DNS resolver endpoints for the VPC connection.
- Parameters:
dnsResolvers- A list of IP addresses of DNS resolver endpoints for the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsResolvers
A list of IP addresses of DNS resolver endpoints for the VPC connection.
- Parameters:
dnsResolvers- A list of IP addresses of DNS resolver endpoints for the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The IAM role to associate with the VPC connection.
- Parameters:
roleArn- The IAM role to associate with the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
- Parameters:
tags- A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
- Parameters:
tags- A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
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:
-
overrideConfiguration
CreateVpcConnectionRequest.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
CreateVpcConnectionRequest.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.
-