Class CfnVPCConnection.Builder

java.lang.Object
software.amazon.awscdk.services.quicksight.CfnVPCConnection.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCConnection>
Enclosing class:
CfnVPCConnection

@Stability(Stable) public static final class CfnVPCConnection.Builder extends Object implements software.amazon.jsii.Builder<CfnVPCConnection>
A fluent builder for CfnVPCConnection.
  • Method Details

    • create

      @Stability(Stable) public static CfnVPCConnection.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnVPCConnection.Builder.
    • availabilityStatus

      @Stability(Stable) public CfnVPCConnection.Builder availabilityStatus(String availabilityStatus)
      The availability status of the VPC connection.

      Parameters:
      availabilityStatus - The availability status of the VPC connection. This parameter is required.
      Returns:
      this
    • awsAccountId

      @Stability(Stable) public CfnVPCConnection.Builder awsAccountId(String awsAccountId)
      The AWS account ID of the account where you want to create a new VPC connection.

      Parameters:
      awsAccountId - The AWS account ID of the account where you want to create a new VPC connection. This parameter is required.
      Returns:
      this
    • dnsResolvers

      @Stability(Stable) public CfnVPCConnection.Builder dnsResolvers(List<String> 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. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnVPCConnection.Builder name(String name)
      The display name for the VPC connection.

      Parameters:
      name - The display name for the VPC connection. This parameter is required.
      Returns:
      this
    • roleArn

      @Stability(Stable) public CfnVPCConnection.Builder roleArn(String roleArn)
      The ARN of the IAM role associated with the VPC connection.

      Parameters:
      roleArn - The ARN of the IAM role associated with the VPC connection. This parameter is required.
      Returns:
      this
    • securityGroupIds

      @Stability(Stable) public CfnVPCConnection.Builder securityGroupIds(List<String> securityGroupIds)
      The Amazon EC2 security group IDs associated with the VPC connection.

      Parameters:
      securityGroupIds - The Amazon EC2 security group IDs associated with the VPC connection. This parameter is required.
      Returns:
      this
    • subnetIds

      @Stability(Stable) public CfnVPCConnection.Builder subnetIds(List<String> subnetIds)
      A list of subnet IDs for the VPC connection.

      Parameters:
      subnetIds - A list of subnet IDs for the VPC connection. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnVPCConnection.Builder tags(List<? extends CfnTag> 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. This parameter is required.
      Returns:
      this
    • vpcConnectionId

      @Stability(Stable) public CfnVPCConnection.Builder vpcConnectionId(String 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.

      Parameters:
      vpcConnectionId - The ID of the VPC connection that you're creating. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnVPCConnection build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnVPCConnection>
      Returns:
      a newly built instance of CfnVPCConnection.