@Stability(value=Experimental) public static final class ClusterProps.Builder extends Object implements software.amazon.jsii.Builder<ClusterProps>
ClusterProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public ClusterProps.Builder masterUser(Login masterUser)
ClusterProps.getMasterUser()masterUser - Username and password for the administrative user. This parameter is required.this@Stability(value=Experimental) public ClusterProps.Builder vpc(IVpc vpc)
ClusterProps.getVpc()vpc - The VPC to place the cluster in. This parameter is required.this@Stability(value=Experimental) public ClusterProps.Builder clusterName(String clusterName)
ClusterProps.getClusterName()clusterName - An optional identifier for the cluster.this@Stability(value=Experimental) public ClusterProps.Builder clusterType(ClusterType clusterType)
ClusterProps.getClusterType()clusterType - Settings for the individual instances that are launched.this@Stability(value=Experimental) public ClusterProps.Builder defaultDatabaseName(String defaultDatabaseName)
ClusterProps.getDefaultDatabaseName()defaultDatabaseName - Name of a database which is automatically created inside the cluster.this@Stability(value=Experimental) public ClusterProps.Builder encrypted(Boolean encrypted)
ClusterProps.getEncrypted()encrypted - Whether to enable encryption of data at rest in the cluster.this@Stability(value=Experimental) public ClusterProps.Builder encryptionKey(IKey encryptionKey)
ClusterProps.getEncryptionKey()encryptionKey - The KMS key to use for encryption of data at rest.this@Stability(value=Experimental) public ClusterProps.Builder loggingBucket(IBucket loggingBucket)
ClusterProps.getLoggingBucket()loggingBucket - Bucket to send logs to.
Logging information includes queries and connection attempts, for the specified Amazon Redshift cluster.this@Stability(value=Experimental) public ClusterProps.Builder loggingKeyPrefix(String loggingKeyPrefix)
ClusterProps.getLoggingKeyPrefix()loggingKeyPrefix - Prefix used for logging.this@Stability(value=Experimental) public ClusterProps.Builder nodeType(NodeType nodeType)
ClusterProps.getNodeType()nodeType - The node type to be provisioned for the cluster.this@Stability(value=Experimental) public ClusterProps.Builder numberOfNodes(Number numberOfNodes)
ClusterProps.getNumberOfNodes()numberOfNodes - Number of compute nodes in the cluster.
Value must be at least 1 and no more than 100.this@Stability(value=Experimental) public ClusterProps.Builder parameterGroup(IClusterParameterGroup parameterGroup)
ClusterProps.getParameterGroup()parameterGroup - Additional parameters to pass to the database engine https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html.this@Stability(value=Experimental) public ClusterProps.Builder port(Number port)
ClusterProps.getPort()port - What port to listen on.this@Stability(value=Experimental) public ClusterProps.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow)
ClusterProps.getPreferredMaintenanceWindow()preferredMaintenanceWindow - A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC).
Example: 'Sun:23:45-Mon:00:15'this@Stability(value=Experimental) public ClusterProps.Builder removalPolicy(RemovalPolicy removalPolicy)
ClusterProps.getRemovalPolicy()removalPolicy - The removal policy to apply when the cluster and its instances are removed from the stack or replaced during an update.this@Stability(value=Experimental) public ClusterProps.Builder roles(List<IRole> roles)
ClusterProps.getRoles()roles - A list of AWS Identity and Access Management (IAM) role that can be used by the cluster to access other AWS services.
Specify a maximum of 10 roles.this@Stability(value=Experimental) public ClusterProps.Builder securityGroups(List<ISecurityGroup> securityGroups)
ClusterProps.getSecurityGroups()securityGroups - Security group.this@Stability(value=Experimental) public ClusterProps.Builder vpcSubnets(SubnetSelection vpcSubnets)
ClusterProps.getVpcSubnets()vpcSubnets - Where to place the instances within the VPC.this@Stability(value=Experimental) public ClusterProps build()
build in interface software.amazon.jsii.Builder<ClusterProps>ClusterPropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.