Class CfnEndpointAccessMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.redshift.CfnEndpointAccessMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointAccessMixinProps>
- Enclosing interface:
CfnEndpointAccessMixinProps
@Stability(Stable)
public static final class CfnEndpointAccessMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointAccessMixinProps>
A builder for
CfnEndpointAccessMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clusterIdentifier(String clusterIdentifier) Sets the value ofCfnEndpointAccessMixinProps.getClusterIdentifier()endpointName(String endpointName) Sets the value ofCfnEndpointAccessMixinProps.getEndpointName()resourceOwner(String resourceOwner) Sets the value ofCfnEndpointAccessMixinProps.getResourceOwner()subnetGroupName(String subnetGroupName) Sets the value ofCfnEndpointAccessMixinProps.getSubnetGroupName()subnetGroupName(IClusterSubnetGroupRef subnetGroupName) Sets the value ofCfnEndpointAccessMixinProps.getSubnetGroupName()vpcSecurityGroupIds(List<? extends Object> vpcSecurityGroupIds) Sets the value ofCfnEndpointAccessMixinProps.getVpcSecurityGroupIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterIdentifier
@Stability(Stable) public CfnEndpointAccessMixinProps.Builder clusterIdentifier(String clusterIdentifier) Sets the value ofCfnEndpointAccessMixinProps.getClusterIdentifier()- Parameters:
clusterIdentifier- The cluster identifier of the cluster associated with the endpoint.- Returns:
this
-
endpointName
Sets the value ofCfnEndpointAccessMixinProps.getEndpointName()- Parameters:
endpointName- The name of the endpoint.- Returns:
this
-
resourceOwner
Sets the value ofCfnEndpointAccessMixinProps.getResourceOwner()- Parameters:
resourceOwner- The AWS account ID of the owner of the cluster.- Returns:
this
-
subnetGroupName
@Stability(Stable) public CfnEndpointAccessMixinProps.Builder subnetGroupName(String subnetGroupName) Sets the value ofCfnEndpointAccessMixinProps.getSubnetGroupName()- Parameters:
subnetGroupName- The subnet group name where Amazon Redshift chooses to deploy the endpoint.- Returns:
this
-
subnetGroupName
@Stability(Stable) public CfnEndpointAccessMixinProps.Builder subnetGroupName(IClusterSubnetGroupRef subnetGroupName) Sets the value ofCfnEndpointAccessMixinProps.getSubnetGroupName()- Parameters:
subnetGroupName- The subnet group name where Amazon Redshift chooses to deploy the endpoint.- Returns:
this
-
vpcSecurityGroupIds
@Stability(Stable) public CfnEndpointAccessMixinProps.Builder vpcSecurityGroupIds(List<? extends Object> vpcSecurityGroupIds) Sets the value ofCfnEndpointAccessMixinProps.getVpcSecurityGroupIds()- Parameters:
vpcSecurityGroupIds- The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointAccessMixinProps>- Returns:
- a new instance of
CfnEndpointAccessMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-