Class CfnEndpointAccess.Builder

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

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

    • create

      @Stability(Stable) public static CfnEndpointAccess.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 CfnEndpointAccess.Builder.
    • clusterIdentifier

      @Stability(Stable) public CfnEndpointAccess.Builder clusterIdentifier(String clusterIdentifier)
      The cluster identifier of the cluster associated with the endpoint.

      Parameters:
      clusterIdentifier - The cluster identifier of the cluster associated with the endpoint. This parameter is required.
      Returns:
      this
    • endpointName

      @Stability(Stable) public CfnEndpointAccess.Builder endpointName(String endpointName)
      The name of the endpoint.

      Parameters:
      endpointName - The name of the endpoint. This parameter is required.
      Returns:
      this
    • subnetGroupName

      @Stability(Stable) public CfnEndpointAccess.Builder subnetGroupName(String subnetGroupName)
      The subnet group name where Amazon Redshift chooses to deploy the endpoint.

      Parameters:
      subnetGroupName - The subnet group name where Amazon Redshift chooses to deploy the endpoint. This parameter is required.
      Returns:
      this
    • vpcSecurityGroupIds

      @Stability(Stable) public CfnEndpointAccess.Builder vpcSecurityGroupIds(List<String> vpcSecurityGroupIds)
      The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.

      Parameters:
      vpcSecurityGroupIds - The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint. This parameter is required.
      Returns:
      this
    • resourceOwner

      @Stability(Stable) public CfnEndpointAccess.Builder resourceOwner(String resourceOwner)
      The AWS account ID of the owner of the cluster.

      Parameters:
      resourceOwner - The AWS account ID of the owner of the cluster. This parameter is required.
      Returns:
      this
    • build

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