public static final class CfnEndpointAccessProps.Builder
extends java.lang.Object
CfnEndpointAccessProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnEndpointAccessProps |
build()
Builds the configured instance.
|
CfnEndpointAccessProps.Builder |
clusterIdentifier(java.lang.String clusterIdentifier)
Sets the value of
CfnEndpointAccessProps.getClusterIdentifier() |
CfnEndpointAccessProps.Builder |
endpointName(java.lang.String endpointName)
Sets the value of
CfnEndpointAccessProps.getEndpointName() |
CfnEndpointAccessProps.Builder |
resourceOwner(java.lang.String resourceOwner)
Sets the value of
CfnEndpointAccessProps.getResourceOwner() |
CfnEndpointAccessProps.Builder |
subnetGroupName(java.lang.String subnetGroupName)
Sets the value of
CfnEndpointAccessProps.getSubnetGroupName() |
CfnEndpointAccessProps.Builder |
vpcSecurityGroupIds(java.util.List<java.lang.String> vpcSecurityGroupIds)
Sets the value of
CfnEndpointAccessProps.getVpcSecurityGroupIds() |
public CfnEndpointAccessProps.Builder clusterIdentifier(java.lang.String clusterIdentifier)
CfnEndpointAccessProps.getClusterIdentifier()
clusterIdentifier
- The cluster identifier of the cluster associated with the endpoint. This parameter is required.this
public CfnEndpointAccessProps.Builder endpointName(java.lang.String endpointName)
CfnEndpointAccessProps.getEndpointName()
endpointName
- The name of the endpoint. This parameter is required.this
public CfnEndpointAccessProps.Builder subnetGroupName(java.lang.String subnetGroupName)
CfnEndpointAccessProps.getSubnetGroupName()
subnetGroupName
- The subnet group name where Amazon Redshift chooses to deploy the endpoint. This parameter is required.this
public CfnEndpointAccessProps.Builder vpcSecurityGroupIds(java.util.List<java.lang.String> vpcSecurityGroupIds)
CfnEndpointAccessProps.getVpcSecurityGroupIds()
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.this
public CfnEndpointAccessProps.Builder resourceOwner(java.lang.String resourceOwner)
CfnEndpointAccessProps.getResourceOwner()
resourceOwner
- The AWS account ID of the owner of the cluster.this
public CfnEndpointAccessProps build()
CfnEndpointAccessProps
java.lang.NullPointerException
- if any required attribute was not provided