Class GlobalClusterState.Builder

  • Enclosing class:
    GlobalClusterState

    public static final class GlobalClusterState.Builder
    extends java.lang.Object
    • Method Detail

      • arn

        public GlobalClusterState.Builder arn​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - RDS Global Cluster Amazon Resource Name (ARN)
        Returns:
        builder
      • arn

        public GlobalClusterState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - RDS Global Cluster Amazon Resource Name (ARN)
        Returns:
        builder
      • databaseName

        public GlobalClusterState.Builder databaseName​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> databaseName)
        Parameters:
        databaseName - Name for an automatically created database on cluster creation.
        Returns:
        builder
      • databaseName

        public GlobalClusterState.Builder databaseName​(java.lang.String databaseName)
        Parameters:
        databaseName - Name for an automatically created database on cluster creation.
        Returns:
        builder
      • deletionProtection

        public GlobalClusterState.Builder deletionProtection​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> deletionProtection)
        Parameters:
        deletionProtection - If the Global Cluster should have deletion protection enabled. The database can't be deleted when this value is set to `true`. The default is `false`.
        Returns:
        builder
      • deletionProtection

        public GlobalClusterState.Builder deletionProtection​(java.lang.Boolean deletionProtection)
        Parameters:
        deletionProtection - If the Global Cluster should have deletion protection enabled. The database can't be deleted when this value is set to `true`. The default is `false`.
        Returns:
        builder
      • engine

        public GlobalClusterState.Builder engine​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> engine)
        Parameters:
        engine - Name of the database engine to be used for this DB cluster. The provider will only perform drift detection if a configuration value is provided. Valid values: `aurora`, `aurora-mysql`, `aurora-postgresql`. Defaults to `aurora`. Conflicts with `source_db_cluster_identifier`.
        Returns:
        builder
      • engine

        public GlobalClusterState.Builder engine​(java.lang.String engine)
        Parameters:
        engine - Name of the database engine to be used for this DB cluster. The provider will only perform drift detection if a configuration value is provided. Valid values: `aurora`, `aurora-mysql`, `aurora-postgresql`. Defaults to `aurora`. Conflicts with `source_db_cluster_identifier`.
        Returns:
        builder
      • engineVersion

        public GlobalClusterState.Builder engineVersion​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> engineVersion)
        Parameters:
        engineVersion - Engine version of the Aurora global database. The `engine`, `engine_version`, and `instance_class` (on the `aws.rds.ClusterInstance`) must together support global databases. See [Using Amazon Aurora global databases](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html) for more information. By upgrading the engine version, the provider will upgrade cluster members. **NOTE:** To avoid an `inconsistent final plan` error while upgrading, use the `lifecycle` `ignore_changes` for `engine_version` meta argument on the associated `aws.rds.Cluster` resource as shown above in Upgrading Engine Versions example.
        Returns:
        builder
      • engineVersion

        public GlobalClusterState.Builder engineVersion​(java.lang.String engineVersion)
        Parameters:
        engineVersion - Engine version of the Aurora global database. The `engine`, `engine_version`, and `instance_class` (on the `aws.rds.ClusterInstance`) must together support global databases. See [Using Amazon Aurora global databases](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html) for more information. By upgrading the engine version, the provider will upgrade cluster members. **NOTE:** To avoid an `inconsistent final plan` error while upgrading, use the `lifecycle` `ignore_changes` for `engine_version` meta argument on the associated `aws.rds.Cluster` resource as shown above in Upgrading Engine Versions example.
        Returns:
        builder
      • engineVersionActual

        public GlobalClusterState.Builder engineVersionActual​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> engineVersionActual)
      • forceDestroy

        public GlobalClusterState.Builder forceDestroy​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Boolean> forceDestroy)
        Parameters:
        forceDestroy - Enable to remove DB Cluster members from Global Cluster on destroy. Required with `source_db_cluster_identifier`.
        Returns:
        builder
      • forceDestroy

        public GlobalClusterState.Builder forceDestroy​(java.lang.Boolean forceDestroy)
        Parameters:
        forceDestroy - Enable to remove DB Cluster members from Global Cluster on destroy. Required with `source_db_cluster_identifier`.
        Returns:
        builder
      • globalClusterIdentifier

        public GlobalClusterState.Builder globalClusterIdentifier​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> globalClusterIdentifier)
        Parameters:
        globalClusterIdentifier - Global cluster identifier.
        Returns:
        builder
      • globalClusterIdentifier

        public GlobalClusterState.Builder globalClusterIdentifier​(java.lang.String globalClusterIdentifier)
        Parameters:
        globalClusterIdentifier - Global cluster identifier.
        Returns:
        builder
      • globalClusterResourceId

        public GlobalClusterState.Builder globalClusterResourceId​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> globalClusterResourceId)
        Parameters:
        globalClusterResourceId - AWS Region-unique, immutable identifier for the global database cluster. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB cluster is accessed
        Returns:
        builder
      • globalClusterResourceId

        public GlobalClusterState.Builder globalClusterResourceId​(java.lang.String globalClusterResourceId)
        Parameters:
        globalClusterResourceId - AWS Region-unique, immutable identifier for the global database cluster. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB cluster is accessed
        Returns:
        builder
      • sourceDbClusterIdentifier

        public GlobalClusterState.Builder sourceDbClusterIdentifier​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.String> sourceDbClusterIdentifier)
        Parameters:
        sourceDbClusterIdentifier - Amazon Resource Name (ARN) to use as the primary DB Cluster of the Global Cluster on creation. The provider cannot perform drift detection of this value.
        Returns:
        builder
      • sourceDbClusterIdentifier

        public GlobalClusterState.Builder sourceDbClusterIdentifier​(java.lang.String sourceDbClusterIdentifier)
        Parameters:
        sourceDbClusterIdentifier - Amazon Resource Name (ARN) to use as the primary DB Cluster of the Global Cluster on creation. The provider cannot perform drift detection of this value.
        Returns:
        builder
      • storageEncrypted

        public GlobalClusterState.Builder storageEncrypted​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Boolean> storageEncrypted)
        Parameters:
        storageEncrypted - Specifies whether the DB cluster is encrypted. The default is `false` unless `source_db_cluster_identifier` is specified and encrypted. The provider will only perform drift detection if a configuration value is provided.
        Returns:
        builder
      • storageEncrypted

        public GlobalClusterState.Builder storageEncrypted​(java.lang.Boolean storageEncrypted)
        Parameters:
        storageEncrypted - Specifies whether the DB cluster is encrypted. The default is `false` unless `source_db_cluster_identifier` is specified and encrypted. The provider will only perform drift detection if a configuration value is provided.
        Returns:
        builder