Package com.pulumi.aws.docdb
Class GlobalClusterArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.docdb.GlobalClusterArgs.Builder
-
- Enclosing class:
- GlobalClusterArgs
public static final class GlobalClusterArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GlobalClusterArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GlobalClusterArgsbuild()GlobalClusterArgs.BuilderdatabaseName(com.pulumi.core.Output<java.lang.String> databaseName)GlobalClusterArgs.BuilderdatabaseName(java.lang.String databaseName)GlobalClusterArgs.BuilderdeletionProtection(com.pulumi.core.Output<java.lang.Boolean> deletionProtection)GlobalClusterArgs.BuilderdeletionProtection(java.lang.Boolean deletionProtection)GlobalClusterArgs.Builderengine(com.pulumi.core.Output<java.lang.String> engine)GlobalClusterArgs.Builderengine(java.lang.String engine)GlobalClusterArgs.BuilderengineVersion(com.pulumi.core.Output<java.lang.String> engineVersion)GlobalClusterArgs.BuilderengineVersion(java.lang.String engineVersion)GlobalClusterArgs.BuilderglobalClusterIdentifier(com.pulumi.core.Output<java.lang.String> globalClusterIdentifier)GlobalClusterArgs.BuilderglobalClusterIdentifier(java.lang.String globalClusterIdentifier)GlobalClusterArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)GlobalClusterArgs.Builderregion(java.lang.String region)GlobalClusterArgs.BuildersourceDbClusterIdentifier(com.pulumi.core.Output<java.lang.String> sourceDbClusterIdentifier)GlobalClusterArgs.BuildersourceDbClusterIdentifier(java.lang.String sourceDbClusterIdentifier)GlobalClusterArgs.BuilderstorageEncrypted(com.pulumi.core.Output<java.lang.Boolean> storageEncrypted)GlobalClusterArgs.BuilderstorageEncrypted(java.lang.Boolean storageEncrypted)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GlobalClusterArgs defaults)
-
-
Method Detail
-
databaseName
public GlobalClusterArgs.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 GlobalClusterArgs.Builder databaseName(java.lang.String databaseName)
- Parameters:
databaseName- Name for an automatically created database on cluster creation.- Returns:
- builder
-
deletionProtection
public GlobalClusterArgs.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 GlobalClusterArgs.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 GlobalClusterArgs.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. Current Valid values: `docdb`. Defaults to `docdb`. Conflicts with `sourceDbClusterIdentifier`.- Returns:
- builder
-
engine
public GlobalClusterArgs.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. Current Valid values: `docdb`. Defaults to `docdb`. Conflicts with `sourceDbClusterIdentifier`.- Returns:
- builder
-
engineVersion
public GlobalClusterArgs.Builder engineVersion(@Nullable com.pulumi.core.Output<java.lang.String> engineVersion)
- Parameters:
engineVersion- Engine version of the global database. Upgrading the engine version will result in all cluster members being immediately updated and will. * **NOTE:** Upgrading major versions is not supported.- Returns:
- builder
-
engineVersion
public GlobalClusterArgs.Builder engineVersion(java.lang.String engineVersion)
- Parameters:
engineVersion- Engine version of the global database. Upgrading the engine version will result in all cluster members being immediately updated and will. * **NOTE:** Upgrading major versions is not supported.- Returns:
- builder
-
globalClusterIdentifier
public GlobalClusterArgs.Builder globalClusterIdentifier(com.pulumi.core.Output<java.lang.String> globalClusterIdentifier)
- Parameters:
globalClusterIdentifier- The global cluster identifier.- Returns:
- builder
-
globalClusterIdentifier
public GlobalClusterArgs.Builder globalClusterIdentifier(java.lang.String globalClusterIdentifier)
- Parameters:
globalClusterIdentifier- The global cluster identifier.- Returns:
- builder
-
region
public GlobalClusterArgs.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 GlobalClusterArgs.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
-
sourceDbClusterIdentifier
public GlobalClusterArgs.Builder sourceDbClusterIdentifier(@Nullable com.pulumi.core.Output<java.lang.String> sourceDbClusterIdentifier)
- Parameters:
sourceDbClusterIdentifier- ARN to use as the primary DB Cluster of the Global Cluster on creation. Pulumi cannot perform drift detection of this value.- Returns:
- builder
-
sourceDbClusterIdentifier
public GlobalClusterArgs.Builder sourceDbClusterIdentifier(java.lang.String sourceDbClusterIdentifier)
- Parameters:
sourceDbClusterIdentifier- ARN to use as the primary DB Cluster of the Global Cluster on creation. Pulumi cannot perform drift detection of this value.- Returns:
- builder
-
storageEncrypted
public GlobalClusterArgs.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 `sourceDbClusterIdentifier` is specified and encrypted. The provider will only perform drift detection if a configuration value is provided.- Returns:
- builder
-
storageEncrypted
public GlobalClusterArgs.Builder storageEncrypted(java.lang.Boolean storageEncrypted)
- Parameters:
storageEncrypted- Specifies whether the DB cluster is encrypted. The default is `false` unless `sourceDbClusterIdentifier` is specified and encrypted. The provider will only perform drift detection if a configuration value is provided.- Returns:
- builder
-
build
public GlobalClusterArgs build()
-
-