Class ClusterState.Builder

  • Enclosing class:
    ClusterState

    public static final class ClusterState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • allowVersionUpgrade

        public ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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
      • arn

        public ClusterState.Builder arn​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of cluster
        Returns:
        builder
      • arn

        public ClusterState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of cluster
        Returns:
        builder
      • automatedSnapshotRetentionPeriod

        public ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.Builder clusterIdentifier​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> clusterIdentifier)
        Parameters:
        clusterIdentifier - The Cluster Identifier. Must be a lower case string.
        Returns:
        builder
      • clusterIdentifier

        public ClusterState.Builder clusterIdentifier​(java.lang.String clusterIdentifier)
        Parameters:
        clusterIdentifier - The Cluster Identifier. Must be a lower case string.
        Returns:
        builder
      • clusterNamespaceArn

        public ClusterState.Builder clusterNamespaceArn​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> clusterNamespaceArn)
        Parameters:
        clusterNamespaceArn - Namespace ARN of the cluster
        Returns:
        builder
      • clusterNamespaceArn

        public ClusterState.Builder clusterNamespaceArn​(java.lang.String clusterNamespaceArn)
        Parameters:
        clusterNamespaceArn - Namespace ARN of the cluster
        Returns:
        builder
      • clusterNodes

        public ClusterState.Builder clusterNodes​(@Nullable
                                                 com.pulumi.core.Output<java.util.List<ClusterClusterNodeArgs>> clusterNodes)
        Parameters:
        clusterNodes - The nodes in the cluster. Cluster node blocks are documented below
        Returns:
        builder
      • clusterNodes

        public ClusterState.Builder clusterNodes​(java.util.List<ClusterClusterNodeArgs> clusterNodes)
        Parameters:
        clusterNodes - The nodes in the cluster. Cluster node blocks are documented below
        Returns:
        builder
      • clusterNodes

        public ClusterState.Builder clusterNodes​(ClusterClusterNodeArgs... clusterNodes)
        Parameters:
        clusterNodes - The nodes in the cluster. Cluster node blocks are documented below
        Returns:
        builder
      • clusterParameterGroupName

        public ClusterState.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 ClusterState.Builder clusterParameterGroupName​(java.lang.String clusterParameterGroupName)
        Parameters:
        clusterParameterGroupName - The name of the parameter group to be associated with this cluster.
        Returns:
        builder
      • clusterPublicKey

        public ClusterState.Builder clusterPublicKey​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> clusterPublicKey)
        Parameters:
        clusterPublicKey - The public key for the cluster
        Returns:
        builder
      • clusterPublicKey

        public ClusterState.Builder clusterPublicKey​(java.lang.String clusterPublicKey)
        Parameters:
        clusterPublicKey - The public key for the cluster
        Returns:
        builder
      • clusterRevisionNumber

        public ClusterState.Builder clusterRevisionNumber​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> clusterRevisionNumber)
        Parameters:
        clusterRevisionNumber - The specific revision number of the database in the cluster
        Returns:
        builder
      • clusterRevisionNumber

        public ClusterState.Builder clusterRevisionNumber​(java.lang.String clusterRevisionNumber)
        Parameters:
        clusterRevisionNumber - The specific revision number of the database in the cluster
        Returns:
        builder
      • clusterSubnetGroupName

        public ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.Builder clusterType​(java.lang.String clusterType)
        Parameters:
        clusterType - The cluster type to use. Either `single-node` or `multi-node`.
        Returns:
        builder
      • clusterVersion

        public ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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
      • dnsName

        public ClusterState.Builder dnsName​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> dnsName)
        Parameters:
        dnsName - The DNS name of the cluster
        Returns:
        builder
      • dnsName

        public ClusterState.Builder dnsName​(java.lang.String dnsName)
        Parameters:
        dnsName - The DNS name of the cluster
        Returns:
        builder
      • elasticIp

        public ClusterState.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 ClusterState.Builder elasticIp​(java.lang.String elasticIp)
        Parameters:
        elasticIp - The Elastic IP (EIP) address for the cluster.
        Returns:
        builder
      • encrypted

        public ClusterState.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 ClusterState.Builder encrypted​(java.lang.String encrypted)
        Parameters:
        encrypted - If true , the data in the cluster is encrypted at rest. Default is `true`.
        Returns:
        builder
      • endpoint

        public ClusterState.Builder endpoint​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> endpoint)
        Parameters:
        endpoint - The connection endpoint
        Returns:
        builder
      • endpoint

        public ClusterState.Builder endpoint​(java.lang.String endpoint)
        Parameters:
        endpoint - The connection endpoint
        Returns:
        builder
      • enhancedVpcRouting

        public ClusterState.Builder enhancedVpcRouting​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Boolean> enhancedVpcRouting)
        Parameters:
        enhancedVpcRouting - If true , enhanced VPC routing is enabled.
        Returns:
        builder
      • enhancedVpcRouting

        public ClusterState.Builder enhancedVpcRouting​(java.lang.Boolean enhancedVpcRouting)
        Parameters:
        enhancedVpcRouting - If true , enhanced VPC routing is enabled.
        Returns:
        builder
      • finalSnapshotIdentifier

        public ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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
      • masterPasswordSecretArn

        public ClusterState.Builder masterPasswordSecretArn​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> masterPasswordSecretArn)
        Parameters:
        masterPasswordSecretArn - ARN of the cluster admin credentials secret
        Returns:
        builder
      • masterPasswordSecretArn

        public ClusterState.Builder masterPasswordSecretArn​(java.lang.String masterPasswordSecretArn)
        Parameters:
        masterPasswordSecretArn - ARN of the cluster admin credentials secret
        Returns:
        builder
      • masterPasswordSecretKmsKeyId

        public ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.Builder masterUsername​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> masterUsername)
        Parameters:
        masterUsername - Username for the master DB user.
        Returns:
        builder
      • masterUsername

        public ClusterState.Builder masterUsername​(java.lang.String masterUsername)
        Parameters:
        masterUsername - Username for the master DB user.
        Returns:
        builder
      • multiAz

        public ClusterState.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 ClusterState.Builder multiAz​(java.lang.Boolean multiAz)
        Parameters:
        multiAz - Specifies if the Redshift cluster is multi-AZ.
        Returns:
        builder
      • nodeType

        public ClusterState.Builder nodeType​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> nodeType)
        Parameters:
        nodeType - The node type to be provisioned for the cluster.
        Returns:
        builder
      • nodeType

        public ClusterState.Builder nodeType​(java.lang.String nodeType)
        Parameters:
        nodeType - The node type to be provisioned for the cluster.
        Returns:
        builder
      • numberOfNodes

        public ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.Builder snapshotClusterIdentifier​(java.lang.String snapshotClusterIdentifier)
        Parameters:
        snapshotClusterIdentifier - The name of the cluster the source snapshot was created from.
        Returns:
        builder
      • snapshotIdentifier

        public ClusterState.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 ClusterState.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 ClusterState.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 ClusterState.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
      • tagsAll

        public ClusterState.Builder tagsAll​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public ClusterState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • vpcSecurityGroupIds

        public ClusterState.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 ClusterState.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 ClusterState.Builder vpcSecurityGroupIds​(java.lang.String... vpcSecurityGroupIds)
        Parameters:
        vpcSecurityGroupIds - List of VPC security groups to be associated with the cluster.
        Returns:
        builder