Package com.pulumi.aws.rds.inputs
Class InstanceState.Builder
- java.lang.Object
-
- com.pulumi.aws.rds.inputs.InstanceState.Builder
-
- Enclosing class:
- InstanceState
public static final class InstanceState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(InstanceState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description InstanceState.Builder
address(com.pulumi.core.Output<java.lang.String> address)
InstanceState.Builder
address(java.lang.String address)
InstanceState.Builder
allocatedStorage(com.pulumi.core.Output<java.lang.Integer> allocatedStorage)
InstanceState.Builder
allocatedStorage(java.lang.Integer allocatedStorage)
InstanceState.Builder
allowMajorVersionUpgrade(com.pulumi.core.Output<java.lang.Boolean> allowMajorVersionUpgrade)
InstanceState.Builder
allowMajorVersionUpgrade(java.lang.Boolean allowMajorVersionUpgrade)
InstanceState.Builder
applyImmediately(com.pulumi.core.Output<java.lang.Boolean> applyImmediately)
InstanceState.Builder
applyImmediately(java.lang.Boolean applyImmediately)
InstanceState.Builder
arn(com.pulumi.core.Output<java.lang.String> arn)
InstanceState.Builder
arn(java.lang.String arn)
InstanceState.Builder
autoMinorVersionUpgrade(com.pulumi.core.Output<java.lang.Boolean> autoMinorVersionUpgrade)
InstanceState.Builder
autoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
InstanceState.Builder
availabilityZone(com.pulumi.core.Output<java.lang.String> availabilityZone)
InstanceState.Builder
availabilityZone(java.lang.String availabilityZone)
InstanceState.Builder
backupRetentionPeriod(com.pulumi.core.Output<java.lang.Integer> backupRetentionPeriod)
InstanceState.Builder
backupRetentionPeriod(java.lang.Integer backupRetentionPeriod)
InstanceState.Builder
backupTarget(com.pulumi.core.Output<java.lang.String> backupTarget)
InstanceState.Builder
backupTarget(java.lang.String backupTarget)
InstanceState.Builder
backupWindow(com.pulumi.core.Output<java.lang.String> backupWindow)
InstanceState.Builder
backupWindow(java.lang.String backupWindow)
InstanceState.Builder
blueGreenUpdate(InstanceBlueGreenUpdateArgs blueGreenUpdate)
InstanceState.Builder
blueGreenUpdate(com.pulumi.core.Output<InstanceBlueGreenUpdateArgs> blueGreenUpdate)
InstanceState
build()
InstanceState.Builder
caCertIdentifier(com.pulumi.core.Output<java.lang.String> caCertIdentifier)
InstanceState.Builder
caCertIdentifier(java.lang.String caCertIdentifier)
InstanceState.Builder
characterSetName(com.pulumi.core.Output<java.lang.String> characterSetName)
InstanceState.Builder
characterSetName(java.lang.String characterSetName)
InstanceState.Builder
copyTagsToSnapshot(com.pulumi.core.Output<java.lang.Boolean> copyTagsToSnapshot)
InstanceState.Builder
copyTagsToSnapshot(java.lang.Boolean copyTagsToSnapshot)
InstanceState.Builder
customerOwnedIpEnabled(com.pulumi.core.Output<java.lang.Boolean> customerOwnedIpEnabled)
InstanceState.Builder
customerOwnedIpEnabled(java.lang.Boolean customerOwnedIpEnabled)
InstanceState.Builder
customIamInstanceProfile(com.pulumi.core.Output<java.lang.String> customIamInstanceProfile)
InstanceState.Builder
customIamInstanceProfile(java.lang.String customIamInstanceProfile)
InstanceState.Builder
dbName(com.pulumi.core.Output<java.lang.String> dbName)
InstanceState.Builder
dbName(java.lang.String dbName)
InstanceState.Builder
dbSubnetGroupName(com.pulumi.core.Output<java.lang.String> dbSubnetGroupName)
InstanceState.Builder
dbSubnetGroupName(java.lang.String dbSubnetGroupName)
InstanceState.Builder
dedicatedLogVolume(com.pulumi.core.Output<java.lang.Boolean> dedicatedLogVolume)
InstanceState.Builder
dedicatedLogVolume(java.lang.Boolean dedicatedLogVolume)
InstanceState.Builder
deleteAutomatedBackups(com.pulumi.core.Output<java.lang.Boolean> deleteAutomatedBackups)
InstanceState.Builder
deleteAutomatedBackups(java.lang.Boolean deleteAutomatedBackups)
InstanceState.Builder
deletionProtection(com.pulumi.core.Output<java.lang.Boolean> deletionProtection)
InstanceState.Builder
deletionProtection(java.lang.Boolean deletionProtection)
InstanceState.Builder
domain(com.pulumi.core.Output<java.lang.String> domain)
InstanceState.Builder
domain(java.lang.String domain)
InstanceState.Builder
domainAuthSecretArn(com.pulumi.core.Output<java.lang.String> domainAuthSecretArn)
InstanceState.Builder
domainAuthSecretArn(java.lang.String domainAuthSecretArn)
InstanceState.Builder
domainDnsIps(com.pulumi.core.Output<java.util.List<java.lang.String>> domainDnsIps)
InstanceState.Builder
domainDnsIps(java.lang.String... domainDnsIps)
InstanceState.Builder
domainDnsIps(java.util.List<java.lang.String> domainDnsIps)
InstanceState.Builder
domainFqdn(com.pulumi.core.Output<java.lang.String> domainFqdn)
InstanceState.Builder
domainFqdn(java.lang.String domainFqdn)
InstanceState.Builder
domainIamRoleName(com.pulumi.core.Output<java.lang.String> domainIamRoleName)
InstanceState.Builder
domainIamRoleName(java.lang.String domainIamRoleName)
InstanceState.Builder
domainOu(com.pulumi.core.Output<java.lang.String> domainOu)
InstanceState.Builder
domainOu(java.lang.String domainOu)
InstanceState.Builder
enabledCloudwatchLogsExports(com.pulumi.core.Output<java.util.List<java.lang.String>> enabledCloudwatchLogsExports)
InstanceState.Builder
enabledCloudwatchLogsExports(java.lang.String... enabledCloudwatchLogsExports)
InstanceState.Builder
enabledCloudwatchLogsExports(java.util.List<java.lang.String> enabledCloudwatchLogsExports)
InstanceState.Builder
endpoint(com.pulumi.core.Output<java.lang.String> endpoint)
InstanceState.Builder
endpoint(java.lang.String endpoint)
InstanceState.Builder
engine(com.pulumi.core.Output<java.lang.String> engine)
InstanceState.Builder
engine(java.lang.String engine)
InstanceState.Builder
engineVersion(com.pulumi.core.Output<java.lang.String> engineVersion)
InstanceState.Builder
engineVersion(java.lang.String engineVersion)
InstanceState.Builder
engineVersionActual(com.pulumi.core.Output<java.lang.String> engineVersionActual)
InstanceState.Builder
engineVersionActual(java.lang.String engineVersionActual)
InstanceState.Builder
finalSnapshotIdentifier(com.pulumi.core.Output<java.lang.String> finalSnapshotIdentifier)
InstanceState.Builder
finalSnapshotIdentifier(java.lang.String finalSnapshotIdentifier)
InstanceState.Builder
hostedZoneId(com.pulumi.core.Output<java.lang.String> hostedZoneId)
InstanceState.Builder
hostedZoneId(java.lang.String hostedZoneId)
InstanceState.Builder
iamDatabaseAuthenticationEnabled(com.pulumi.core.Output<java.lang.Boolean> iamDatabaseAuthenticationEnabled)
InstanceState.Builder
iamDatabaseAuthenticationEnabled(java.lang.Boolean iamDatabaseAuthenticationEnabled)
InstanceState.Builder
identifier(com.pulumi.core.Output<java.lang.String> identifier)
InstanceState.Builder
identifier(java.lang.String identifier)
InstanceState.Builder
identifierPrefix(com.pulumi.core.Output<java.lang.String> identifierPrefix)
InstanceState.Builder
identifierPrefix(java.lang.String identifierPrefix)
InstanceState.Builder
instanceClass(InstanceType instanceClass)
InstanceState.Builder
instanceClass(com.pulumi.core.Either<java.lang.String,InstanceType> instanceClass)
InstanceState.Builder
instanceClass(com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,InstanceType>> instanceClass)
InstanceState.Builder
instanceClass(java.lang.String instanceClass)
InstanceState.Builder
iops(com.pulumi.core.Output<java.lang.Integer> iops)
InstanceState.Builder
iops(java.lang.Integer iops)
InstanceState.Builder
kmsKeyId(com.pulumi.core.Output<java.lang.String> kmsKeyId)
InstanceState.Builder
kmsKeyId(java.lang.String kmsKeyId)
InstanceState.Builder
latestRestorableTime(com.pulumi.core.Output<java.lang.String> latestRestorableTime)
InstanceState.Builder
latestRestorableTime(java.lang.String latestRestorableTime)
InstanceState.Builder
licenseModel(com.pulumi.core.Output<java.lang.String> licenseModel)
InstanceState.Builder
licenseModel(java.lang.String licenseModel)
InstanceState.Builder
listenerEndpoints(InstanceListenerEndpointArgs... listenerEndpoints)
InstanceState.Builder
listenerEndpoints(com.pulumi.core.Output<java.util.List<InstanceListenerEndpointArgs>> listenerEndpoints)
InstanceState.Builder
listenerEndpoints(java.util.List<InstanceListenerEndpointArgs> listenerEndpoints)
InstanceState.Builder
maintenanceWindow(com.pulumi.core.Output<java.lang.String> maintenanceWindow)
InstanceState.Builder
maintenanceWindow(java.lang.String maintenanceWindow)
InstanceState.Builder
manageMasterUserPassword(com.pulumi.core.Output<java.lang.Boolean> manageMasterUserPassword)
InstanceState.Builder
manageMasterUserPassword(java.lang.Boolean manageMasterUserPassword)
InstanceState.Builder
masterUserSecretKmsKeyId(com.pulumi.core.Output<java.lang.String> masterUserSecretKmsKeyId)
InstanceState.Builder
masterUserSecretKmsKeyId(java.lang.String masterUserSecretKmsKeyId)
InstanceState.Builder
masterUserSecrets(InstanceMasterUserSecretArgs... masterUserSecrets)
InstanceState.Builder
masterUserSecrets(com.pulumi.core.Output<java.util.List<InstanceMasterUserSecretArgs>> masterUserSecrets)
InstanceState.Builder
masterUserSecrets(java.util.List<InstanceMasterUserSecretArgs> masterUserSecrets)
InstanceState.Builder
maxAllocatedStorage(com.pulumi.core.Output<java.lang.Integer> maxAllocatedStorage)
InstanceState.Builder
maxAllocatedStorage(java.lang.Integer maxAllocatedStorage)
InstanceState.Builder
monitoringInterval(com.pulumi.core.Output<java.lang.Integer> monitoringInterval)
InstanceState.Builder
monitoringInterval(java.lang.Integer monitoringInterval)
InstanceState.Builder
monitoringRoleArn(com.pulumi.core.Output<java.lang.String> monitoringRoleArn)
InstanceState.Builder
monitoringRoleArn(java.lang.String monitoringRoleArn)
InstanceState.Builder
multiAz(com.pulumi.core.Output<java.lang.Boolean> multiAz)
InstanceState.Builder
multiAz(java.lang.Boolean multiAz)
InstanceState.Builder
name(com.pulumi.core.Output<java.lang.String> name)
Deprecated.This property has been deprecated.InstanceState.Builder
name(java.lang.String name)
Deprecated.This property has been deprecated.InstanceState.Builder
ncharCharacterSetName(com.pulumi.core.Output<java.lang.String> ncharCharacterSetName)
InstanceState.Builder
ncharCharacterSetName(java.lang.String ncharCharacterSetName)
InstanceState.Builder
networkType(com.pulumi.core.Output<java.lang.String> networkType)
InstanceState.Builder
networkType(java.lang.String networkType)
InstanceState.Builder
optionGroupName(com.pulumi.core.Output<java.lang.String> optionGroupName)
InstanceState.Builder
optionGroupName(java.lang.String optionGroupName)
InstanceState.Builder
parameterGroupName(com.pulumi.core.Output<java.lang.String> parameterGroupName)
InstanceState.Builder
parameterGroupName(java.lang.String parameterGroupName)
InstanceState.Builder
password(com.pulumi.core.Output<java.lang.String> password)
InstanceState.Builder
password(java.lang.String password)
InstanceState.Builder
performanceInsightsEnabled(com.pulumi.core.Output<java.lang.Boolean> performanceInsightsEnabled)
InstanceState.Builder
performanceInsightsEnabled(java.lang.Boolean performanceInsightsEnabled)
InstanceState.Builder
performanceInsightsKmsKeyId(com.pulumi.core.Output<java.lang.String> performanceInsightsKmsKeyId)
InstanceState.Builder
performanceInsightsKmsKeyId(java.lang.String performanceInsightsKmsKeyId)
InstanceState.Builder
performanceInsightsRetentionPeriod(com.pulumi.core.Output<java.lang.Integer> performanceInsightsRetentionPeriod)
InstanceState.Builder
performanceInsightsRetentionPeriod(java.lang.Integer performanceInsightsRetentionPeriod)
InstanceState.Builder
port(com.pulumi.core.Output<java.lang.Integer> port)
InstanceState.Builder
port(java.lang.Integer port)
InstanceState.Builder
publiclyAccessible(com.pulumi.core.Output<java.lang.Boolean> publiclyAccessible)
InstanceState.Builder
publiclyAccessible(java.lang.Boolean publiclyAccessible)
InstanceState.Builder
replicaMode(com.pulumi.core.Output<java.lang.String> replicaMode)
InstanceState.Builder
replicaMode(java.lang.String replicaMode)
InstanceState.Builder
replicas(com.pulumi.core.Output<java.util.List<java.lang.String>> replicas)
InstanceState.Builder
replicas(java.lang.String... replicas)
InstanceState.Builder
replicas(java.util.List<java.lang.String> replicas)
InstanceState.Builder
replicateSourceDb(com.pulumi.core.Output<java.lang.String> replicateSourceDb)
InstanceState.Builder
replicateSourceDb(java.lang.String replicateSourceDb)
InstanceState.Builder
resourceId(com.pulumi.core.Output<java.lang.String> resourceId)
InstanceState.Builder
resourceId(java.lang.String resourceId)
InstanceState.Builder
restoreToPointInTime(InstanceRestoreToPointInTimeArgs restoreToPointInTime)
InstanceState.Builder
restoreToPointInTime(com.pulumi.core.Output<InstanceRestoreToPointInTimeArgs> restoreToPointInTime)
InstanceState.Builder
s3Import(InstanceS3ImportArgs s3Import)
InstanceState.Builder
s3Import(com.pulumi.core.Output<InstanceS3ImportArgs> s3Import)
InstanceState.Builder
skipFinalSnapshot(com.pulumi.core.Output<java.lang.Boolean> skipFinalSnapshot)
InstanceState.Builder
skipFinalSnapshot(java.lang.Boolean skipFinalSnapshot)
InstanceState.Builder
snapshotIdentifier(com.pulumi.core.Output<java.lang.String> snapshotIdentifier)
InstanceState.Builder
snapshotIdentifier(java.lang.String snapshotIdentifier)
InstanceState.Builder
status(com.pulumi.core.Output<java.lang.String> status)
InstanceState.Builder
status(java.lang.String status)
InstanceState.Builder
storageEncrypted(com.pulumi.core.Output<java.lang.Boolean> storageEncrypted)
InstanceState.Builder
storageEncrypted(java.lang.Boolean storageEncrypted)
InstanceState.Builder
storageThroughput(com.pulumi.core.Output<java.lang.Integer> storageThroughput)
InstanceState.Builder
storageThroughput(java.lang.Integer storageThroughput)
InstanceState.Builder
storageType(StorageType storageType)
InstanceState.Builder
storageType(com.pulumi.core.Either<java.lang.String,StorageType> storageType)
InstanceState.Builder
storageType(com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,StorageType>> storageType)
InstanceState.Builder
storageType(java.lang.String storageType)
InstanceState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
InstanceState.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
InstanceState.Builder
tagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.InstanceState.Builder
tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.InstanceState.Builder
timezone(com.pulumi.core.Output<java.lang.String> timezone)
InstanceState.Builder
timezone(java.lang.String timezone)
InstanceState.Builder
username(com.pulumi.core.Output<java.lang.String> username)
InstanceState.Builder
username(java.lang.String username)
InstanceState.Builder
vpcSecurityGroupIds(com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSecurityGroupIds)
InstanceState.Builder
vpcSecurityGroupIds(java.lang.String... vpcSecurityGroupIds)
InstanceState.Builder
vpcSecurityGroupIds(java.util.List<java.lang.String> vpcSecurityGroupIds)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(InstanceState defaults)
-
-
Method Detail
-
address
public InstanceState.Builder address(@Nullable com.pulumi.core.Output<java.lang.String> address)
- Parameters:
address
- Specifies the DNS address of the DB instance.- Returns:
- builder
-
address
public InstanceState.Builder address(java.lang.String address)
- Parameters:
address
- Specifies the DNS address of the DB instance.- Returns:
- builder
-
allocatedStorage
public InstanceState.Builder allocatedStorage(@Nullable com.pulumi.core.Output<java.lang.Integer> allocatedStorage)
- Parameters:
allocatedStorage
- The allocated storage in gibibytes. If `max_allocated_storage` is configured, this argument represents the initial storage allocation and differences from the configuration will be ignored automatically when Storage Autoscaling occurs. If `replicate_source_db` is set, the value is ignored during the creation of the instance.- Returns:
- builder
-
allocatedStorage
public InstanceState.Builder allocatedStorage(java.lang.Integer allocatedStorage)
- Parameters:
allocatedStorage
- The allocated storage in gibibytes. If `max_allocated_storage` is configured, this argument represents the initial storage allocation and differences from the configuration will be ignored automatically when Storage Autoscaling occurs. If `replicate_source_db` is set, the value is ignored during the creation of the instance.- Returns:
- builder
-
allowMajorVersionUpgrade
public InstanceState.Builder allowMajorVersionUpgrade(@Nullable com.pulumi.core.Output<java.lang.Boolean> allowMajorVersionUpgrade)
- Parameters:
allowMajorVersionUpgrade
- Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible.- Returns:
- builder
-
allowMajorVersionUpgrade
public InstanceState.Builder allowMajorVersionUpgrade(java.lang.Boolean allowMajorVersionUpgrade)
- Parameters:
allowMajorVersionUpgrade
- Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible.- Returns:
- builder
-
applyImmediately
public InstanceState.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`. See [Amazon RDS Documentation for more information.](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html)- Returns:
- builder
-
applyImmediately
public InstanceState.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`. See [Amazon RDS Documentation for more information.](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html)- Returns:
- builder
-
arn
public InstanceState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn
- The ARN of the RDS instance.- Returns:
- builder
-
arn
public InstanceState.Builder arn(java.lang.String arn)
- Parameters:
arn
- The ARN of the RDS instance.- Returns:
- builder
-
autoMinorVersionUpgrade
public InstanceState.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. Defaults to true.- Returns:
- builder
-
autoMinorVersionUpgrade
public InstanceState.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. Defaults to true.- Returns:
- builder
-
availabilityZone
public InstanceState.Builder availabilityZone(@Nullable com.pulumi.core.Output<java.lang.String> availabilityZone)
- Parameters:
availabilityZone
- The AZ for the RDS instance.- Returns:
- builder
-
availabilityZone
public InstanceState.Builder availabilityZone(java.lang.String availabilityZone)
- Parameters:
availabilityZone
- The AZ for the RDS instance.- Returns:
- builder
-
backupRetentionPeriod
public InstanceState.Builder backupRetentionPeriod(@Nullable com.pulumi.core.Output<java.lang.Integer> backupRetentionPeriod)
- Parameters:
backupRetentionPeriod
- The days to retain backups for. Must be between `0` and `35`. Default is `0`. Must be greater than `0` if the database is used as a source for a [Read Replica][instance-replication], uses low-downtime updates, or will use [RDS Blue/Green deployments][blue-green].- Returns:
- builder
-
backupRetentionPeriod
public InstanceState.Builder backupRetentionPeriod(java.lang.Integer backupRetentionPeriod)
- Parameters:
backupRetentionPeriod
- The days to retain backups for. Must be between `0` and `35`. Default is `0`. Must be greater than `0` if the database is used as a source for a [Read Replica][instance-replication], uses low-downtime updates, or will use [RDS Blue/Green deployments][blue-green].- Returns:
- builder
-
backupTarget
public InstanceState.Builder backupTarget(@Nullable com.pulumi.core.Output<java.lang.String> backupTarget)
- Parameters:
backupTarget
- Specifies where automated backups and manual snapshots are stored. Possible values are `region` (default) and `outposts`. See [Working with Amazon RDS on AWS Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) for more information.- Returns:
- builder
-
backupTarget
public InstanceState.Builder backupTarget(java.lang.String backupTarget)
- Parameters:
backupTarget
- Specifies where automated backups and manual snapshots are stored. Possible values are `region` (default) and `outposts`. See [Working with Amazon RDS on AWS Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) for more information.- Returns:
- builder
-
backupWindow
public InstanceState.Builder backupWindow(@Nullable com.pulumi.core.Output<java.lang.String> backupWindow)
- Parameters:
backupWindow
- The daily time range (in UTC) during which automated backups are created if they are enabled. Example: "09:46-10:16". Must not overlap with `maintenance_window`.- Returns:
- builder
-
backupWindow
public InstanceState.Builder backupWindow(java.lang.String backupWindow)
- Parameters:
backupWindow
- The daily time range (in UTC) during which automated backups are created if they are enabled. Example: "09:46-10:16". Must not overlap with `maintenance_window`.- Returns:
- builder
-
blueGreenUpdate
public InstanceState.Builder blueGreenUpdate(@Nullable com.pulumi.core.Output<InstanceBlueGreenUpdateArgs> blueGreenUpdate)
- Parameters:
blueGreenUpdate
- Enables low-downtime updates using [RDS Blue/Green deployments][blue-green]. See `blue_green_update` below.- Returns:
- builder
-
blueGreenUpdate
public InstanceState.Builder blueGreenUpdate(InstanceBlueGreenUpdateArgs blueGreenUpdate)
- Parameters:
blueGreenUpdate
- Enables low-downtime updates using [RDS Blue/Green deployments][blue-green]. See `blue_green_update` below.- Returns:
- builder
-
caCertIdentifier
public InstanceState.Builder caCertIdentifier(@Nullable com.pulumi.core.Output<java.lang.String> caCertIdentifier)
- Parameters:
caCertIdentifier
- The identifier of the CA certificate for the DB instance.- Returns:
- builder
-
caCertIdentifier
public InstanceState.Builder caCertIdentifier(java.lang.String caCertIdentifier)
- Parameters:
caCertIdentifier
- The identifier of the CA certificate for the DB instance.- Returns:
- builder
-
characterSetName
public InstanceState.Builder characterSetName(@Nullable com.pulumi.core.Output<java.lang.String> characterSetName)
- Parameters:
characterSetName
- The character set name to use for DB encoding in Oracle and Microsoft SQL instances (collation). This can't be changed. See [Oracle Character Sets Supported in Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.OracleCharacterSets.html) or [Server-Level Collation for Microsoft SQL Server](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.SQLServer.CommonDBATasks.Collation.html) for more information. Cannot be set with `replicate_source_db`, `restore_to_point_in_time`, `s3_import`, or `snapshot_identifier`.- Returns:
- builder
-
characterSetName
public InstanceState.Builder characterSetName(java.lang.String characterSetName)
- Parameters:
characterSetName
- The character set name to use for DB encoding in Oracle and Microsoft SQL instances (collation). This can't be changed. See [Oracle Character Sets Supported in Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.OracleCharacterSets.html) or [Server-Level Collation for Microsoft SQL Server](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.SQLServer.CommonDBATasks.Collation.html) for more information. Cannot be set with `replicate_source_db`, `restore_to_point_in_time`, `s3_import`, or `snapshot_identifier`.- Returns:
- builder
-
copyTagsToSnapshot
public InstanceState.Builder copyTagsToSnapshot(@Nullable com.pulumi.core.Output<java.lang.Boolean> copyTagsToSnapshot)
- Parameters:
copyTagsToSnapshot
- Copy all Instance `tags` to snapshots. Default is `false`.- Returns:
- builder
-
copyTagsToSnapshot
public InstanceState.Builder copyTagsToSnapshot(java.lang.Boolean copyTagsToSnapshot)
- Parameters:
copyTagsToSnapshot
- Copy all Instance `tags` to snapshots. Default is `false`.- Returns:
- builder
-
customIamInstanceProfile
public InstanceState.Builder customIamInstanceProfile(@Nullable com.pulumi.core.Output<java.lang.String> customIamInstanceProfile)
- Parameters:
customIamInstanceProfile
- The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance.- Returns:
- builder
-
customIamInstanceProfile
public InstanceState.Builder customIamInstanceProfile(java.lang.String customIamInstanceProfile)
- Parameters:
customIamInstanceProfile
- The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance.- Returns:
- builder
-
customerOwnedIpEnabled
public InstanceState.Builder customerOwnedIpEnabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> customerOwnedIpEnabled)
- Parameters:
customerOwnedIpEnabled
- Indicates whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance. See [CoIP for RDS on Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html#rds-on-outposts.coip) for more information. > **NOTE:** Removing the `replicate_source_db` attribute from an existing RDS Replicate database managed by the provider will promote the database to a fully standalone database.- Returns:
- builder
-
customerOwnedIpEnabled
public InstanceState.Builder customerOwnedIpEnabled(java.lang.Boolean customerOwnedIpEnabled)
- Parameters:
customerOwnedIpEnabled
- Indicates whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance. See [CoIP for RDS on Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html#rds-on-outposts.coip) for more information. > **NOTE:** Removing the `replicate_source_db` attribute from an existing RDS Replicate database managed by the provider will promote the database to a fully standalone database.- Returns:
- builder
-
dbName
public InstanceState.Builder dbName(@Nullable com.pulumi.core.Output<java.lang.String> dbName)
- Parameters:
dbName
- The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Note that this does not apply for Oracle or SQL Server engines. See the [AWS documentation](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/create-db-instance.html) for more details on what applies for those engines. If you are providing an Oracle db name, it needs to be in all upper case. Cannot be specified for a replica.- Returns:
- builder
-
dbName
public InstanceState.Builder dbName(java.lang.String dbName)
- Parameters:
dbName
- The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Note that this does not apply for Oracle or SQL Server engines. See the [AWS documentation](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/create-db-instance.html) for more details on what applies for those engines. If you are providing an Oracle db name, it needs to be in all upper case. Cannot be specified for a replica.- Returns:
- builder
-
dbSubnetGroupName
public InstanceState.Builder dbSubnetGroupName(@Nullable com.pulumi.core.Output<java.lang.String> dbSubnetGroupName)
- Parameters:
dbSubnetGroupName
- Name of DB subnet group. DB instance will be created in the VPC associated with the DB subnet group. If unspecified, will be created in the `default` VPC, or in EC2 Classic, if available. When working with read replicas, it should be specified only if the source database specifies an instance in another AWS Region. See [DBSubnetGroupName in API action CreateDBInstanceReadReplica](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstanceReadReplica.html) for additional read replica constraints.- Returns:
- builder
-
dbSubnetGroupName
public InstanceState.Builder dbSubnetGroupName(java.lang.String dbSubnetGroupName)
- Parameters:
dbSubnetGroupName
- Name of DB subnet group. DB instance will be created in the VPC associated with the DB subnet group. If unspecified, will be created in the `default` VPC, or in EC2 Classic, if available. When working with read replicas, it should be specified only if the source database specifies an instance in another AWS Region. See [DBSubnetGroupName in API action CreateDBInstanceReadReplica](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstanceReadReplica.html) for additional read replica constraints.- Returns:
- builder
-
dedicatedLogVolume
public InstanceState.Builder dedicatedLogVolume(@Nullable com.pulumi.core.Output<java.lang.Boolean> dedicatedLogVolume)
- Parameters:
dedicatedLogVolume
- Use a dedicated log volume (DLV) for the DB instance. Requires Provisioned IOPS. See the [AWS documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.dlv) for more details.- Returns:
- builder
-
dedicatedLogVolume
public InstanceState.Builder dedicatedLogVolume(java.lang.Boolean dedicatedLogVolume)
- Parameters:
dedicatedLogVolume
- Use a dedicated log volume (DLV) for the DB instance. Requires Provisioned IOPS. See the [AWS documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.dlv) for more details.- Returns:
- builder
-
deleteAutomatedBackups
public InstanceState.Builder deleteAutomatedBackups(@Nullable com.pulumi.core.Output<java.lang.Boolean> deleteAutomatedBackups)
- Parameters:
deleteAutomatedBackups
- Specifies whether to remove automated backups immediately after the DB instance is deleted. Default is `true`.- Returns:
- builder
-
deleteAutomatedBackups
public InstanceState.Builder deleteAutomatedBackups(java.lang.Boolean deleteAutomatedBackups)
- Parameters:
deleteAutomatedBackups
- Specifies whether to remove automated backups immediately after the DB instance is deleted. Default is `true`.- Returns:
- builder
-
deletionProtection
public InstanceState.Builder deletionProtection(@Nullable com.pulumi.core.Output<java.lang.Boolean> deletionProtection)
- Parameters:
deletionProtection
- If the DB instance 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 InstanceState.Builder deletionProtection(java.lang.Boolean deletionProtection)
- Parameters:
deletionProtection
- If the DB instance should have deletion protection enabled. The database can't be deleted when this value is set to `true`. The default is `false`.- Returns:
- builder
-
domain
public InstanceState.Builder domain(@Nullable com.pulumi.core.Output<java.lang.String> domain)
- Parameters:
domain
- The ID of the Directory Service Active Directory domain to create the instance in. Conflicts with `domain_fqdn`, `domain_ou`, `domain_auth_secret_arn` and a `domain_dns_ips`.- Returns:
- builder
-
domain
public InstanceState.Builder domain(java.lang.String domain)
- Parameters:
domain
- The ID of the Directory Service Active Directory domain to create the instance in. Conflicts with `domain_fqdn`, `domain_ou`, `domain_auth_secret_arn` and a `domain_dns_ips`.- Returns:
- builder
-
domainAuthSecretArn
public InstanceState.Builder domainAuthSecretArn(@Nullable com.pulumi.core.Output<java.lang.String> domainAuthSecretArn)
- Parameters:
domainAuthSecretArn
- The ARN for the Secrets Manager secret with the self managed Active Directory credentials for the user joining the domain. Conflicts with `domain` and `domain_iam_role_name`.- Returns:
- builder
-
domainAuthSecretArn
public InstanceState.Builder domainAuthSecretArn(java.lang.String domainAuthSecretArn)
- Parameters:
domainAuthSecretArn
- The ARN for the Secrets Manager secret with the self managed Active Directory credentials for the user joining the domain. Conflicts with `domain` and `domain_iam_role_name`.- Returns:
- builder
-
domainDnsIps
public InstanceState.Builder domainDnsIps(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> domainDnsIps)
- Parameters:
domainDnsIps
- The IPv4 DNS IP addresses of your primary and secondary self managed Active Directory domain controllers. Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the primary domain controller for both entries in the list. Conflicts with `domain` and `domain_iam_role_name`.- Returns:
- builder
-
domainDnsIps
public InstanceState.Builder domainDnsIps(java.util.List<java.lang.String> domainDnsIps)
- Parameters:
domainDnsIps
- The IPv4 DNS IP addresses of your primary and secondary self managed Active Directory domain controllers. Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the primary domain controller for both entries in the list. Conflicts with `domain` and `domain_iam_role_name`.- Returns:
- builder
-
domainDnsIps
public InstanceState.Builder domainDnsIps(java.lang.String... domainDnsIps)
- Parameters:
domainDnsIps
- The IPv4 DNS IP addresses of your primary and secondary self managed Active Directory domain controllers. Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the primary domain controller for both entries in the list. Conflicts with `domain` and `domain_iam_role_name`.- Returns:
- builder
-
domainFqdn
public InstanceState.Builder domainFqdn(@Nullable com.pulumi.core.Output<java.lang.String> domainFqdn)
- Parameters:
domainFqdn
- The fully qualified domain name (FQDN) of the self managed Active Directory domain. Conflicts with `domain` and `domain_iam_role_name`.- Returns:
- builder
-
domainFqdn
public InstanceState.Builder domainFqdn(java.lang.String domainFqdn)
- Parameters:
domainFqdn
- The fully qualified domain name (FQDN) of the self managed Active Directory domain. Conflicts with `domain` and `domain_iam_role_name`.- Returns:
- builder
-
domainIamRoleName
public InstanceState.Builder domainIamRoleName(@Nullable com.pulumi.core.Output<java.lang.String> domainIamRoleName)
- Parameters:
domainIamRoleName
- The name of the IAM role to be used when making API calls to the Directory Service. Conflicts with `domain_fqdn`, `domain_ou`, `domain_auth_secret_arn` and a `domain_dns_ips`.- Returns:
- builder
-
domainIamRoleName
public InstanceState.Builder domainIamRoleName(java.lang.String domainIamRoleName)
- Parameters:
domainIamRoleName
- The name of the IAM role to be used when making API calls to the Directory Service. Conflicts with `domain_fqdn`, `domain_ou`, `domain_auth_secret_arn` and a `domain_dns_ips`.- Returns:
- builder
-
domainOu
public InstanceState.Builder domainOu(@Nullable com.pulumi.core.Output<java.lang.String> domainOu)
- Parameters:
domainOu
- The self managed Active Directory organizational unit for your DB instance to join. Conflicts with `domain` and `domain_iam_role_name`.- Returns:
- builder
-
domainOu
public InstanceState.Builder domainOu(java.lang.String domainOu)
- Parameters:
domainOu
- The self managed Active Directory organizational unit for your DB instance to join. Conflicts with `domain` and `domain_iam_role_name`.- Returns:
- builder
-
enabledCloudwatchLogsExports
public InstanceState.Builder enabledCloudwatchLogsExports(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> enabledCloudwatchLogsExports)
- Parameters:
enabledCloudwatchLogsExports
- Set of log types to enable for exporting to CloudWatch logs. If omitted, no logs will be exported. For supported values, see the EnableCloudwatchLogsExports.member.N parameter in [API action CreateDBInstance](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html).- Returns:
- builder
-
enabledCloudwatchLogsExports
public InstanceState.Builder enabledCloudwatchLogsExports(java.util.List<java.lang.String> enabledCloudwatchLogsExports)
- Parameters:
enabledCloudwatchLogsExports
- Set of log types to enable for exporting to CloudWatch logs. If omitted, no logs will be exported. For supported values, see the EnableCloudwatchLogsExports.member.N parameter in [API action CreateDBInstance](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html).- Returns:
- builder
-
enabledCloudwatchLogsExports
public InstanceState.Builder enabledCloudwatchLogsExports(java.lang.String... enabledCloudwatchLogsExports)
- Parameters:
enabledCloudwatchLogsExports
- Set of log types to enable for exporting to CloudWatch logs. If omitted, no logs will be exported. For supported values, see the EnableCloudwatchLogsExports.member.N parameter in [API action CreateDBInstance](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html).- Returns:
- builder
-
endpoint
public InstanceState.Builder endpoint(@Nullable com.pulumi.core.Output<java.lang.String> endpoint)
- Parameters:
endpoint
- The connection endpoint in `address:port` format.- Returns:
- builder
-
endpoint
public InstanceState.Builder endpoint(java.lang.String endpoint)
- Parameters:
endpoint
- The connection endpoint in `address:port` format.- Returns:
- builder
-
engine
public InstanceState.Builder engine(@Nullable com.pulumi.core.Output<java.lang.String> engine)
- Parameters:
engine
- The database engine to use. For supported values, see the Engine parameter in [API action CreateDBInstance](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html). Note that for Amazon Aurora instances the engine must match the DB cluster's engine'. For information on the difference between the available Aurora MySQL engines see [Comparison between Aurora MySQL 1 and Aurora MySQL 2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraMySQL.Updates.20180206.html) in the Amazon RDS User Guide.- Returns:
- builder
-
engine
public InstanceState.Builder engine(java.lang.String engine)
- Parameters:
engine
- The database engine to use. For supported values, see the Engine parameter in [API action CreateDBInstance](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html). Note that for Amazon Aurora instances the engine must match the DB cluster's engine'. For information on the difference between the available Aurora MySQL engines see [Comparison between Aurora MySQL 1 and Aurora MySQL 2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraMySQL.Updates.20180206.html) in the Amazon RDS User Guide.- Returns:
- builder
-
engineVersion
public InstanceState.Builder engineVersion(@Nullable com.pulumi.core.Output<java.lang.String> engineVersion)
- Parameters:
engineVersion
- The engine version to use. If `auto_minor_version_upgrade` is enabled, you can provide a prefix of the version such as `5.7` (for `5.7.10`). The actual engine version used is returned in the attribute `engine_version_actual`, see Attribute Reference below. For supported values, see the EngineVersion parameter in [API action CreateDBInstance](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html). Note that for Amazon Aurora instances the engine version must match the DB cluster's engine version'.- Returns:
- builder
-
engineVersion
public InstanceState.Builder engineVersion(java.lang.String engineVersion)
- Parameters:
engineVersion
- The engine version to use. If `auto_minor_version_upgrade` is enabled, you can provide a prefix of the version such as `5.7` (for `5.7.10`). The actual engine version used is returned in the attribute `engine_version_actual`, see Attribute Reference below. For supported values, see the EngineVersion parameter in [API action CreateDBInstance](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html). Note that for Amazon Aurora instances the engine version must match the DB cluster's engine version'.- Returns:
- builder
-
engineVersionActual
public InstanceState.Builder engineVersionActual(@Nullable com.pulumi.core.Output<java.lang.String> engineVersionActual)
- Parameters:
engineVersionActual
- The running version of the database.- Returns:
- builder
-
engineVersionActual
public InstanceState.Builder engineVersionActual(java.lang.String engineVersionActual)
- Parameters:
engineVersionActual
- The running version of the database.- Returns:
- builder
-
finalSnapshotIdentifier
public InstanceState.Builder finalSnapshotIdentifier(@Nullable com.pulumi.core.Output<java.lang.String> finalSnapshotIdentifier)
- Parameters:
finalSnapshotIdentifier
- The name of your final DB snapshot when this DB instance is deleted. Must be provided if `skip_final_snapshot` is set to `false`. The value must begin with a letter, only contain alphanumeric characters and hyphens, and not end with a hyphen or contain two consecutive hyphens. Must not be provided when deleting a read replica.- Returns:
- builder
-
finalSnapshotIdentifier
public InstanceState.Builder finalSnapshotIdentifier(java.lang.String finalSnapshotIdentifier)
- Parameters:
finalSnapshotIdentifier
- The name of your final DB snapshot when this DB instance is deleted. Must be provided if `skip_final_snapshot` is set to `false`. The value must begin with a letter, only contain alphanumeric characters and hyphens, and not end with a hyphen or contain two consecutive hyphens. Must not be provided when deleting a read replica.- Returns:
- builder
-
hostedZoneId
public InstanceState.Builder hostedZoneId(@Nullable com.pulumi.core.Output<java.lang.String> hostedZoneId)
- Parameters:
hostedZoneId
- Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.- Returns:
- builder
-
hostedZoneId
public InstanceState.Builder hostedZoneId(java.lang.String hostedZoneId)
- Parameters:
hostedZoneId
- Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.- Returns:
- builder
-
iamDatabaseAuthenticationEnabled
public InstanceState.Builder iamDatabaseAuthenticationEnabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> iamDatabaseAuthenticationEnabled)
- Parameters:
iamDatabaseAuthenticationEnabled
- Specifies whether mappings of AWS Identity and Access Management (IAM) accounts to database accounts is enabled.- Returns:
- builder
-
iamDatabaseAuthenticationEnabled
public InstanceState.Builder iamDatabaseAuthenticationEnabled(java.lang.Boolean iamDatabaseAuthenticationEnabled)
- Parameters:
iamDatabaseAuthenticationEnabled
- Specifies whether mappings of AWS Identity and Access Management (IAM) accounts to database accounts is enabled.- Returns:
- builder
-
identifier
public InstanceState.Builder identifier(@Nullable com.pulumi.core.Output<java.lang.String> identifier)
- Parameters:
identifier
- The name of the RDS instance, if omitted, this provider will assign a random, unique identifier. Required if `restore_to_point_in_time` is specified.- Returns:
- builder
-
identifier
public InstanceState.Builder identifier(java.lang.String identifier)
- Parameters:
identifier
- The name of the RDS instance, if omitted, this provider will assign a random, unique identifier. Required if `restore_to_point_in_time` is specified.- Returns:
- builder
-
identifierPrefix
public InstanceState.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 InstanceState.Builder identifierPrefix(java.lang.String identifierPrefix)
- Parameters:
identifierPrefix
- Creates a unique identifier beginning with the specified prefix. Conflicts with `identifier`.- Returns:
- builder
-
instanceClass
public InstanceState.Builder instanceClass(@Nullable com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,InstanceType>> instanceClass)
- Parameters:
instanceClass
- The instance type of the RDS instance.- Returns:
- builder
-
instanceClass
public InstanceState.Builder instanceClass(com.pulumi.core.Either<java.lang.String,InstanceType> instanceClass)
- Parameters:
instanceClass
- The instance type of the RDS instance.- Returns:
- builder
-
instanceClass
public InstanceState.Builder instanceClass(java.lang.String instanceClass)
- Parameters:
instanceClass
- The instance type of the RDS instance.- Returns:
- builder
-
instanceClass
public InstanceState.Builder instanceClass(InstanceType instanceClass)
- Parameters:
instanceClass
- The instance type of the RDS instance.- Returns:
- builder
-
iops
public InstanceState.Builder iops(@Nullable com.pulumi.core.Output<java.lang.Integer> iops)
- Parameters:
iops
- The amount of provisioned IOPS. Setting this implies a storage_type of "io1". Can only be set when `storage_type` is `"io1"` or `"gp3"`. Cannot be specified for gp3 storage if the `allocated_storage` value is below a per-`engine` threshold. See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#gp3-storage) for details.- Returns:
- builder
-
iops
public InstanceState.Builder iops(java.lang.Integer iops)
- Parameters:
iops
- The amount of provisioned IOPS. Setting this implies a storage_type of "io1". Can only be set when `storage_type` is `"io1"` or `"gp3"`. Cannot be specified for gp3 storage if the `allocated_storage` value is below a per-`engine` threshold. See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#gp3-storage) for details.- Returns:
- builder
-
kmsKeyId
public InstanceState.Builder kmsKeyId(@Nullable com.pulumi.core.Output<java.lang.String> kmsKeyId)
- Parameters:
kmsKeyId
- The ARN for the KMS encryption key. If creating an encrypted replica, set this to the destination KMS ARN.- Returns:
- builder
-
kmsKeyId
public InstanceState.Builder kmsKeyId(java.lang.String kmsKeyId)
- Parameters:
kmsKeyId
- The ARN for the KMS encryption key. If creating an encrypted replica, set this to the destination KMS ARN.- Returns:
- builder
-
latestRestorableTime
public InstanceState.Builder latestRestorableTime(@Nullable com.pulumi.core.Output<java.lang.String> latestRestorableTime)
- Parameters:
latestRestorableTime
- The latest time, in UTC [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8), to which a database can be restored with point-in-time restore.- Returns:
- builder
-
latestRestorableTime
public InstanceState.Builder latestRestorableTime(java.lang.String latestRestorableTime)
- Parameters:
latestRestorableTime
- The latest time, in UTC [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8), to which a database can be restored with point-in-time restore.- Returns:
- builder
-
licenseModel
public InstanceState.Builder licenseModel(@Nullable com.pulumi.core.Output<java.lang.String> licenseModel)
- Parameters:
licenseModel
- License model information for this DB instance. Valid values for this field are as follows: * RDS for MariaDB: `general-public-license` * RDS for Microsoft SQL Server: `license-included` * RDS for MySQL: `general-public-license` * RDS for Oracle: `bring-your-own-license | license-included` * RDS for PostgreSQL: `postgresql-license`- Returns:
- builder
-
licenseModel
public InstanceState.Builder licenseModel(java.lang.String licenseModel)
- Parameters:
licenseModel
- License model information for this DB instance. Valid values for this field are as follows: * RDS for MariaDB: `general-public-license` * RDS for Microsoft SQL Server: `license-included` * RDS for MySQL: `general-public-license` * RDS for Oracle: `bring-your-own-license | license-included` * RDS for PostgreSQL: `postgresql-license`- Returns:
- builder
-
listenerEndpoints
public InstanceState.Builder listenerEndpoints(@Nullable com.pulumi.core.Output<java.util.List<InstanceListenerEndpointArgs>> listenerEndpoints)
- Parameters:
listenerEndpoints
- Specifies the listener connection endpoint for SQL Server Always On. See endpoint below.- Returns:
- builder
-
listenerEndpoints
public InstanceState.Builder listenerEndpoints(java.util.List<InstanceListenerEndpointArgs> listenerEndpoints)
- Parameters:
listenerEndpoints
- Specifies the listener connection endpoint for SQL Server Always On. See endpoint below.- Returns:
- builder
-
listenerEndpoints
public InstanceState.Builder listenerEndpoints(InstanceListenerEndpointArgs... listenerEndpoints)
- Parameters:
listenerEndpoints
- Specifies the listener connection endpoint for SQL Server Always On. See endpoint below.- Returns:
- builder
-
maintenanceWindow
public InstanceState.Builder maintenanceWindow(@Nullable com.pulumi.core.Output<java.lang.String> maintenanceWindow)
- Parameters:
maintenanceWindow
- The window to perform maintenance in. Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00". See [RDS Maintenance Window docs](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow) for more information.- Returns:
- builder
-
maintenanceWindow
public InstanceState.Builder maintenanceWindow(java.lang.String maintenanceWindow)
- Parameters:
maintenanceWindow
- The window to perform maintenance in. Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00". See [RDS Maintenance Window docs](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow) for more information.- Returns:
- builder
-
manageMasterUserPassword
public InstanceState.Builder manageMasterUserPassword(@Nullable com.pulumi.core.Output<java.lang.Boolean> manageMasterUserPassword)
- Parameters:
manageMasterUserPassword
- Set to true to allow RDS to manage the master user password in Secrets Manager. Cannot be set if `password` is provided.- Returns:
- builder
-
manageMasterUserPassword
public InstanceState.Builder manageMasterUserPassword(java.lang.Boolean manageMasterUserPassword)
- Parameters:
manageMasterUserPassword
- Set to true to allow RDS to manage the master user password in Secrets Manager. Cannot be set if `password` is provided.- Returns:
- builder
-
masterUserSecretKmsKeyId
public InstanceState.Builder masterUserSecretKmsKeyId(@Nullable com.pulumi.core.Output<java.lang.String> masterUserSecretKmsKeyId)
- Parameters:
masterUserSecretKmsKeyId
- The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN. If not specified, the default KMS key for your Amazon Web Services account is used.- Returns:
- builder
-
masterUserSecretKmsKeyId
public InstanceState.Builder masterUserSecretKmsKeyId(java.lang.String masterUserSecretKmsKeyId)
- Parameters:
masterUserSecretKmsKeyId
- The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN. If not specified, the default KMS key for your Amazon Web Services account is used.- Returns:
- builder
-
masterUserSecrets
public InstanceState.Builder masterUserSecrets(@Nullable com.pulumi.core.Output<java.util.List<InstanceMasterUserSecretArgs>> masterUserSecrets)
- Parameters:
masterUserSecrets
- A block that specifies the master user secret. Only available when `manage_master_user_password` is set to true. Documented below.- Returns:
- builder
-
masterUserSecrets
public InstanceState.Builder masterUserSecrets(java.util.List<InstanceMasterUserSecretArgs> masterUserSecrets)
- Parameters:
masterUserSecrets
- A block that specifies the master user secret. Only available when `manage_master_user_password` is set to true. Documented below.- Returns:
- builder
-
masterUserSecrets
public InstanceState.Builder masterUserSecrets(InstanceMasterUserSecretArgs... masterUserSecrets)
- Parameters:
masterUserSecrets
- A block that specifies the master user secret. Only available when `manage_master_user_password` is set to true. Documented below.- Returns:
- builder
-
maxAllocatedStorage
public InstanceState.Builder maxAllocatedStorage(@Nullable com.pulumi.core.Output<java.lang.Integer> maxAllocatedStorage)
- Parameters:
maxAllocatedStorage
- When configured, the upper limit to which Amazon RDS can automatically scale the storage of the DB instance. Configuring this will automatically ignore differences to `allocated_storage`. Must be greater than or equal to `allocated_storage` or `0` to disable Storage Autoscaling.- Returns:
- builder
-
maxAllocatedStorage
public InstanceState.Builder maxAllocatedStorage(java.lang.Integer maxAllocatedStorage)
- Parameters:
maxAllocatedStorage
- When configured, the upper limit to which Amazon RDS can automatically scale the storage of the DB instance. Configuring this will automatically ignore differences to `allocated_storage`. Must be greater than or equal to `allocated_storage` or `0` to disable Storage Autoscaling.- Returns:
- builder
-
monitoringInterval
public InstanceState.Builder monitoringInterval(@Nullable com.pulumi.core.Output<java.lang.Integer> monitoringInterval)
- Parameters:
monitoringInterval
- The 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 InstanceState.Builder monitoringInterval(java.lang.Integer monitoringInterval)
- Parameters:
monitoringInterval
- The 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 InstanceState.Builder monitoringRoleArn(@Nullable com.pulumi.core.Output<java.lang.String> monitoringRoleArn)
- Parameters:
monitoringRoleArn
- The 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](https://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 InstanceState.Builder monitoringRoleArn(java.lang.String monitoringRoleArn)
- Parameters:
monitoringRoleArn
- The 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](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html) what IAM permissions are needed to allow Enhanced Monitoring for RDS Instances.- Returns:
- builder
-
multiAz
public InstanceState.Builder multiAz(@Nullable com.pulumi.core.Output<java.lang.Boolean> multiAz)
- Parameters:
multiAz
- Specifies if the RDS instance is multi-AZ- Returns:
- builder
-
multiAz
public InstanceState.Builder multiAz(java.lang.Boolean multiAz)
- Parameters:
multiAz
- Specifies if the RDS instance is multi-AZ- Returns:
- builder
-
name
@Deprecated public InstanceState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
Deprecated.This property has been deprecated. Please use 'dbName' instead.- Returns:
- builder
-
name
@Deprecated public InstanceState.Builder name(java.lang.String name)
Deprecated.This property has been deprecated. Please use 'dbName' instead.- Returns:
- builder
-
ncharCharacterSetName
public InstanceState.Builder ncharCharacterSetName(@Nullable com.pulumi.core.Output<java.lang.String> ncharCharacterSetName)
- Parameters:
ncharCharacterSetName
- The national character set is used in the NCHAR, NVARCHAR2, and NCLOB data types for Oracle instances. This can't be changed. See [Oracle Character Sets Supported in Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.OracleCharacterSets.html).- Returns:
- builder
-
ncharCharacterSetName
public InstanceState.Builder ncharCharacterSetName(java.lang.String ncharCharacterSetName)
- Parameters:
ncharCharacterSetName
- The national character set is used in the NCHAR, NVARCHAR2, and NCLOB data types for Oracle instances. This can't be changed. See [Oracle Character Sets Supported in Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.OracleCharacterSets.html).- Returns:
- builder
-
networkType
public InstanceState.Builder networkType(@Nullable com.pulumi.core.Output<java.lang.String> networkType)
- Parameters:
networkType
- The network type of the DB instance. Valid values: `IPV4`, `DUAL`.- Returns:
- builder
-
networkType
public InstanceState.Builder networkType(java.lang.String networkType)
- Parameters:
networkType
- The network type of the DB instance. Valid values: `IPV4`, `DUAL`.- Returns:
- builder
-
optionGroupName
public InstanceState.Builder optionGroupName(@Nullable com.pulumi.core.Output<java.lang.String> optionGroupName)
- Parameters:
optionGroupName
- Name of the DB option group to associate.- Returns:
- builder
-
optionGroupName
public InstanceState.Builder optionGroupName(java.lang.String optionGroupName)
- Parameters:
optionGroupName
- Name of the DB option group to associate.- Returns:
- builder
-
parameterGroupName
public InstanceState.Builder parameterGroupName(@Nullable com.pulumi.core.Output<java.lang.String> parameterGroupName)
- Parameters:
parameterGroupName
- Name of the DB parameter group to associate.- Returns:
- builder
-
parameterGroupName
public InstanceState.Builder parameterGroupName(java.lang.String parameterGroupName)
- Parameters:
parameterGroupName
- Name of the DB parameter group to associate.- Returns:
- builder
-
password
public InstanceState.Builder password(@Nullable com.pulumi.core.Output<java.lang.String> password)
- Parameters:
password
- (Required unless `manage_master_user_password` is set to true or unless a `snapshot_identifier` or `replicate_source_db` is provided or `manage_master_user_password` is set.) Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file. Cannot be set if `manage_master_user_password` is set to `true`.- Returns:
- builder
-
password
public InstanceState.Builder password(java.lang.String password)
- Parameters:
password
- (Required unless `manage_master_user_password` is set to true or unless a `snapshot_identifier` or `replicate_source_db` is provided or `manage_master_user_password` is set.) Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file. Cannot be set if `manage_master_user_password` is set to `true`.- Returns:
- builder
-
performanceInsightsEnabled
public InstanceState.Builder performanceInsightsEnabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> performanceInsightsEnabled)
- Parameters:
performanceInsightsEnabled
- Specifies whether Performance Insights are enabled. Defaults to false.- Returns:
- builder
-
performanceInsightsEnabled
public InstanceState.Builder performanceInsightsEnabled(java.lang.Boolean performanceInsightsEnabled)
- Parameters:
performanceInsightsEnabled
- Specifies whether Performance Insights are enabled. Defaults to false.- Returns:
- builder
-
performanceInsightsKmsKeyId
public InstanceState.Builder performanceInsightsKmsKeyId(@Nullable com.pulumi.core.Output<java.lang.String> performanceInsightsKmsKeyId)
- Parameters:
performanceInsightsKmsKeyId
- The 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. Once KMS key is set, it can never be changed.- Returns:
- builder
-
performanceInsightsKmsKeyId
public InstanceState.Builder performanceInsightsKmsKeyId(java.lang.String performanceInsightsKmsKeyId)
- Parameters:
performanceInsightsKmsKeyId
- The 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. Once KMS key is set, it can never be changed.- Returns:
- builder
-
performanceInsightsRetentionPeriod
public InstanceState.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 InstanceState.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 InstanceState.Builder port(@Nullable com.pulumi.core.Output<java.lang.Integer> port)
- Parameters:
port
- The port on which the DB accepts connections.- Returns:
- builder
-
port
public InstanceState.Builder port(java.lang.Integer port)
- Parameters:
port
- The port on which the DB accepts connections.- Returns:
- builder
-
publiclyAccessible
public InstanceState.Builder publiclyAccessible(@Nullable com.pulumi.core.Output<java.lang.Boolean> publiclyAccessible)
- Parameters:
publiclyAccessible
- Bool to control if instance is publicly accessible. Default is `false`.- Returns:
- builder
-
publiclyAccessible
public InstanceState.Builder publiclyAccessible(java.lang.Boolean publiclyAccessible)
- Parameters:
publiclyAccessible
- Bool to control if instance is publicly accessible. Default is `false`.- Returns:
- builder
-
replicaMode
public InstanceState.Builder replicaMode(@Nullable com.pulumi.core.Output<java.lang.String> replicaMode)
- Parameters:
replicaMode
- Specifies whether the replica is in either `mounted` or `open-read-only` mode. This attribute is only supported by Oracle instances. Oracle replicas operate in `open-read-only` mode unless otherwise specified. See [Working with Oracle Read Replicas](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) for more information.- Returns:
- builder
-
replicaMode
public InstanceState.Builder replicaMode(java.lang.String replicaMode)
- Parameters:
replicaMode
- Specifies whether the replica is in either `mounted` or `open-read-only` mode. This attribute is only supported by Oracle instances. Oracle replicas operate in `open-read-only` mode unless otherwise specified. See [Working with Oracle Read Replicas](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) for more information.- Returns:
- builder
-
replicas
public InstanceState.Builder replicas(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> replicas)
-
replicas
public InstanceState.Builder replicas(java.util.List<java.lang.String> replicas)
-
replicas
public InstanceState.Builder replicas(java.lang.String... replicas)
-
replicateSourceDb
public InstanceState.Builder replicateSourceDb(@Nullable com.pulumi.core.Output<java.lang.String> replicateSourceDb)
- Parameters:
replicateSourceDb
- Specifies that this resource is a Replicate database, and to use this value as the source database. This correlates to the `identifier` of another Amazon RDS Database to replicate (if replicating within a single region) or ARN of the Amazon RDS Database to replicate (if replicating cross-region). Note that if you are creating a cross-region replica of an encrypted database you will also need to specify a `kms_key_id`. See [DB Instance Replication][instance-replication] and [Working with PostgreSQL and MySQL Read Replicas](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html) for more information on using Replication.- Returns:
- builder
-
replicateSourceDb
public InstanceState.Builder replicateSourceDb(java.lang.String replicateSourceDb)
- Parameters:
replicateSourceDb
- Specifies that this resource is a Replicate database, and to use this value as the source database. This correlates to the `identifier` of another Amazon RDS Database to replicate (if replicating within a single region) or ARN of the Amazon RDS Database to replicate (if replicating cross-region). Note that if you are creating a cross-region replica of an encrypted database you will also need to specify a `kms_key_id`. See [DB Instance Replication][instance-replication] and [Working with PostgreSQL and MySQL Read Replicas](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html) for more information on using Replication.- Returns:
- builder
-
resourceId
public InstanceState.Builder resourceId(@Nullable com.pulumi.core.Output<java.lang.String> resourceId)
- Parameters:
resourceId
- The RDS Resource ID of this instance.- Returns:
- builder
-
resourceId
public InstanceState.Builder resourceId(java.lang.String resourceId)
- Parameters:
resourceId
- The RDS Resource ID of this instance.- Returns:
- builder
-
restoreToPointInTime
public InstanceState.Builder restoreToPointInTime(@Nullable com.pulumi.core.Output<InstanceRestoreToPointInTimeArgs> restoreToPointInTime)
- Parameters:
restoreToPointInTime
- A configuration block for restoring a DB instance to an arbitrary point in time. Requires the `identifier` argument to be set with the name of the new DB instance to be created. See Restore To Point In Time below for details.- Returns:
- builder
-
restoreToPointInTime
public InstanceState.Builder restoreToPointInTime(InstanceRestoreToPointInTimeArgs restoreToPointInTime)
- Parameters:
restoreToPointInTime
- A configuration block for restoring a DB instance to an arbitrary point in time. Requires the `identifier` argument to be set with the name of the new DB instance to be created. See Restore To Point In Time below for details.- Returns:
- builder
-
s3Import
public InstanceState.Builder s3Import(@Nullable com.pulumi.core.Output<InstanceS3ImportArgs> s3Import)
- Parameters:
s3Import
- Restore from a Percona Xtrabackup in S3. See [Importing Data into an Amazon RDS MySQL DB Instance](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/MySQL.Procedural.Importing.html)- Returns:
- builder
-
s3Import
public InstanceState.Builder s3Import(InstanceS3ImportArgs s3Import)
- Parameters:
s3Import
- Restore from a Percona Xtrabackup in S3. See [Importing Data into an Amazon RDS MySQL DB Instance](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/MySQL.Procedural.Importing.html)- Returns:
- builder
-
skipFinalSnapshot
public InstanceState.Builder skipFinalSnapshot(@Nullable com.pulumi.core.Output<java.lang.Boolean> skipFinalSnapshot)
- Parameters:
skipFinalSnapshot
- Determines whether a final DB snapshot is created before the DB instance is deleted. If true is specified, no DBSnapshot is created. If false is specified, a DB snapshot is created before the DB instance is deleted, using the value from `final_snapshot_identifier`. Default is `false`.- Returns:
- builder
-
skipFinalSnapshot
public InstanceState.Builder skipFinalSnapshot(java.lang.Boolean skipFinalSnapshot)
- Parameters:
skipFinalSnapshot
- Determines whether a final DB snapshot is created before the DB instance is deleted. If true is specified, no DBSnapshot is created. If false is specified, a DB snapshot is created before the DB instance is deleted, using the value from `final_snapshot_identifier`. Default is `false`.- Returns:
- builder
-
snapshotIdentifier
public InstanceState.Builder snapshotIdentifier(@Nullable com.pulumi.core.Output<java.lang.String> snapshotIdentifier)
- Parameters:
snapshotIdentifier
- Specifies whether or not to create this database from a snapshot. This correlates to the snapshot ID you'd find in the RDS console, e.g: rds:production-2015-06-26-06-05.- Returns:
- builder
-
snapshotIdentifier
public InstanceState.Builder snapshotIdentifier(java.lang.String snapshotIdentifier)
- Parameters:
snapshotIdentifier
- Specifies whether or not to create this database from a snapshot. This correlates to the snapshot ID you'd find in the RDS console, e.g: rds:production-2015-06-26-06-05.- Returns:
- builder
-
status
public InstanceState.Builder status(@Nullable com.pulumi.core.Output<java.lang.String> status)
- Parameters:
status
- The RDS instance status.- Returns:
- builder
-
status
public InstanceState.Builder status(java.lang.String status)
- Parameters:
status
- The RDS instance status.- Returns:
- builder
-
storageEncrypted
public InstanceState.Builder storageEncrypted(@Nullable com.pulumi.core.Output<java.lang.Boolean> storageEncrypted)
- Parameters:
storageEncrypted
- Specifies whether the DB instance is encrypted. Note that if you are creating a cross-region read replica this field is ignored and you should instead declare `kms_key_id` with a valid ARN. The default is `false` if not specified.- Returns:
- builder
-
storageEncrypted
public InstanceState.Builder storageEncrypted(java.lang.Boolean storageEncrypted)
- Parameters:
storageEncrypted
- Specifies whether the DB instance is encrypted. Note that if you are creating a cross-region read replica this field is ignored and you should instead declare `kms_key_id` with a valid ARN. The default is `false` if not specified.- Returns:
- builder
-
storageThroughput
public InstanceState.Builder storageThroughput(@Nullable com.pulumi.core.Output<java.lang.Integer> storageThroughput)
- Parameters:
storageThroughput
- The storage throughput value for the DB instance. Can only be set when `storage_type` is `"gp3"`. Cannot be specified if the `allocated_storage` value is below a per-`engine` threshold. See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#gp3-storage) for details.- Returns:
- builder
-
storageThroughput
public InstanceState.Builder storageThroughput(java.lang.Integer storageThroughput)
- Parameters:
storageThroughput
- The storage throughput value for the DB instance. Can only be set when `storage_type` is `"gp3"`. Cannot be specified if the `allocated_storage` value is below a per-`engine` threshold. See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#gp3-storage) for details.- Returns:
- builder
-
storageType
public InstanceState.Builder storageType(@Nullable com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,StorageType>> storageType)
- Parameters:
storageType
- One of "standard" (magnetic), "gp2" (general purpose SSD), "gp3" (general purpose SSD that needs `iops` independently) or "io1" (provisioned IOPS SSD). The default is "io1" if `iops` is specified, "gp2" if not.- Returns:
- builder
-
storageType
public InstanceState.Builder storageType(com.pulumi.core.Either<java.lang.String,StorageType> storageType)
- Parameters:
storageType
- One of "standard" (magnetic), "gp2" (general purpose SSD), "gp3" (general purpose SSD that needs `iops` independently) or "io1" (provisioned IOPS SSD). The default is "io1" if `iops` is specified, "gp2" if not.- Returns:
- builder
-
storageType
public InstanceState.Builder storageType(java.lang.String storageType)
- Parameters:
storageType
- One of "standard" (magnetic), "gp2" (general purpose SSD), "gp3" (general purpose SSD that needs `iops` independently) or "io1" (provisioned IOPS SSD). The default is "io1" if `iops` is specified, "gp2" if not.- Returns:
- builder
-
storageType
public InstanceState.Builder storageType(StorageType storageType)
- Parameters:
storageType
- One of "standard" (magnetic), "gp2" (general purpose SSD), "gp3" (general purpose SSD that needs `iops` independently) or "io1" (provisioned IOPS SSD). The default is "io1" if `iops` is specified, "gp2" if not.- Returns:
- builder
-
tags
public InstanceState.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public InstanceState.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
@Deprecated public InstanceState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
tagsAll
@Deprecated public InstanceState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
timezone
public InstanceState.Builder timezone(@Nullable com.pulumi.core.Output<java.lang.String> timezone)
- Parameters:
timezone
- Time zone of the DB instance. `timezone` is currently only supported by Microsoft SQL Server. The `timezone` can only be set on creation. See [MSSQL User Guide](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone) for more information.- Returns:
- builder
-
timezone
public InstanceState.Builder timezone(java.lang.String timezone)
- Parameters:
timezone
- Time zone of the DB instance. `timezone` is currently only supported by Microsoft SQL Server. The `timezone` can only be set on creation. See [MSSQL User Guide](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone) for more information.- Returns:
- builder
-
username
public InstanceState.Builder username(@Nullable com.pulumi.core.Output<java.lang.String> username)
- Parameters:
username
- (Required unless a `snapshot_identifier` or `replicate_source_db` is provided) Username for the master DB user. Cannot be specified for a replica.- Returns:
- builder
-
username
public InstanceState.Builder username(java.lang.String username)
- Parameters:
username
- (Required unless a `snapshot_identifier` or `replicate_source_db` is provided) Username for the master DB user. Cannot be specified for a replica.- Returns:
- builder
-
vpcSecurityGroupIds
public InstanceState.Builder vpcSecurityGroupIds(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSecurityGroupIds)
- Parameters:
vpcSecurityGroupIds
- List of VPC security groups to associate.- Returns:
- builder
-
vpcSecurityGroupIds
public InstanceState.Builder vpcSecurityGroupIds(java.util.List<java.lang.String> vpcSecurityGroupIds)
- Parameters:
vpcSecurityGroupIds
- List of VPC security groups to associate.- Returns:
- builder
-
vpcSecurityGroupIds
public InstanceState.Builder vpcSecurityGroupIds(java.lang.String... vpcSecurityGroupIds)
- Parameters:
vpcSecurityGroupIds
- List of VPC security groups to associate.- Returns:
- builder
-
build
public InstanceState build()
-
-