Class CfnEndpointAccessProps.Builder
java.lang.Object
software.amazon.awscdk.services.redshift.CfnEndpointAccessProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointAccessProps>
- Enclosing interface:
CfnEndpointAccessProps
@Stability(Stable)
public static final class CfnEndpointAccessProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointAccessProps>
A builder for
CfnEndpointAccessProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.clusterIdentifier
(String clusterIdentifier) Sets the value ofCfnEndpointAccessProps.getClusterIdentifier()
endpointName
(String endpointName) Sets the value ofCfnEndpointAccessProps.getEndpointName()
resourceOwner
(String resourceOwner) Sets the value ofCfnEndpointAccessProps.getResourceOwner()
subnetGroupName
(String subnetGroupName) Sets the value ofCfnEndpointAccessProps.getSubnetGroupName()
vpcSecurityGroupIds
(List<String> vpcSecurityGroupIds) Sets the value ofCfnEndpointAccessProps.getVpcSecurityGroupIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterIdentifier
@Stability(Stable) public CfnEndpointAccessProps.Builder clusterIdentifier(String clusterIdentifier) Sets the value ofCfnEndpointAccessProps.getClusterIdentifier()
- Parameters:
clusterIdentifier
- The cluster identifier of the cluster associated with the endpoint. This parameter is required.- Returns:
this
-
endpointName
Sets the value ofCfnEndpointAccessProps.getEndpointName()
- Parameters:
endpointName
- The name of the endpoint. This parameter is required.- Returns:
this
-
subnetGroupName
Sets the value ofCfnEndpointAccessProps.getSubnetGroupName()
- Parameters:
subnetGroupName
- The subnet group name where Amazon Redshift chooses to deploy the endpoint. This parameter is required.- Returns:
this
-
vpcSecurityGroupIds
@Stability(Stable) public CfnEndpointAccessProps.Builder vpcSecurityGroupIds(List<String> vpcSecurityGroupIds) Sets the value ofCfnEndpointAccessProps.getVpcSecurityGroupIds()
- 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
Sets the value ofCfnEndpointAccessProps.getResourceOwner()
- Parameters:
resourceOwner
- The AWS account ID of the owner of the cluster.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEndpointAccessProps>
- Returns:
- a new instance of
CfnEndpointAccessProps
- Throws:
NullPointerException
- if any required attribute was not provided
-