Class CfnVPCConnectionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnVPCConnectionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCConnectionMixinProps>
- Enclosing interface:
CfnVPCConnectionMixinProps
@Stability(Stable)
public static final class CfnVPCConnectionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPCConnectionMixinProps>
A builder for
CfnVPCConnectionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilityStatus(String availabilityStatus) Sets the value ofCfnVPCConnectionMixinProps.getAvailabilityStatus()awsAccountId(String awsAccountId) Sets the value ofCfnVPCConnectionMixinProps.getAwsAccountId()build()Builds the configured instance.dnsResolvers(List<String> dnsResolvers) Sets the value ofCfnVPCConnectionMixinProps.getDnsResolvers()Sets the value ofCfnVPCConnectionMixinProps.getName()Sets the value ofCfnVPCConnectionMixinProps.getRoleArn()securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnVPCConnectionMixinProps.getSecurityGroupIds()Sets the value ofCfnVPCConnectionMixinProps.getSubnetIds()Sets the value ofCfnVPCConnectionMixinProps.getTags()vpcConnectionId(String vpcConnectionId) Sets the value ofCfnVPCConnectionMixinProps.getVpcConnectionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
availabilityStatus
@Stability(Stable) public CfnVPCConnectionMixinProps.Builder availabilityStatus(String availabilityStatus) Sets the value ofCfnVPCConnectionMixinProps.getAvailabilityStatus()- Parameters:
availabilityStatus- The availability status of the VPC connection.- Returns:
this
-
awsAccountId
Sets the value ofCfnVPCConnectionMixinProps.getAwsAccountId()- Parameters:
awsAccountId- The AWS account ID of the account where you want to create a new VPC connection.- Returns:
this
-
dnsResolvers
@Stability(Stable) public CfnVPCConnectionMixinProps.Builder dnsResolvers(List<String> dnsResolvers) Sets the value ofCfnVPCConnectionMixinProps.getDnsResolvers()- Parameters:
dnsResolvers- A list of IP addresses of DNS resolver endpoints for the VPC connection.- Returns:
this
-
name
Sets the value ofCfnVPCConnectionMixinProps.getName()- Parameters:
name- The display name for the VPC connection.- Returns:
this
-
roleArn
Sets the value ofCfnVPCConnectionMixinProps.getRoleArn()- Parameters:
roleArn- The ARN of the IAM role associated with the VPC connection.- Returns:
this
-
securityGroupIds
@Stability(Stable) public CfnVPCConnectionMixinProps.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnVPCConnectionMixinProps.getSecurityGroupIds()- Parameters:
securityGroupIds- The Amazon EC2 security group IDs associated with the VPC connection.- Returns:
this
-
subnetIds
Sets the value ofCfnVPCConnectionMixinProps.getSubnetIds()- Parameters:
subnetIds- A list of subnet IDs for the VPC connection.- Returns:
this
-
tags
Sets the value ofCfnVPCConnectionMixinProps.getTags()- Parameters:
tags- A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.- Returns:
this
-
vpcConnectionId
@Stability(Stable) public CfnVPCConnectionMixinProps.Builder vpcConnectionId(String vpcConnectionId) Sets the value ofCfnVPCConnectionMixinProps.getVpcConnectionId()- Parameters:
vpcConnectionId- The ID of the VPC connection that you're creating. This ID is a unique identifier for each AWS Region in an AWS account.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPCConnectionMixinProps>- Returns:
- a new instance of
CfnVPCConnectionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-