Package com.pulumi.aws.redshift
Class ClusterArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.redshift.ClusterArgs.Builder
-
- Enclosing class:
- ClusterArgs
public static final class ClusterArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ClusterArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ClusterArgs.BuilderallowVersionUpgrade(com.pulumi.core.Output<java.lang.Boolean> allowVersionUpgrade)ClusterArgs.BuilderallowVersionUpgrade(java.lang.Boolean allowVersionUpgrade)ClusterArgs.BuilderapplyImmediately(com.pulumi.core.Output<java.lang.Boolean> applyImmediately)ClusterArgs.BuilderapplyImmediately(java.lang.Boolean applyImmediately)ClusterArgs.BuilderaquaConfigurationStatus(com.pulumi.core.Output<java.lang.String> aquaConfigurationStatus)Deprecated.aqua_configuration_status is deprecated.ClusterArgs.BuilderaquaConfigurationStatus(java.lang.String aquaConfigurationStatus)Deprecated.aqua_configuration_status is deprecated.ClusterArgs.BuilderautomatedSnapshotRetentionPeriod(com.pulumi.core.Output<java.lang.Integer> automatedSnapshotRetentionPeriod)ClusterArgs.BuilderautomatedSnapshotRetentionPeriod(java.lang.Integer automatedSnapshotRetentionPeriod)ClusterArgs.BuilderavailabilityZone(com.pulumi.core.Output<java.lang.String> availabilityZone)ClusterArgs.BuilderavailabilityZone(java.lang.String availabilityZone)ClusterArgs.BuilderavailabilityZoneRelocationEnabled(com.pulumi.core.Output<java.lang.Boolean> availabilityZoneRelocationEnabled)ClusterArgs.BuilderavailabilityZoneRelocationEnabled(java.lang.Boolean availabilityZoneRelocationEnabled)ClusterArgsbuild()ClusterArgs.BuilderclusterIdentifier(com.pulumi.core.Output<java.lang.String> clusterIdentifier)ClusterArgs.BuilderclusterIdentifier(java.lang.String clusterIdentifier)ClusterArgs.BuilderclusterParameterGroupName(com.pulumi.core.Output<java.lang.String> clusterParameterGroupName)ClusterArgs.BuilderclusterParameterGroupName(java.lang.String clusterParameterGroupName)ClusterArgs.BuilderclusterSubnetGroupName(com.pulumi.core.Output<java.lang.String> clusterSubnetGroupName)ClusterArgs.BuilderclusterSubnetGroupName(java.lang.String clusterSubnetGroupName)ClusterArgs.BuilderclusterType(com.pulumi.core.Output<java.lang.String> clusterType)ClusterArgs.BuilderclusterType(java.lang.String clusterType)ClusterArgs.BuilderclusterVersion(com.pulumi.core.Output<java.lang.String> clusterVersion)ClusterArgs.BuilderclusterVersion(java.lang.String clusterVersion)ClusterArgs.BuilderdatabaseName(com.pulumi.core.Output<java.lang.String> databaseName)ClusterArgs.BuilderdatabaseName(java.lang.String databaseName)ClusterArgs.BuilderdefaultIamRoleArn(com.pulumi.core.Output<java.lang.String> defaultIamRoleArn)ClusterArgs.BuilderdefaultIamRoleArn(java.lang.String defaultIamRoleArn)ClusterArgs.BuilderelasticIp(com.pulumi.core.Output<java.lang.String> elasticIp)ClusterArgs.BuilderelasticIp(java.lang.String elasticIp)ClusterArgs.Builderencrypted(com.pulumi.core.Output<java.lang.String> encrypted)ClusterArgs.Builderencrypted(java.lang.String encrypted)ClusterArgs.BuilderenhancedVpcRouting(com.pulumi.core.Output<java.lang.Boolean> enhancedVpcRouting)ClusterArgs.BuilderenhancedVpcRouting(java.lang.Boolean enhancedVpcRouting)ClusterArgs.BuilderfinalSnapshotIdentifier(com.pulumi.core.Output<java.lang.String> finalSnapshotIdentifier)ClusterArgs.BuilderfinalSnapshotIdentifier(java.lang.String finalSnapshotIdentifier)ClusterArgs.BuilderiamRoles(com.pulumi.core.Output<java.util.List<java.lang.String>> iamRoles)ClusterArgs.BuilderiamRoles(java.lang.String... iamRoles)ClusterArgs.BuilderiamRoles(java.util.List<java.lang.String> iamRoles)ClusterArgs.BuilderkmsKeyId(com.pulumi.core.Output<java.lang.String> kmsKeyId)ClusterArgs.BuilderkmsKeyId(java.lang.String kmsKeyId)ClusterArgs.BuildermaintenanceTrackName(com.pulumi.core.Output<java.lang.String> maintenanceTrackName)ClusterArgs.BuildermaintenanceTrackName(java.lang.String maintenanceTrackName)ClusterArgs.BuildermanageMasterPassword(com.pulumi.core.Output<java.lang.Boolean> manageMasterPassword)ClusterArgs.BuildermanageMasterPassword(java.lang.Boolean manageMasterPassword)ClusterArgs.BuildermanualSnapshotRetentionPeriod(com.pulumi.core.Output<java.lang.Integer> manualSnapshotRetentionPeriod)ClusterArgs.BuildermanualSnapshotRetentionPeriod(java.lang.Integer manualSnapshotRetentionPeriod)ClusterArgs.BuildermasterPassword(com.pulumi.core.Output<java.lang.String> masterPassword)ClusterArgs.BuildermasterPassword(java.lang.String masterPassword)ClusterArgs.BuildermasterPasswordSecretKmsKeyId(com.pulumi.core.Output<java.lang.String> masterPasswordSecretKmsKeyId)ClusterArgs.BuildermasterPasswordSecretKmsKeyId(java.lang.String masterPasswordSecretKmsKeyId)ClusterArgs.BuildermasterPasswordWo(com.pulumi.core.Output<java.lang.String> masterPasswordWo)ClusterArgs.BuildermasterPasswordWo(java.lang.String masterPasswordWo)ClusterArgs.BuildermasterPasswordWoVersion(com.pulumi.core.Output<java.lang.Integer> masterPasswordWoVersion)ClusterArgs.BuildermasterPasswordWoVersion(java.lang.Integer masterPasswordWoVersion)ClusterArgs.BuildermasterUsername(com.pulumi.core.Output<java.lang.String> masterUsername)ClusterArgs.BuildermasterUsername(java.lang.String masterUsername)ClusterArgs.BuildermultiAz(com.pulumi.core.Output<java.lang.Boolean> multiAz)ClusterArgs.BuildermultiAz(java.lang.Boolean multiAz)ClusterArgs.BuildernodeType(com.pulumi.core.Output<java.lang.String> nodeType)ClusterArgs.BuildernodeType(java.lang.String nodeType)ClusterArgs.BuildernumberOfNodes(com.pulumi.core.Output<java.lang.Integer> numberOfNodes)ClusterArgs.BuildernumberOfNodes(java.lang.Integer numberOfNodes)ClusterArgs.BuilderownerAccount(com.pulumi.core.Output<java.lang.String> ownerAccount)ClusterArgs.BuilderownerAccount(java.lang.String ownerAccount)ClusterArgs.Builderport(com.pulumi.core.Output<java.lang.Integer> port)ClusterArgs.Builderport(java.lang.Integer port)ClusterArgs.BuilderpreferredMaintenanceWindow(com.pulumi.core.Output<java.lang.String> preferredMaintenanceWindow)ClusterArgs.BuilderpreferredMaintenanceWindow(java.lang.String preferredMaintenanceWindow)ClusterArgs.BuilderpubliclyAccessible(com.pulumi.core.Output<java.lang.Boolean> publiclyAccessible)ClusterArgs.BuilderpubliclyAccessible(java.lang.Boolean publiclyAccessible)ClusterArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)ClusterArgs.Builderregion(java.lang.String region)ClusterArgs.BuilderskipFinalSnapshot(com.pulumi.core.Output<java.lang.Boolean> skipFinalSnapshot)ClusterArgs.BuilderskipFinalSnapshot(java.lang.Boolean skipFinalSnapshot)ClusterArgs.BuildersnapshotArn(com.pulumi.core.Output<java.lang.String> snapshotArn)ClusterArgs.BuildersnapshotArn(java.lang.String snapshotArn)ClusterArgs.BuildersnapshotClusterIdentifier(com.pulumi.core.Output<java.lang.String> snapshotClusterIdentifier)ClusterArgs.BuildersnapshotClusterIdentifier(java.lang.String snapshotClusterIdentifier)ClusterArgs.BuildersnapshotIdentifier(com.pulumi.core.Output<java.lang.String> snapshotIdentifier)ClusterArgs.BuildersnapshotIdentifier(java.lang.String snapshotIdentifier)ClusterArgs.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)ClusterArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)ClusterArgs.BuildervpcSecurityGroupIds(com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSecurityGroupIds)ClusterArgs.BuildervpcSecurityGroupIds(java.lang.String... vpcSecurityGroupIds)ClusterArgs.BuildervpcSecurityGroupIds(java.util.List<java.lang.String> vpcSecurityGroupIds)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ClusterArgs defaults)
-
-
Method Detail
-
allowVersionUpgrade
public ClusterArgs.Builder allowVersionUpgrade(@Nullable com.pulumi.core.Output<java.lang.Boolean> allowVersionUpgrade)
- Parameters:
allowVersionUpgrade- If true , major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. Default is `true`.- Returns:
- builder
-
allowVersionUpgrade
public ClusterArgs.Builder allowVersionUpgrade(java.lang.Boolean allowVersionUpgrade)
- Parameters:
allowVersionUpgrade- If true , major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. Default is `true`.- Returns:
- builder
-
applyImmediately
public ClusterArgs.Builder applyImmediately(@Nullable com.pulumi.core.Output<java.lang.Boolean> applyImmediately)
- Parameters:
applyImmediately- Specifies whether any cluster modifications are applied immediately, or during the next maintenance window. Default is `false`.- Returns:
- builder
-
applyImmediately
public ClusterArgs.Builder applyImmediately(java.lang.Boolean applyImmediately)
- Parameters:
applyImmediately- Specifies whether any cluster modifications are applied immediately, or during the next maintenance window. Default is `false`.- Returns:
- builder
-
aquaConfigurationStatus
@Deprecated public ClusterArgs.Builder aquaConfigurationStatus(@Nullable com.pulumi.core.Output<java.lang.String> aquaConfigurationStatus)
Deprecated.aqua_configuration_status is deprecated. This parameter is no longer supported by the AWS API. It will be removed in the next major version of the provider.- Parameters:
aquaConfigurationStatus- The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) after the cluster is restored. No longer supported by the AWS API. Always returns `auto`.- Returns:
- builder
-
aquaConfigurationStatus
@Deprecated public ClusterArgs.Builder aquaConfigurationStatus(java.lang.String aquaConfigurationStatus)
Deprecated.aqua_configuration_status is deprecated. This parameter is no longer supported by the AWS API. It will be removed in the next major version of the provider.- Parameters:
aquaConfigurationStatus- The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) after the cluster is restored. No longer supported by the AWS API. Always returns `auto`.- Returns:
- builder
-
automatedSnapshotRetentionPeriod
public ClusterArgs.Builder automatedSnapshotRetentionPeriod(@Nullable com.pulumi.core.Output<java.lang.Integer> automatedSnapshotRetentionPeriod)
- Parameters:
automatedSnapshotRetentionPeriod- The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with create-cluster-snapshot. Default is 1.- Returns:
- builder
-
automatedSnapshotRetentionPeriod
public ClusterArgs.Builder automatedSnapshotRetentionPeriod(java.lang.Integer automatedSnapshotRetentionPeriod)
- Parameters:
automatedSnapshotRetentionPeriod- The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with create-cluster-snapshot. Default is 1.- Returns:
- builder
-
availabilityZone
public ClusterArgs.Builder availabilityZone(@Nullable com.pulumi.core.Output<java.lang.String> availabilityZone)
- Parameters:
availabilityZone- The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. For example, if you have several EC2 instances running in a specific Availability Zone, then you might want the cluster to be provisioned in the same zone in order to decrease network latency. Can only be changed if `availabilityZoneRelocationEnabled` is `true`.- Returns:
- builder
-
availabilityZone
public ClusterArgs.Builder availabilityZone(java.lang.String availabilityZone)
- Parameters:
availabilityZone- The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. For example, if you have several EC2 instances running in a specific Availability Zone, then you might want the cluster to be provisioned in the same zone in order to decrease network latency. Can only be changed if `availabilityZoneRelocationEnabled` is `true`.- Returns:
- builder
-
availabilityZoneRelocationEnabled
public ClusterArgs.Builder availabilityZoneRelocationEnabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> availabilityZoneRelocationEnabled)
- Parameters:
availabilityZoneRelocationEnabled- If true, the cluster can be relocated to another availabity zone, either automatically by AWS or when requested. Default is `false`. Available for use on clusters from the RA3 instance family.- Returns:
- builder
-
availabilityZoneRelocationEnabled
public ClusterArgs.Builder availabilityZoneRelocationEnabled(java.lang.Boolean availabilityZoneRelocationEnabled)
- Parameters:
availabilityZoneRelocationEnabled- If true, the cluster can be relocated to another availabity zone, either automatically by AWS or when requested. Default is `false`. Available for use on clusters from the RA3 instance family.- Returns:
- builder
-
clusterIdentifier
public ClusterArgs.Builder clusterIdentifier(com.pulumi.core.Output<java.lang.String> clusterIdentifier)
- Parameters:
clusterIdentifier- The Cluster Identifier. Must be a lower case string.- Returns:
- builder
-
clusterIdentifier
public ClusterArgs.Builder clusterIdentifier(java.lang.String clusterIdentifier)
- Parameters:
clusterIdentifier- The Cluster Identifier. Must be a lower case string.- Returns:
- builder
-
clusterParameterGroupName
public ClusterArgs.Builder clusterParameterGroupName(@Nullable com.pulumi.core.Output<java.lang.String> clusterParameterGroupName)
- Parameters:
clusterParameterGroupName- The name of the parameter group to be associated with this cluster.- Returns:
- builder
-
clusterParameterGroupName
public ClusterArgs.Builder clusterParameterGroupName(java.lang.String clusterParameterGroupName)
- Parameters:
clusterParameterGroupName- The name of the parameter group to be associated with this cluster.- Returns:
- builder
-
clusterSubnetGroupName
public ClusterArgs.Builder clusterSubnetGroupName(@Nullable com.pulumi.core.Output<java.lang.String> clusterSubnetGroupName)
- Parameters:
clusterSubnetGroupName- Name of a cluster subnet group to be associated with this cluster. If this parameter is not provided the resulting cluster will be deployed outside VPC.- Returns:
- builder
-
clusterSubnetGroupName
public ClusterArgs.Builder clusterSubnetGroupName(java.lang.String clusterSubnetGroupName)
- Parameters:
clusterSubnetGroupName- Name of a cluster subnet group to be associated with this cluster. If this parameter is not provided the resulting cluster will be deployed outside VPC.- Returns:
- builder
-
clusterType
public ClusterArgs.Builder clusterType(@Nullable com.pulumi.core.Output<java.lang.String> clusterType)
- Parameters:
clusterType- The cluster type to use. Either `single-node` or `multi-node`.- Returns:
- builder
-
clusterType
public ClusterArgs.Builder clusterType(java.lang.String clusterType)
- Parameters:
clusterType- The cluster type to use. Either `single-node` or `multi-node`.- Returns:
- builder
-
clusterVersion
public ClusterArgs.Builder clusterVersion(@Nullable com.pulumi.core.Output<java.lang.String> clusterVersion)
- Parameters:
clusterVersion- The version of the Amazon Redshift engine software that you want to deploy on the cluster. The version selected runs on all the nodes in the cluster.- Returns:
- builder
-
clusterVersion
public ClusterArgs.Builder clusterVersion(java.lang.String clusterVersion)
- Parameters:
clusterVersion- The version of the Amazon Redshift engine software that you want to deploy on the cluster. The version selected runs on all the nodes in the cluster.- Returns:
- builder
-
databaseName
public ClusterArgs.Builder databaseName(@Nullable com.pulumi.core.Output<java.lang.String> databaseName)
- Parameters:
databaseName- The name of the first database to be created when the cluster is created. If you do not provide a name, Amazon Redshift will create a default database called `dev`.- Returns:
- builder
-
databaseName
public ClusterArgs.Builder databaseName(java.lang.String databaseName)
- Parameters:
databaseName- The name of the first database to be created when the cluster is created. If you do not provide a name, Amazon Redshift will create a default database called `dev`.- Returns:
- builder
-
defaultIamRoleArn
public ClusterArgs.Builder defaultIamRoleArn(@Nullable com.pulumi.core.Output<java.lang.String> defaultIamRoleArn)
- Parameters:
defaultIamRoleArn- ARN for the IAM role that was set as default for the cluster when the cluster was created.- Returns:
- builder
-
defaultIamRoleArn
public ClusterArgs.Builder defaultIamRoleArn(java.lang.String defaultIamRoleArn)
- Parameters:
defaultIamRoleArn- ARN for the IAM role that was set as default for the cluster when the cluster was created.- Returns:
- builder
-
elasticIp
public ClusterArgs.Builder elasticIp(@Nullable com.pulumi.core.Output<java.lang.String> elasticIp)
- Parameters:
elasticIp- The Elastic IP (EIP) address for the cluster.- Returns:
- builder
-
elasticIp
public ClusterArgs.Builder elasticIp(java.lang.String elasticIp)
- Parameters:
elasticIp- The Elastic IP (EIP) address for the cluster.- Returns:
- builder
-
encrypted
public ClusterArgs.Builder encrypted(@Nullable com.pulumi.core.Output<java.lang.String> encrypted)
- Parameters:
encrypted- If true , the data in the cluster is encrypted at rest. Default is `true`.- Returns:
- builder
-
encrypted
public ClusterArgs.Builder encrypted(java.lang.String encrypted)
- Parameters:
encrypted- If true , the data in the cluster is encrypted at rest. Default is `true`.- Returns:
- builder
-
enhancedVpcRouting
public ClusterArgs.Builder enhancedVpcRouting(@Nullable com.pulumi.core.Output<java.lang.Boolean> enhancedVpcRouting)
- Parameters:
enhancedVpcRouting- If true , enhanced VPC routing is enabled.- Returns:
- builder
-
enhancedVpcRouting
public ClusterArgs.Builder enhancedVpcRouting(java.lang.Boolean enhancedVpcRouting)
- Parameters:
enhancedVpcRouting- If true , enhanced VPC routing is enabled.- Returns:
- builder
-
finalSnapshotIdentifier
public ClusterArgs.Builder finalSnapshotIdentifier(@Nullable com.pulumi.core.Output<java.lang.String> finalSnapshotIdentifier)
- Parameters:
finalSnapshotIdentifier- The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, `skipFinalSnapshot` must be false.- Returns:
- builder
-
finalSnapshotIdentifier
public ClusterArgs.Builder finalSnapshotIdentifier(java.lang.String finalSnapshotIdentifier)
- Parameters:
finalSnapshotIdentifier- The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, `skipFinalSnapshot` must be false.- Returns:
- builder
-
iamRoles
public ClusterArgs.Builder iamRoles(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> iamRoles)
- Parameters:
iamRoles- A list of IAM Role ARNs to associate with the cluster. A maximum of 50 (or 10 in ISO regions) can be associated with the cluster at any time.- Returns:
- builder
-
iamRoles
public ClusterArgs.Builder iamRoles(java.util.List<java.lang.String> iamRoles)
- Parameters:
iamRoles- A list of IAM Role ARNs to associate with the cluster. A maximum of 50 (or 10 in ISO regions) can be associated with the cluster at any time.- Returns:
- builder
-
iamRoles
public ClusterArgs.Builder iamRoles(java.lang.String... iamRoles)
- Parameters:
iamRoles- A list of IAM Role ARNs to associate with the cluster. A maximum of 50 (or 10 in ISO regions) can be associated with the cluster at any time.- Returns:
- builder
-
kmsKeyId
public ClusterArgs.Builder kmsKeyId(@Nullable com.pulumi.core.Output<java.lang.String> kmsKeyId)
- Parameters:
kmsKeyId- The ARN for the KMS encryption key. When specifying `kmsKeyId`, `encrypted` needs to be set to true.- Returns:
- builder
-
kmsKeyId
public ClusterArgs.Builder kmsKeyId(java.lang.String kmsKeyId)
- Parameters:
kmsKeyId- The ARN for the KMS encryption key. When specifying `kmsKeyId`, `encrypted` needs to be set to true.- Returns:
- builder
-
maintenanceTrackName
public ClusterArgs.Builder maintenanceTrackName(@Nullable com.pulumi.core.Output<java.lang.String> maintenanceTrackName)
- Parameters:
maintenanceTrackName- The name of the maintenance track for the restored cluster. When you take a snapshot, the snapshot inherits the MaintenanceTrack value from the cluster. The snapshot might be on a different track than the cluster that was the source for the snapshot. For example, suppose that you take a snapshot of a cluster that is on the current track and then change the cluster to be on the trailing track. In this case, the snapshot and the source cluster are on different tracks. Default value is `current`.- Returns:
- builder
-
maintenanceTrackName
public ClusterArgs.Builder maintenanceTrackName(java.lang.String maintenanceTrackName)
- Parameters:
maintenanceTrackName- The name of the maintenance track for the restored cluster. When you take a snapshot, the snapshot inherits the MaintenanceTrack value from the cluster. The snapshot might be on a different track than the cluster that was the source for the snapshot. For example, suppose that you take a snapshot of a cluster that is on the current track and then change the cluster to be on the trailing track. In this case, the snapshot and the source cluster are on different tracks. Default value is `current`.- Returns:
- builder
-
manageMasterPassword
public ClusterArgs.Builder manageMasterPassword(@Nullable com.pulumi.core.Output<java.lang.Boolean> manageMasterPassword)
- Parameters:
manageMasterPassword- Whether to use AWS SecretsManager to manage the cluster admin credentials. Conflicts with `masterPassword` and `masterPasswordWo`. One of `masterPassword` or `manageMasterPassword` is required unless `snapshotIdentifier` is provided.- Returns:
- builder
-
manageMasterPassword
public ClusterArgs.Builder manageMasterPassword(java.lang.Boolean manageMasterPassword)
- Parameters:
manageMasterPassword- Whether to use AWS SecretsManager to manage the cluster admin credentials. Conflicts with `masterPassword` and `masterPasswordWo`. One of `masterPassword` or `manageMasterPassword` is required unless `snapshotIdentifier` is provided.- Returns:
- builder
-
manualSnapshotRetentionPeriod
public ClusterArgs.Builder manualSnapshotRetentionPeriod(@Nullable com.pulumi.core.Output<java.lang.Integer> manualSnapshotRetentionPeriod)
- Parameters:
manualSnapshotRetentionPeriod- The default number of days to retain a manual snapshot. If the value is -1, the snapshot is retained indefinitely. This setting doesn't change the retention period of existing snapshots. Valid values are between `-1` and `3653`. Default value is `-1`.- Returns:
- builder
-
manualSnapshotRetentionPeriod
public ClusterArgs.Builder manualSnapshotRetentionPeriod(java.lang.Integer manualSnapshotRetentionPeriod)
- Parameters:
manualSnapshotRetentionPeriod- The default number of days to retain a manual snapshot. If the value is -1, the snapshot is retained indefinitely. This setting doesn't change the retention period of existing snapshots. Valid values are between `-1` and `3653`. Default value is `-1`.- Returns:
- builder
-
masterPassword
public ClusterArgs.Builder masterPassword(@Nullable com.pulumi.core.Output<java.lang.String> masterPassword)
- Parameters:
masterPassword- Password for the master DB user. Conflicts with `manageMasterPassword` and `masterPasswordWo`. One of `masterPassword`, `masterPasswordWo` or `manageMasterPassword` is required unless `snapshotIdentifier` is provided. Note that this will show up in logs, and it will be stored in the state file. Password must contain at least 8 characters and contain at least one uppercase letter, one lowercase letter, and one number.- Returns:
- builder
-
masterPassword
public ClusterArgs.Builder masterPassword(java.lang.String masterPassword)
- Parameters:
masterPassword- Password for the master DB user. Conflicts with `manageMasterPassword` and `masterPasswordWo`. One of `masterPassword`, `masterPasswordWo` or `manageMasterPassword` is required unless `snapshotIdentifier` is provided. Note that this will show up in logs, and it will be stored in the state file. Password must contain at least 8 characters and contain at least one uppercase letter, one lowercase letter, and one number.- Returns:
- builder
-
masterPasswordSecretKmsKeyId
public ClusterArgs.Builder masterPasswordSecretKmsKeyId(@Nullable com.pulumi.core.Output<java.lang.String> masterPasswordSecretKmsKeyId)
- Parameters:
masterPasswordSecretKmsKeyId- ID of the KMS key used to encrypt the cluster admin credentials secret.- Returns:
- builder
-
masterPasswordSecretKmsKeyId
public ClusterArgs.Builder masterPasswordSecretKmsKeyId(java.lang.String masterPasswordSecretKmsKeyId)
- Parameters:
masterPasswordSecretKmsKeyId- ID of the KMS key used to encrypt the cluster admin credentials secret.- Returns:
- builder
-
masterPasswordWo
public ClusterArgs.Builder masterPasswordWo(@Nullable com.pulumi.core.Output<java.lang.String> masterPasswordWo)
- Parameters:
masterPasswordWo- **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Password for the master DB user. Conflicts with `manageMasterPassword` and `masterPassword`. One of `masterPasswordWo`, `masterPassword` or `manageMasterPassword` is required unless `snapshotIdentifier` is provided. Note that this may show up in logs. Password must contain at least 8 characters and contain at least one uppercase letter, one lowercase letter, and one number. If set, requires `masterPasswordWoVersion` to be set.- Returns:
- builder
-
masterPasswordWo
public ClusterArgs.Builder masterPasswordWo(java.lang.String masterPasswordWo)
- Parameters:
masterPasswordWo- **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Password for the master DB user. Conflicts with `manageMasterPassword` and `masterPassword`. One of `masterPasswordWo`, `masterPassword` or `manageMasterPassword` is required unless `snapshotIdentifier` is provided. Note that this may show up in logs. Password must contain at least 8 characters and contain at least one uppercase letter, one lowercase letter, and one number. If set, requires `masterPasswordWoVersion` to be set.- Returns:
- builder
-
masterPasswordWoVersion
public ClusterArgs.Builder masterPasswordWoVersion(@Nullable com.pulumi.core.Output<java.lang.Integer> masterPasswordWoVersion)
- Parameters:
masterPasswordWoVersion- Required when `masterPasswordWo` is set. Changing this value triggers an update to `masterPasswordWo`.- Returns:
- builder
-
masterPasswordWoVersion
public ClusterArgs.Builder masterPasswordWoVersion(java.lang.Integer masterPasswordWoVersion)
- Parameters:
masterPasswordWoVersion- Required when `masterPasswordWo` is set. Changing this value triggers an update to `masterPasswordWo`.- Returns:
- builder
-
masterUsername
public ClusterArgs.Builder masterUsername(@Nullable com.pulumi.core.Output<java.lang.String> masterUsername)
- Parameters:
masterUsername- Username for the master DB user.- Returns:
- builder
-
masterUsername
public ClusterArgs.Builder masterUsername(java.lang.String masterUsername)
- Parameters:
masterUsername- Username for the master DB user.- Returns:
- builder
-
multiAz
public ClusterArgs.Builder multiAz(@Nullable com.pulumi.core.Output<java.lang.Boolean> multiAz)
- Parameters:
multiAz- Specifies if the Redshift cluster is multi-AZ.- Returns:
- builder
-
multiAz
public ClusterArgs.Builder multiAz(java.lang.Boolean multiAz)
- Parameters:
multiAz- Specifies if the Redshift cluster is multi-AZ.- Returns:
- builder
-
nodeType
public ClusterArgs.Builder nodeType(com.pulumi.core.Output<java.lang.String> nodeType)
- Parameters:
nodeType- The node type to be provisioned for the cluster.- Returns:
- builder
-
nodeType
public ClusterArgs.Builder nodeType(java.lang.String nodeType)
- Parameters:
nodeType- The node type to be provisioned for the cluster.- Returns:
- builder
-
numberOfNodes
public ClusterArgs.Builder numberOfNodes(@Nullable com.pulumi.core.Output<java.lang.Integer> numberOfNodes)
- Parameters:
numberOfNodes- The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node. Default is 1.- Returns:
- builder
-
numberOfNodes
public ClusterArgs.Builder numberOfNodes(java.lang.Integer numberOfNodes)
- Parameters:
numberOfNodes- The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node. Default is 1.- Returns:
- builder
-
ownerAccount
public ClusterArgs.Builder ownerAccount(@Nullable com.pulumi.core.Output<java.lang.String> ownerAccount)
- Parameters:
ownerAccount- The AWS customer account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot.- Returns:
- builder
-
ownerAccount
public ClusterArgs.Builder ownerAccount(java.lang.String ownerAccount)
- Parameters:
ownerAccount- The AWS customer account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot.- Returns:
- builder
-
port
public ClusterArgs.Builder port(@Nullable com.pulumi.core.Output<java.lang.Integer> port)
- Parameters:
port- The port number on which the cluster accepts incoming connections. Valid values are between `1115` and `65535`. The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections. Default port is `5439`.- Returns:
- builder
-
port
public ClusterArgs.Builder port(java.lang.Integer port)
- Parameters:
port- The port number on which the cluster accepts incoming connections. Valid values are between `1115` and `65535`. The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections. Default port is `5439`.- Returns:
- builder
-
preferredMaintenanceWindow
public ClusterArgs.Builder preferredMaintenanceWindow(@Nullable com.pulumi.core.Output<java.lang.String> preferredMaintenanceWindow)
- Parameters:
preferredMaintenanceWindow- The weekly time range (in UTC) during which automated cluster maintenance can occur. Format: ddd:hh24:mi-ddd:hh24:mi- Returns:
- builder
-
preferredMaintenanceWindow
public ClusterArgs.Builder preferredMaintenanceWindow(java.lang.String preferredMaintenanceWindow)
- Parameters:
preferredMaintenanceWindow- The weekly time range (in UTC) during which automated cluster maintenance can occur. Format: ddd:hh24:mi-ddd:hh24:mi- Returns:
- builder
-
publiclyAccessible
public ClusterArgs.Builder publiclyAccessible(@Nullable com.pulumi.core.Output<java.lang.Boolean> publiclyAccessible)
- Parameters:
publiclyAccessible- If true, the cluster can be accessed from a public network. Default is `false`.- Returns:
- builder
-
publiclyAccessible
public ClusterArgs.Builder publiclyAccessible(java.lang.Boolean publiclyAccessible)
- Parameters:
publiclyAccessible- If true, the cluster can be accessed from a public network. Default is `false`.- Returns:
- builder
-
region
public ClusterArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public ClusterArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
skipFinalSnapshot
public ClusterArgs.Builder skipFinalSnapshot(@Nullable com.pulumi.core.Output<java.lang.Boolean> skipFinalSnapshot)
- Parameters:
skipFinalSnapshot- Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If true , a final cluster snapshot is not created. If false , a final cluster snapshot is created before the cluster is deleted. Default is false.- Returns:
- builder
-
skipFinalSnapshot
public ClusterArgs.Builder skipFinalSnapshot(java.lang.Boolean skipFinalSnapshot)
- Parameters:
skipFinalSnapshot- Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If true , a final cluster snapshot is not created. If false , a final cluster snapshot is created before the cluster is deleted. Default is false.- Returns:
- builder
-
snapshotArn
public ClusterArgs.Builder snapshotArn(@Nullable com.pulumi.core.Output<java.lang.String> snapshotArn)
- Parameters:
snapshotArn- The ARN of the snapshot from which to create the new cluster. Conflicts with `snapshotIdentifier`.- Returns:
- builder
-
snapshotArn
public ClusterArgs.Builder snapshotArn(java.lang.String snapshotArn)
- Parameters:
snapshotArn- The ARN of the snapshot from which to create the new cluster. Conflicts with `snapshotIdentifier`.- Returns:
- builder
-
snapshotClusterIdentifier
public ClusterArgs.Builder snapshotClusterIdentifier(@Nullable com.pulumi.core.Output<java.lang.String> snapshotClusterIdentifier)
- Parameters:
snapshotClusterIdentifier- The name of the cluster the source snapshot was created from.- Returns:
- builder
-
snapshotClusterIdentifier
public ClusterArgs.Builder snapshotClusterIdentifier(java.lang.String snapshotClusterIdentifier)
- Parameters:
snapshotClusterIdentifier- The name of the cluster the source snapshot was created from.- Returns:
- builder
-
snapshotIdentifier
public ClusterArgs.Builder snapshotIdentifier(@Nullable com.pulumi.core.Output<java.lang.String> snapshotIdentifier)
- Parameters:
snapshotIdentifier- The name of the snapshot from which to create the new cluster. Conflicts with `snapshotArn`.- Returns:
- builder
-
snapshotIdentifier
public ClusterArgs.Builder snapshotIdentifier(java.lang.String snapshotIdentifier)
- Parameters:
snapshotIdentifier- The name of the snapshot from which to create the new cluster. Conflicts with `snapshotArn`.- Returns:
- builder
-
tags
public ClusterArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. For more detailed documentation about each argument, refer to the [AWS official documentation](http://docs.aws.amazon.com/cli/latest/reference/redshift/index.html#cli-aws-redshift).- Returns:
- builder
-
tags
public ClusterArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. For more detailed documentation about each argument, refer to the [AWS official documentation](http://docs.aws.amazon.com/cli/latest/reference/redshift/index.html#cli-aws-redshift).- Returns:
- builder
-
vpcSecurityGroupIds
public ClusterArgs.Builder vpcSecurityGroupIds(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSecurityGroupIds)
- Parameters:
vpcSecurityGroupIds- List of VPC security groups to be associated with the cluster.- Returns:
- builder
-
vpcSecurityGroupIds
public ClusterArgs.Builder vpcSecurityGroupIds(java.util.List<java.lang.String> vpcSecurityGroupIds)
- Parameters:
vpcSecurityGroupIds- List of VPC security groups to be associated with the cluster.- Returns:
- builder
-
vpcSecurityGroupIds
public ClusterArgs.Builder vpcSecurityGroupIds(java.lang.String... vpcSecurityGroupIds)
- Parameters:
vpcSecurityGroupIds- List of VPC security groups to be associated with the cluster.- Returns:
- builder
-
build
public ClusterArgs build()
-
-