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 Summary
Modifier and TypeMethodDescriptionbuild()
clusterIdentifier
(String clusterIdentifier) The cluster identifier of the cluster associated with the endpoint.static CfnEndpointAccess.Builder
endpointName
(String endpointName) The name of the endpoint.resourceOwner
(String resourceOwner) The AWS account ID of the owner of the cluster.subnetGroupName
(String subnetGroupName) The subnet group name where Amazon Redshift chooses to deploy the endpoint.vpcSecurityGroupIds
(List<String> vpcSecurityGroupIds) The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnEndpointAccess.Builder
.
-
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
The name of the endpoint.- Parameters:
endpointName
- The name of the endpoint. This parameter is required.- Returns:
this
-
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
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
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEndpointAccess>
- Returns:
- a newly built instance of
CfnEndpointAccess
.
-