public static final class CfnClusterProps.Builder extends Object
CfnClusterProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnClusterProps |
build()
Builds the configured instance.
|
CfnClusterProps.Builder |
withAllowVersionUpgrade(Boolean value)
Sets the value of AllowVersionUpgrade
|
CfnClusterProps.Builder |
withAllowVersionUpgrade(software.amazon.awscdk.Token value)
Sets the value of AllowVersionUpgrade
|
CfnClusterProps.Builder |
withAutomatedSnapshotRetentionPeriod(Number value)
Sets the value of AutomatedSnapshotRetentionPeriod
|
CfnClusterProps.Builder |
withAutomatedSnapshotRetentionPeriod(software.amazon.awscdk.Token value)
Sets the value of AutomatedSnapshotRetentionPeriod
|
CfnClusterProps.Builder |
withAvailabilityZone(String value)
Sets the value of AvailabilityZone
|
CfnClusterProps.Builder |
withClusterIdentifier(String value)
Sets the value of ClusterIdentifier
|
CfnClusterProps.Builder |
withClusterParameterGroupName(String value)
Sets the value of ClusterParameterGroupName
|
CfnClusterProps.Builder |
withClusterSecurityGroups(List<String> value)
Sets the value of ClusterSecurityGroups
|
CfnClusterProps.Builder |
withClusterSubnetGroupName(String value)
Sets the value of ClusterSubnetGroupName
|
CfnClusterProps.Builder |
withClusterType(String value)
Sets the value of ClusterType
|
CfnClusterProps.Builder |
withClusterVersion(String value)
Sets the value of ClusterVersion
|
CfnClusterProps.Builder |
withDbName(String value)
Sets the value of DbName
|
CfnClusterProps.Builder |
withElasticIp(String value)
Sets the value of ElasticIp
|
CfnClusterProps.Builder |
withEncrypted(Boolean value)
Sets the value of Encrypted
|
CfnClusterProps.Builder |
withEncrypted(software.amazon.awscdk.Token value)
Sets the value of Encrypted
|
CfnClusterProps.Builder |
withHsmClientCertificateIdentifier(String value)
Sets the value of HsmClientCertificateIdentifier
|
CfnClusterProps.Builder |
withHsmConfigurationIdentifier(String value)
Sets the value of HsmConfigurationIdentifier
|
CfnClusterProps.Builder |
withIamRoles(List<String> value)
Sets the value of IamRoles
|
CfnClusterProps.Builder |
withKmsKeyId(String value)
Sets the value of KmsKeyId
|
CfnClusterProps.Builder |
withLoggingProperties(CfnCluster.LoggingPropertiesProperty value)
Sets the value of LoggingProperties
|
CfnClusterProps.Builder |
withLoggingProperties(software.amazon.awscdk.Token value)
Sets the value of LoggingProperties
|
CfnClusterProps.Builder |
withMasterUsername(String value)
Sets the value of MasterUsername
|
CfnClusterProps.Builder |
withMasterUserPassword(String value)
Sets the value of MasterUserPassword
|
CfnClusterProps.Builder |
withNodeType(String value)
Sets the value of NodeType
|
CfnClusterProps.Builder |
withNumberOfNodes(Number value)
Sets the value of NumberOfNodes
|
CfnClusterProps.Builder |
withNumberOfNodes(software.amazon.awscdk.Token value)
Sets the value of NumberOfNodes
|
CfnClusterProps.Builder |
withOwnerAccount(String value)
Sets the value of OwnerAccount
|
CfnClusterProps.Builder |
withPort(Number value)
Sets the value of Port
|
CfnClusterProps.Builder |
withPort(software.amazon.awscdk.Token value)
Sets the value of Port
|
CfnClusterProps.Builder |
withPreferredMaintenanceWindow(String value)
Sets the value of PreferredMaintenanceWindow
|
CfnClusterProps.Builder |
withPubliclyAccessible(Boolean value)
Sets the value of PubliclyAccessible
|
CfnClusterProps.Builder |
withPubliclyAccessible(software.amazon.awscdk.Token value)
Sets the value of PubliclyAccessible
|
CfnClusterProps.Builder |
withSnapshotClusterIdentifier(String value)
Sets the value of SnapshotClusterIdentifier
|
CfnClusterProps.Builder |
withSnapshotIdentifier(String value)
Sets the value of SnapshotIdentifier
|
CfnClusterProps.Builder |
withTags(List<software.amazon.awscdk.CfnTag> value)
Sets the value of Tags
|
CfnClusterProps.Builder |
withVpcSecurityGroupIds(List<String> value)
Sets the value of VpcSecurityGroupIds
|
public CfnClusterProps.Builder withClusterType(String value)
value - `AWS::Redshift::Cluster.ClusterType`thispublic CfnClusterProps.Builder withDbName(String value)
value - `AWS::Redshift::Cluster.DBName`thispublic CfnClusterProps.Builder withMasterUsername(String value)
value - `AWS::Redshift::Cluster.MasterUsername`thispublic CfnClusterProps.Builder withMasterUserPassword(String value)
value - `AWS::Redshift::Cluster.MasterUserPassword`thispublic CfnClusterProps.Builder withNodeType(String value)
value - `AWS::Redshift::Cluster.NodeType`thispublic CfnClusterProps.Builder withAllowVersionUpgrade(@Nullable Boolean value)
value - `AWS::Redshift::Cluster.AllowVersionUpgrade`thispublic CfnClusterProps.Builder withAllowVersionUpgrade(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Redshift::Cluster.AllowVersionUpgrade`thispublic CfnClusterProps.Builder withAutomatedSnapshotRetentionPeriod(@Nullable Number value)
value - `AWS::Redshift::Cluster.AutomatedSnapshotRetentionPeriod`thispublic CfnClusterProps.Builder withAutomatedSnapshotRetentionPeriod(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Redshift::Cluster.AutomatedSnapshotRetentionPeriod`thispublic CfnClusterProps.Builder withAvailabilityZone(@Nullable String value)
value - `AWS::Redshift::Cluster.AvailabilityZone`thispublic CfnClusterProps.Builder withClusterIdentifier(@Nullable String value)
value - `AWS::Redshift::Cluster.ClusterIdentifier`thispublic CfnClusterProps.Builder withClusterParameterGroupName(@Nullable String value)
value - `AWS::Redshift::Cluster.ClusterParameterGroupName`thispublic CfnClusterProps.Builder withClusterSecurityGroups(@Nullable List<String> value)
value - `AWS::Redshift::Cluster.ClusterSecurityGroups`thispublic CfnClusterProps.Builder withClusterSubnetGroupName(@Nullable String value)
value - `AWS::Redshift::Cluster.ClusterSubnetGroupName`thispublic CfnClusterProps.Builder withClusterVersion(@Nullable String value)
value - `AWS::Redshift::Cluster.ClusterVersion`thispublic CfnClusterProps.Builder withElasticIp(@Nullable String value)
value - `AWS::Redshift::Cluster.ElasticIp`thispublic CfnClusterProps.Builder withEncrypted(@Nullable Boolean value)
value - `AWS::Redshift::Cluster.Encrypted`thispublic CfnClusterProps.Builder withEncrypted(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Redshift::Cluster.Encrypted`thispublic CfnClusterProps.Builder withHsmClientCertificateIdentifier(@Nullable String value)
value - `AWS::Redshift::Cluster.HsmClientCertificateIdentifier`thispublic CfnClusterProps.Builder withHsmConfigurationIdentifier(@Nullable String value)
value - `AWS::Redshift::Cluster.HsmConfigurationIdentifier`thispublic CfnClusterProps.Builder withIamRoles(@Nullable List<String> value)
value - `AWS::Redshift::Cluster.IamRoles`thispublic CfnClusterProps.Builder withKmsKeyId(@Nullable String value)
value - `AWS::Redshift::Cluster.KmsKeyId`thispublic CfnClusterProps.Builder withLoggingProperties(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Redshift::Cluster.LoggingProperties`thispublic CfnClusterProps.Builder withLoggingProperties(@Nullable CfnCluster.LoggingPropertiesProperty value)
value - `AWS::Redshift::Cluster.LoggingProperties`thispublic CfnClusterProps.Builder withNumberOfNodes(@Nullable Number value)
value - `AWS::Redshift::Cluster.NumberOfNodes`thispublic CfnClusterProps.Builder withNumberOfNodes(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Redshift::Cluster.NumberOfNodes`thispublic CfnClusterProps.Builder withOwnerAccount(@Nullable String value)
value - `AWS::Redshift::Cluster.OwnerAccount`thispublic CfnClusterProps.Builder withPort(@Nullable Number value)
value - `AWS::Redshift::Cluster.Port`thispublic CfnClusterProps.Builder withPort(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Redshift::Cluster.Port`thispublic CfnClusterProps.Builder withPreferredMaintenanceWindow(@Nullable String value)
value - `AWS::Redshift::Cluster.PreferredMaintenanceWindow`thispublic CfnClusterProps.Builder withPubliclyAccessible(@Nullable Boolean value)
value - `AWS::Redshift::Cluster.PubliclyAccessible`thispublic CfnClusterProps.Builder withPubliclyAccessible(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Redshift::Cluster.PubliclyAccessible`thispublic CfnClusterProps.Builder withSnapshotClusterIdentifier(@Nullable String value)
value - `AWS::Redshift::Cluster.SnapshotClusterIdentifier`thispublic CfnClusterProps.Builder withSnapshotIdentifier(@Nullable String value)
value - `AWS::Redshift::Cluster.SnapshotIdentifier`thispublic CfnClusterProps.Builder withTags(@Nullable List<software.amazon.awscdk.CfnTag> value)
value - `AWS::Redshift::Cluster.Tags`thispublic CfnClusterProps.Builder withVpcSecurityGroupIds(@Nullable List<String> value)
value - `AWS::Redshift::Cluster.VpcSecurityGroupIds`thispublic CfnClusterProps build()
CfnClusterPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.