Package com.pulumi.aws.rds.inputs
Class GlobalClusterState.Builder
- java.lang.Object
-
- com.pulumi.aws.rds.inputs.GlobalClusterState.Builder
-
- Enclosing class:
- GlobalClusterState
public static final class GlobalClusterState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(GlobalClusterState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GlobalClusterState.Builder
arn(com.pulumi.core.Output<java.lang.String> arn)
GlobalClusterState.Builder
arn(java.lang.String arn)
GlobalClusterState
build()
GlobalClusterState.Builder
databaseName(com.pulumi.core.Output<java.lang.String> databaseName)
GlobalClusterState.Builder
databaseName(java.lang.String databaseName)
GlobalClusterState.Builder
deletionProtection(com.pulumi.core.Output<java.lang.Boolean> deletionProtection)
GlobalClusterState.Builder
deletionProtection(java.lang.Boolean deletionProtection)
GlobalClusterState.Builder
engine(com.pulumi.core.Output<java.lang.String> engine)
GlobalClusterState.Builder
engine(java.lang.String engine)
GlobalClusterState.Builder
engineVersion(com.pulumi.core.Output<java.lang.String> engineVersion)
GlobalClusterState.Builder
engineVersion(java.lang.String engineVersion)
GlobalClusterState.Builder
engineVersionActual(com.pulumi.core.Output<java.lang.String> engineVersionActual)
GlobalClusterState.Builder
engineVersionActual(java.lang.String engineVersionActual)
GlobalClusterState.Builder
forceDestroy(com.pulumi.core.Output<java.lang.Boolean> forceDestroy)
GlobalClusterState.Builder
forceDestroy(java.lang.Boolean forceDestroy)
GlobalClusterState.Builder
globalClusterIdentifier(com.pulumi.core.Output<java.lang.String> globalClusterIdentifier)
GlobalClusterState.Builder
globalClusterIdentifier(java.lang.String globalClusterIdentifier)
GlobalClusterState.Builder
globalClusterMembers(GlobalClusterGlobalClusterMemberArgs... globalClusterMembers)
GlobalClusterState.Builder
globalClusterMembers(com.pulumi.core.Output<java.util.List<GlobalClusterGlobalClusterMemberArgs>> globalClusterMembers)
GlobalClusterState.Builder
globalClusterMembers(java.util.List<GlobalClusterGlobalClusterMemberArgs> globalClusterMembers)
GlobalClusterState.Builder
globalClusterResourceId(com.pulumi.core.Output<java.lang.String> globalClusterResourceId)
GlobalClusterState.Builder
globalClusterResourceId(java.lang.String globalClusterResourceId)
GlobalClusterState.Builder
sourceDbClusterIdentifier(com.pulumi.core.Output<java.lang.String> sourceDbClusterIdentifier)
GlobalClusterState.Builder
sourceDbClusterIdentifier(java.lang.String sourceDbClusterIdentifier)
GlobalClusterState.Builder
storageEncrypted(com.pulumi.core.Output<java.lang.Boolean> storageEncrypted)
GlobalClusterState.Builder
storageEncrypted(java.lang.Boolean storageEncrypted)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GlobalClusterState defaults)
-
-
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)
-
engineVersionActual
public GlobalClusterState.Builder engineVersionActual(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
-
globalClusterMembers
public GlobalClusterState.Builder globalClusterMembers(@Nullable com.pulumi.core.Output<java.util.List<GlobalClusterGlobalClusterMemberArgs>> globalClusterMembers)
- Parameters:
globalClusterMembers
- Set of objects containing Global Cluster members.- Returns:
- builder
-
globalClusterMembers
public GlobalClusterState.Builder globalClusterMembers(java.util.List<GlobalClusterGlobalClusterMemberArgs> globalClusterMembers)
- Parameters:
globalClusterMembers
- Set of objects containing Global Cluster members.- Returns:
- builder
-
globalClusterMembers
public GlobalClusterState.Builder globalClusterMembers(GlobalClusterGlobalClusterMemberArgs... globalClusterMembers)
- Parameters:
globalClusterMembers
- Set of objects containing Global Cluster members.- 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
-
build
public GlobalClusterState build()
-
-