Package com.pulumi.aws.rds.inputs
Class ClusterInstanceState.Builder
- java.lang.Object
-
- com.pulumi.aws.rds.inputs.ClusterInstanceState.Builder
-
- Enclosing class:
- ClusterInstanceState
public static final class ClusterInstanceState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ClusterInstanceState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ClusterInstanceState.Builder
applyImmediately(com.pulumi.core.Output<java.lang.Boolean> applyImmediately)
ClusterInstanceState.Builder
applyImmediately(java.lang.Boolean applyImmediately)
ClusterInstanceState.Builder
arn(com.pulumi.core.Output<java.lang.String> arn)
ClusterInstanceState.Builder
arn(java.lang.String arn)
ClusterInstanceState.Builder
autoMinorVersionUpgrade(com.pulumi.core.Output<java.lang.Boolean> autoMinorVersionUpgrade)
ClusterInstanceState.Builder
autoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
ClusterInstanceState.Builder
availabilityZone(com.pulumi.core.Output<java.lang.String> availabilityZone)
ClusterInstanceState.Builder
availabilityZone(java.lang.String availabilityZone)
ClusterInstanceState
build()
ClusterInstanceState.Builder
caCertIdentifier(com.pulumi.core.Output<java.lang.String> caCertIdentifier)
ClusterInstanceState.Builder
caCertIdentifier(java.lang.String caCertIdentifier)
ClusterInstanceState.Builder
clusterIdentifier(com.pulumi.core.Output<java.lang.String> clusterIdentifier)
ClusterInstanceState.Builder
clusterIdentifier(java.lang.String clusterIdentifier)
ClusterInstanceState.Builder
copyTagsToSnapshot(com.pulumi.core.Output<java.lang.Boolean> copyTagsToSnapshot)
ClusterInstanceState.Builder
copyTagsToSnapshot(java.lang.Boolean copyTagsToSnapshot)
ClusterInstanceState.Builder
customIamInstanceProfile(com.pulumi.core.Output<java.lang.String> customIamInstanceProfile)
ClusterInstanceState.Builder
customIamInstanceProfile(java.lang.String customIamInstanceProfile)
ClusterInstanceState.Builder
dbiResourceId(com.pulumi.core.Output<java.lang.String> dbiResourceId)
ClusterInstanceState.Builder
dbiResourceId(java.lang.String dbiResourceId)
ClusterInstanceState.Builder
dbParameterGroupName(com.pulumi.core.Output<java.lang.String> dbParameterGroupName)
ClusterInstanceState.Builder
dbParameterGroupName(java.lang.String dbParameterGroupName)
ClusterInstanceState.Builder
dbSubnetGroupName(com.pulumi.core.Output<java.lang.String> dbSubnetGroupName)
ClusterInstanceState.Builder
dbSubnetGroupName(java.lang.String dbSubnetGroupName)
ClusterInstanceState.Builder
endpoint(com.pulumi.core.Output<java.lang.String> endpoint)
ClusterInstanceState.Builder
endpoint(java.lang.String endpoint)
ClusterInstanceState.Builder
engine(com.pulumi.core.Output<java.lang.String> engine)
ClusterInstanceState.Builder
engine(java.lang.String engine)
ClusterInstanceState.Builder
engineVersion(com.pulumi.core.Output<java.lang.String> engineVersion)
ClusterInstanceState.Builder
engineVersion(java.lang.String engineVersion)
ClusterInstanceState.Builder
engineVersionActual(com.pulumi.core.Output<java.lang.String> engineVersionActual)
ClusterInstanceState.Builder
engineVersionActual(java.lang.String engineVersionActual)
ClusterInstanceState.Builder
identifier(com.pulumi.core.Output<java.lang.String> identifier)
ClusterInstanceState.Builder
identifier(java.lang.String identifier)
ClusterInstanceState.Builder
identifierPrefix(com.pulumi.core.Output<java.lang.String> identifierPrefix)
ClusterInstanceState.Builder
identifierPrefix(java.lang.String identifierPrefix)
ClusterInstanceState.Builder
instanceClass(InstanceType instanceClass)
ClusterInstanceState.Builder
instanceClass(com.pulumi.core.Either<java.lang.String,InstanceType> instanceClass)
ClusterInstanceState.Builder
instanceClass(com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,InstanceType>> instanceClass)
ClusterInstanceState.Builder
instanceClass(java.lang.String instanceClass)
ClusterInstanceState.Builder
kmsKeyId(com.pulumi.core.Output<java.lang.String> kmsKeyId)
ClusterInstanceState.Builder
kmsKeyId(java.lang.String kmsKeyId)
ClusterInstanceState.Builder
monitoringInterval(com.pulumi.core.Output<java.lang.Integer> monitoringInterval)
ClusterInstanceState.Builder
monitoringInterval(java.lang.Integer monitoringInterval)
ClusterInstanceState.Builder
monitoringRoleArn(com.pulumi.core.Output<java.lang.String> monitoringRoleArn)
ClusterInstanceState.Builder
monitoringRoleArn(java.lang.String monitoringRoleArn)
ClusterInstanceState.Builder
networkType(com.pulumi.core.Output<java.lang.String> networkType)
ClusterInstanceState.Builder
networkType(java.lang.String networkType)
ClusterInstanceState.Builder
performanceInsightsEnabled(com.pulumi.core.Output<java.lang.Boolean> performanceInsightsEnabled)
ClusterInstanceState.Builder
performanceInsightsEnabled(java.lang.Boolean performanceInsightsEnabled)
ClusterInstanceState.Builder
performanceInsightsKmsKeyId(com.pulumi.core.Output<java.lang.String> performanceInsightsKmsKeyId)
ClusterInstanceState.Builder
performanceInsightsKmsKeyId(java.lang.String performanceInsightsKmsKeyId)
ClusterInstanceState.Builder
performanceInsightsRetentionPeriod(com.pulumi.core.Output<java.lang.Integer> performanceInsightsRetentionPeriod)
ClusterInstanceState.Builder
performanceInsightsRetentionPeriod(java.lang.Integer performanceInsightsRetentionPeriod)
ClusterInstanceState.Builder
port(com.pulumi.core.Output<java.lang.Integer> port)
ClusterInstanceState.Builder
port(java.lang.Integer port)
ClusterInstanceState.Builder
preferredBackupWindow(com.pulumi.core.Output<java.lang.String> preferredBackupWindow)
ClusterInstanceState.Builder
preferredBackupWindow(java.lang.String preferredBackupWindow)
ClusterInstanceState.Builder
preferredMaintenanceWindow(com.pulumi.core.Output<java.lang.String> preferredMaintenanceWindow)
ClusterInstanceState.Builder
preferredMaintenanceWindow(java.lang.String preferredMaintenanceWindow)
ClusterInstanceState.Builder
promotionTier(com.pulumi.core.Output<java.lang.Integer> promotionTier)
ClusterInstanceState.Builder
promotionTier(java.lang.Integer promotionTier)
ClusterInstanceState.Builder
publiclyAccessible(com.pulumi.core.Output<java.lang.Boolean> publiclyAccessible)
ClusterInstanceState.Builder
publiclyAccessible(java.lang.Boolean publiclyAccessible)
ClusterInstanceState.Builder
storageEncrypted(com.pulumi.core.Output<java.lang.Boolean> storageEncrypted)
ClusterInstanceState.Builder
storageEncrypted(java.lang.Boolean storageEncrypted)
ClusterInstanceState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
ClusterInstanceState.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
ClusterInstanceState.Builder
tagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.ClusterInstanceState.Builder
tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.ClusterInstanceState.Builder
writer(com.pulumi.core.Output<java.lang.Boolean> writer)
ClusterInstanceState.Builder
writer(java.lang.Boolean writer)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ClusterInstanceState defaults)
-
-
Method Detail
-
applyImmediately
public ClusterInstanceState.Builder applyImmediately(@Nullable com.pulumi.core.Output<java.lang.Boolean> applyImmediately)
- Parameters:
applyImmediately
- Specifies whether any database modifications are applied immediately, or during the next maintenance window. Default is`false`.- Returns:
- builder
-
applyImmediately
public ClusterInstanceState.Builder applyImmediately(java.lang.Boolean applyImmediately)
- Parameters:
applyImmediately
- Specifies whether any database modifications are applied immediately, or during the next maintenance window. Default is`false`.- Returns:
- builder
-
arn
public ClusterInstanceState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn
- Amazon Resource Name (ARN) of cluster instance- Returns:
- builder
-
arn
public ClusterInstanceState.Builder arn(java.lang.String arn)
- Parameters:
arn
- Amazon Resource Name (ARN) of cluster instance- Returns:
- builder
-
autoMinorVersionUpgrade
public ClusterInstanceState.Builder autoMinorVersionUpgrade(@Nullable com.pulumi.core.Output<java.lang.Boolean> autoMinorVersionUpgrade)
- Parameters:
autoMinorVersionUpgrade
- Indicates that minor engine upgrades will be applied automatically to the DB instance during the maintenance window. Default `true`.- Returns:
- builder
-
autoMinorVersionUpgrade
public ClusterInstanceState.Builder autoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
- Parameters:
autoMinorVersionUpgrade
- Indicates that minor engine upgrades will be applied automatically to the DB instance during the maintenance window. Default `true`.- Returns:
- builder
-
availabilityZone
public ClusterInstanceState.Builder availabilityZone(@Nullable com.pulumi.core.Output<java.lang.String> availabilityZone)
- Parameters:
availabilityZone
- EC2 Availability Zone that the DB instance is created in. See [docs](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html) about the details.- Returns:
- builder
-
availabilityZone
public ClusterInstanceState.Builder availabilityZone(java.lang.String availabilityZone)
- Parameters:
availabilityZone
- EC2 Availability Zone that the DB instance is created in. See [docs](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html) about the details.- Returns:
- builder
-
caCertIdentifier
public ClusterInstanceState.Builder caCertIdentifier(@Nullable com.pulumi.core.Output<java.lang.String> caCertIdentifier)
- Parameters:
caCertIdentifier
- Identifier of the CA certificate for the DB instance.- Returns:
- builder
-
caCertIdentifier
public ClusterInstanceState.Builder caCertIdentifier(java.lang.String caCertIdentifier)
- Parameters:
caCertIdentifier
- Identifier of the CA certificate for the DB instance.- Returns:
- builder
-
clusterIdentifier
public ClusterInstanceState.Builder clusterIdentifier(@Nullable com.pulumi.core.Output<java.lang.String> clusterIdentifier)
- Parameters:
clusterIdentifier
- Identifier of the `aws.rds.Cluster` in which to launch this instance.- Returns:
- builder
-
clusterIdentifier
public ClusterInstanceState.Builder clusterIdentifier(java.lang.String clusterIdentifier)
- Parameters:
clusterIdentifier
- Identifier of the `aws.rds.Cluster` in which to launch this instance.- Returns:
- builder
-
copyTagsToSnapshot
public ClusterInstanceState.Builder copyTagsToSnapshot(@Nullable com.pulumi.core.Output<java.lang.Boolean> copyTagsToSnapshot)
- Parameters:
copyTagsToSnapshot
- Indicates whether to copy all of the user-defined tags from the DB instance to snapshots of the DB instance. Default `false`.- Returns:
- builder
-
copyTagsToSnapshot
public ClusterInstanceState.Builder copyTagsToSnapshot(java.lang.Boolean copyTagsToSnapshot)
- Parameters:
copyTagsToSnapshot
- Indicates whether to copy all of the user-defined tags from the DB instance to snapshots of the DB instance. Default `false`.- Returns:
- builder
-
customIamInstanceProfile
public ClusterInstanceState.Builder customIamInstanceProfile(@Nullable com.pulumi.core.Output<java.lang.String> customIamInstanceProfile)
- Parameters:
customIamInstanceProfile
- Instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance.- Returns:
- builder
-
customIamInstanceProfile
public ClusterInstanceState.Builder customIamInstanceProfile(java.lang.String customIamInstanceProfile)
- Parameters:
customIamInstanceProfile
- Instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance.- Returns:
- builder
-
dbParameterGroupName
public ClusterInstanceState.Builder dbParameterGroupName(@Nullable com.pulumi.core.Output<java.lang.String> dbParameterGroupName)
- Parameters:
dbParameterGroupName
- Name of the DB parameter group to associate with this instance.- Returns:
- builder
-
dbParameterGroupName
public ClusterInstanceState.Builder dbParameterGroupName(java.lang.String dbParameterGroupName)
- Parameters:
dbParameterGroupName
- Name of the DB parameter group to associate with this instance.- Returns:
- builder
-
dbSubnetGroupName
public ClusterInstanceState.Builder dbSubnetGroupName(@Nullable com.pulumi.core.Output<java.lang.String> dbSubnetGroupName)
- Parameters:
dbSubnetGroupName
- Specifies the DB subnet group to associate with this DB instance. The default behavior varies depending on whether `db_subnet_group_name` is specified. Please refer to official [AWS documentation](https://docs.aws.amazon.com/cli/latest/reference/rds/create-db-instance.html) to understand how `db_subnet_group_name` and `publicly_accessible` parameters affect DB instance behaviour. **NOTE:** This must match the `db_subnet_group_name` of the attached `aws.rds.Cluster`.- Returns:
- builder
-
dbSubnetGroupName
public ClusterInstanceState.Builder dbSubnetGroupName(java.lang.String dbSubnetGroupName)
- Parameters:
dbSubnetGroupName
- Specifies the DB subnet group to associate with this DB instance. The default behavior varies depending on whether `db_subnet_group_name` is specified. Please refer to official [AWS documentation](https://docs.aws.amazon.com/cli/latest/reference/rds/create-db-instance.html) to understand how `db_subnet_group_name` and `publicly_accessible` parameters affect DB instance behaviour. **NOTE:** This must match the `db_subnet_group_name` of the attached `aws.rds.Cluster`.- Returns:
- builder
-
dbiResourceId
public ClusterInstanceState.Builder dbiResourceId(@Nullable com.pulumi.core.Output<java.lang.String> dbiResourceId)
- Parameters:
dbiResourceId
- Region-unique, immutable identifier for the DB instance.- Returns:
- builder
-
dbiResourceId
public ClusterInstanceState.Builder dbiResourceId(java.lang.String dbiResourceId)
- Parameters:
dbiResourceId
- Region-unique, immutable identifier for the DB instance.- Returns:
- builder
-
endpoint
public ClusterInstanceState.Builder endpoint(@Nullable com.pulumi.core.Output<java.lang.String> endpoint)
- Parameters:
endpoint
- DNS address for this instance. May not be writable- Returns:
- builder
-
endpoint
public ClusterInstanceState.Builder endpoint(java.lang.String endpoint)
- Parameters:
endpoint
- DNS address for this instance. May not be writable- Returns:
- builder
-
engine
public ClusterInstanceState.Builder engine(@Nullable com.pulumi.core.Output<java.lang.String> engine)
- Parameters:
engine
- Name of the database engine to be used for the RDS cluster instance. Valid Values: `aurora-mysql`, `aurora-postgresql`, `mysql`, `postgres`.(Note that `mysql` and `postgres` are Multi-AZ RDS clusters).- Returns:
- builder
-
engine
public ClusterInstanceState.Builder engine(java.lang.String engine)
- Parameters:
engine
- Name of the database engine to be used for the RDS cluster instance. Valid Values: `aurora-mysql`, `aurora-postgresql`, `mysql`, `postgres`.(Note that `mysql` and `postgres` are Multi-AZ RDS clusters).- Returns:
- builder
-
engineVersion
public ClusterInstanceState.Builder engineVersion(@Nullable com.pulumi.core.Output<java.lang.String> engineVersion)
- Parameters:
engineVersion
- Database engine version. Please note that to upgrade the `engine_version` of the instance, it must be done on the `aws.rds.Cluster` `engine_version`. Trying to upgrade in `aws_cluster_instance` will not update the `engine_version`.- Returns:
- builder
-
engineVersion
public ClusterInstanceState.Builder engineVersion(java.lang.String engineVersion)
- Parameters:
engineVersion
- Database engine version. Please note that to upgrade the `engine_version` of the instance, it must be done on the `aws.rds.Cluster` `engine_version`. Trying to upgrade in `aws_cluster_instance` will not update the `engine_version`.- Returns:
- builder
-
engineVersionActual
public ClusterInstanceState.Builder engineVersionActual(@Nullable com.pulumi.core.Output<java.lang.String> engineVersionActual)
- Parameters:
engineVersionActual
- Database engine version- Returns:
- builder
-
engineVersionActual
public ClusterInstanceState.Builder engineVersionActual(java.lang.String engineVersionActual)
- Parameters:
engineVersionActual
- Database engine version- Returns:
- builder
-
identifier
public ClusterInstanceState.Builder identifier(@Nullable com.pulumi.core.Output<java.lang.String> identifier)
- Parameters:
identifier
- Identifier for the RDS instance, if omitted, Pulumi will assign a random, unique identifier.- Returns:
- builder
-
identifier
public ClusterInstanceState.Builder identifier(java.lang.String identifier)
- Parameters:
identifier
- Identifier for the RDS instance, if omitted, Pulumi will assign a random, unique identifier.- Returns:
- builder
-
identifierPrefix
public ClusterInstanceState.Builder identifierPrefix(@Nullable com.pulumi.core.Output<java.lang.String> identifierPrefix)
- Parameters:
identifierPrefix
- Creates a unique identifier beginning with the specified prefix. Conflicts with `identifier`.- Returns:
- builder
-
identifierPrefix
public ClusterInstanceState.Builder identifierPrefix(java.lang.String identifierPrefix)
- Parameters:
identifierPrefix
- Creates a unique identifier beginning with the specified prefix. Conflicts with `identifier`.- Returns:
- builder
-
instanceClass
public ClusterInstanceState.Builder instanceClass(@Nullable com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,InstanceType>> instanceClass)
- Parameters:
instanceClass
- Instance class to use. For details on CPU and memory, see [Scaling Aurora DB Instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Managing.html). Aurora uses `db.*` instance classes/types. Please see [AWS Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) for currently available instance classes and complete details. For Aurora Serverless v2 use `db.serverless`.- Returns:
- builder
-
instanceClass
public ClusterInstanceState.Builder instanceClass(com.pulumi.core.Either<java.lang.String,InstanceType> instanceClass)
- Parameters:
instanceClass
- Instance class to use. For details on CPU and memory, see [Scaling Aurora DB Instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Managing.html). Aurora uses `db.*` instance classes/types. Please see [AWS Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) for currently available instance classes and complete details. For Aurora Serverless v2 use `db.serverless`.- Returns:
- builder
-
instanceClass
public ClusterInstanceState.Builder instanceClass(java.lang.String instanceClass)
- Parameters:
instanceClass
- Instance class to use. For details on CPU and memory, see [Scaling Aurora DB Instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Managing.html). Aurora uses `db.*` instance classes/types. Please see [AWS Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) for currently available instance classes and complete details. For Aurora Serverless v2 use `db.serverless`.- Returns:
- builder
-
instanceClass
public ClusterInstanceState.Builder instanceClass(InstanceType instanceClass)
- Parameters:
instanceClass
- Instance class to use. For details on CPU and memory, see [Scaling Aurora DB Instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Managing.html). Aurora uses `db.*` instance classes/types. Please see [AWS Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) for currently available instance classes and complete details. For Aurora Serverless v2 use `db.serverless`.- Returns:
- builder
-
kmsKeyId
public ClusterInstanceState.Builder kmsKeyId(@Nullable com.pulumi.core.Output<java.lang.String> kmsKeyId)
- Parameters:
kmsKeyId
- ARN for the KMS encryption key if one is set to the cluster.- Returns:
- builder
-
kmsKeyId
public ClusterInstanceState.Builder kmsKeyId(java.lang.String kmsKeyId)
- Parameters:
kmsKeyId
- ARN for the KMS encryption key if one is set to the cluster.- Returns:
- builder
-
monitoringInterval
public ClusterInstanceState.Builder monitoringInterval(@Nullable com.pulumi.core.Output<java.lang.Integer> monitoringInterval)
- Parameters:
monitoringInterval
- Interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid Values: 0, 1, 5, 10, 15, 30, 60.- Returns:
- builder
-
monitoringInterval
public ClusterInstanceState.Builder monitoringInterval(java.lang.Integer monitoringInterval)
- Parameters:
monitoringInterval
- Interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid Values: 0, 1, 5, 10, 15, 30, 60.- Returns:
- builder
-
monitoringRoleArn
public ClusterInstanceState.Builder monitoringRoleArn(@Nullable com.pulumi.core.Output<java.lang.String> monitoringRoleArn)
- Parameters:
monitoringRoleArn
- ARN for the IAM role that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. You can find more information on the [AWS Documentation](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html) what IAM permissions are needed to allow Enhanced Monitoring for RDS Instances.- Returns:
- builder
-
monitoringRoleArn
public ClusterInstanceState.Builder monitoringRoleArn(java.lang.String monitoringRoleArn)
- Parameters:
monitoringRoleArn
- ARN for the IAM role that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. You can find more information on the [AWS Documentation](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html) what IAM permissions are needed to allow Enhanced Monitoring for RDS Instances.- Returns:
- builder
-
networkType
public ClusterInstanceState.Builder networkType(@Nullable com.pulumi.core.Output<java.lang.String> networkType)
- Parameters:
networkType
- Network type of the DB instance.- Returns:
- builder
-
networkType
public ClusterInstanceState.Builder networkType(java.lang.String networkType)
- Parameters:
networkType
- Network type of the DB instance.- Returns:
- builder
-
performanceInsightsEnabled
public ClusterInstanceState.Builder performanceInsightsEnabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> performanceInsightsEnabled)
- Parameters:
performanceInsightsEnabled
- Specifies whether Performance Insights is enabled or not.- Returns:
- builder
-
performanceInsightsEnabled
public ClusterInstanceState.Builder performanceInsightsEnabled(java.lang.Boolean performanceInsightsEnabled)
- Parameters:
performanceInsightsEnabled
- Specifies whether Performance Insights is enabled or not.- Returns:
- builder
-
performanceInsightsKmsKeyId
public ClusterInstanceState.Builder performanceInsightsKmsKeyId(@Nullable com.pulumi.core.Output<java.lang.String> performanceInsightsKmsKeyId)
- Parameters:
performanceInsightsKmsKeyId
- ARN for the KMS key to encrypt Performance Insights data. When specifying `performance_insights_kms_key_id`, `performance_insights_enabled` needs to be set to true.- Returns:
- builder
-
performanceInsightsKmsKeyId
public ClusterInstanceState.Builder performanceInsightsKmsKeyId(java.lang.String performanceInsightsKmsKeyId)
- Parameters:
performanceInsightsKmsKeyId
- ARN for the KMS key to encrypt Performance Insights data. When specifying `performance_insights_kms_key_id`, `performance_insights_enabled` needs to be set to true.- Returns:
- builder
-
performanceInsightsRetentionPeriod
public ClusterInstanceState.Builder performanceInsightsRetentionPeriod(@Nullable com.pulumi.core.Output<java.lang.Integer> performanceInsightsRetentionPeriod)
- Parameters:
performanceInsightsRetentionPeriod
- Amount of time in days to retain Performance Insights data. Valid values are `7`, `731` (2 years) or a multiple of `31`. When specifying `performance_insights_retention_period`, `performance_insights_enabled` needs to be set to true. Defaults to '7'.- Returns:
- builder
-
performanceInsightsRetentionPeriod
public ClusterInstanceState.Builder performanceInsightsRetentionPeriod(java.lang.Integer performanceInsightsRetentionPeriod)
- Parameters:
performanceInsightsRetentionPeriod
- Amount of time in days to retain Performance Insights data. Valid values are `7`, `731` (2 years) or a multiple of `31`. When specifying `performance_insights_retention_period`, `performance_insights_enabled` needs to be set to true. Defaults to '7'.- Returns:
- builder
-
port
public ClusterInstanceState.Builder port(@Nullable com.pulumi.core.Output<java.lang.Integer> port)
- Parameters:
port
- Database port- Returns:
- builder
-
port
public ClusterInstanceState.Builder port(java.lang.Integer port)
- Parameters:
port
- Database port- Returns:
- builder
-
preferredBackupWindow
public ClusterInstanceState.Builder preferredBackupWindow(@Nullable com.pulumi.core.Output<java.lang.String> preferredBackupWindow)
- Parameters:
preferredBackupWindow
- Daily time range during which automated backups are created if automated backups are enabled. Eg: "04:00-09:00". **NOTE:** If `preferred_backup_window` is set at the cluster level, this argument **must** be omitted.- Returns:
- builder
-
preferredBackupWindow
public ClusterInstanceState.Builder preferredBackupWindow(java.lang.String preferredBackupWindow)
- Parameters:
preferredBackupWindow
- Daily time range during which automated backups are created if automated backups are enabled. Eg: "04:00-09:00". **NOTE:** If `preferred_backup_window` is set at the cluster level, this argument **must** be omitted.- Returns:
- builder
-
preferredMaintenanceWindow
public ClusterInstanceState.Builder preferredMaintenanceWindow(@Nullable com.pulumi.core.Output<java.lang.String> preferredMaintenanceWindow)
- Parameters:
preferredMaintenanceWindow
- Window to perform maintenance in. Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00".- Returns:
- builder
-
preferredMaintenanceWindow
public ClusterInstanceState.Builder preferredMaintenanceWindow(java.lang.String preferredMaintenanceWindow)
- Parameters:
preferredMaintenanceWindow
- Window to perform maintenance in. Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00".- Returns:
- builder
-
promotionTier
public ClusterInstanceState.Builder promotionTier(@Nullable com.pulumi.core.Output<java.lang.Integer> promotionTier)
- Parameters:
promotionTier
- Default 0. Failover Priority setting on instance level. The reader who has lower tier has higher priority to get promoted to writer.- Returns:
- builder
-
promotionTier
public ClusterInstanceState.Builder promotionTier(java.lang.Integer promotionTier)
- Parameters:
promotionTier
- Default 0. Failover Priority setting on instance level. The reader who has lower tier has higher priority to get promoted to writer.- Returns:
- builder
-
publiclyAccessible
public ClusterInstanceState.Builder publiclyAccessible(@Nullable com.pulumi.core.Output<java.lang.Boolean> publiclyAccessible)
- Parameters:
publiclyAccessible
- Bool to control if instance is publicly accessible. Default `false`. See the documentation on [Creating DB Instances](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html) for more details on controlling this property.- Returns:
- builder
-
publiclyAccessible
public ClusterInstanceState.Builder publiclyAccessible(java.lang.Boolean publiclyAccessible)
- Parameters:
publiclyAccessible
- Bool to control if instance is publicly accessible. Default `false`. See the documentation on [Creating DB Instances](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html) for more details on controlling this property.- Returns:
- builder
-
storageEncrypted
public ClusterInstanceState.Builder storageEncrypted(@Nullable com.pulumi.core.Output<java.lang.Boolean> storageEncrypted)
- Parameters:
storageEncrypted
- Specifies whether the DB cluster is encrypted.- Returns:
- builder
-
storageEncrypted
public ClusterInstanceState.Builder storageEncrypted(java.lang.Boolean storageEncrypted)
- Parameters:
storageEncrypted
- Specifies whether the DB cluster is encrypted.- Returns:
- builder
-
tags
public ClusterInstanceState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags
- Map of tags to assign to the instance. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public ClusterInstanceState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags
- Map of tags to assign to the instance. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
@Deprecated public ClusterInstanceState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
tagsAll
@Deprecated public ClusterInstanceState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
writer
public ClusterInstanceState.Builder writer(@Nullable com.pulumi.core.Output<java.lang.Boolean> writer)
- Parameters:
writer
- Boolean indicating if this instance is writable. `False` indicates this instance is a read replica.- Returns:
- builder
-
writer
public ClusterInstanceState.Builder writer(java.lang.Boolean writer)
- Parameters:
writer
- Boolean indicating if this instance is writable. `False` indicates this instance is a read replica.- Returns:
- builder
-
build
public ClusterInstanceState build()
-
-