Class InstanceState.Builder

  • Enclosing class:
    InstanceState

    public static final class InstanceState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • address

        public InstanceState.Builder address​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> address)
        Parameters:
        address - DNS address of the DB instance.
        Returns:
        builder
      • address

        public InstanceState.Builder address​(java.lang.String address)
        Parameters:
        address - DNS address of the DB instance.
        Returns:
        builder
      • allocatedStorage

        public InstanceState.Builder allocatedStorage​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Integer> allocatedStorage)
        Parameters:
        allocatedStorage - Allocated storage in gibibytes. If `maxAllocatedStorage` is configured, this argument represents the initial storage allocation and differences from the configuration will be ignored automatically when Storage Autoscaling occurs. If `replicateSourceDb` 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 - Allocated storage in gibibytes. If `maxAllocatedStorage` is configured, this argument represents the initial storage allocation and differences from the configuration will be ignored automatically when Storage Autoscaling occurs. If `replicateSourceDb` 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 - Whether 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 - Whether 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 - 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 - 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 - ARN of the RDS instance.
        Returns:
        builder
      • arn

        public InstanceState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the RDS instance.
        Returns:
        builder
      • autoMinorVersionUpgrade

        public InstanceState.Builder autoMinorVersionUpgrade​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> autoMinorVersionUpgrade)
        Parameters:
        autoMinorVersionUpgrade - Whether 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 - Whether 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 - AZ for the RDS instance.
        Returns:
        builder
      • availabilityZone

        public InstanceState.Builder availabilityZone​(java.lang.String availabilityZone)
        Parameters:
        availabilityZone - AZ for the RDS instance.
        Returns:
        builder
      • backupRetentionPeriod

        public InstanceState.Builder backupRetentionPeriod​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Integer> backupRetentionPeriod)
        Parameters:
        backupRetentionPeriod - 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](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Replication.html), uses low-downtime updates, or will use [RDS Blue/Green deployments](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html).
        Returns:
        builder
      • backupRetentionPeriod

        public InstanceState.Builder backupRetentionPeriod​(java.lang.Integer backupRetentionPeriod)
        Parameters:
        backupRetentionPeriod - 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](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Replication.html), uses low-downtime updates, or will use [RDS Blue/Green deployments](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html).
        Returns:
        builder
      • backupTarget

        public InstanceState.Builder backupTarget​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> backupTarget)
        Parameters:
        backupTarget - 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 - 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 - Daily time range (in UTC) during which automated backups are created if they are enabled. Example: "09:46-10:16". Must not overlap with `maintenanceWindow`.
        Returns:
        builder
      • backupWindow

        public InstanceState.Builder backupWindow​(java.lang.String backupWindow)
        Parameters:
        backupWindow - Daily time range (in UTC) during which automated backups are created if they are enabled. Example: "09:46-10:16". Must not overlap with `maintenanceWindow`.
        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](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html). See `blueGreenUpdate` Block below.
        Returns:
        builder
      • blueGreenUpdate

        public InstanceState.Builder blueGreenUpdate​(InstanceBlueGreenUpdateArgs blueGreenUpdate)
        Parameters:
        blueGreenUpdate - Enables low-downtime updates using [RDS Blue/Green deployments](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html). See `blueGreenUpdate` Block below.
        Returns:
        builder
      • caCertIdentifier

        public InstanceState.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 InstanceState.Builder caCertIdentifier​(java.lang.String caCertIdentifier)
        Parameters:
        caCertIdentifier - 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 - 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 `replicateSourceDb`, `restoreToPointInTime`, `s3Import`, or `snapshotIdentifier`.
        Returns:
        builder
      • characterSetName

        public InstanceState.Builder characterSetName​(java.lang.String characterSetName)
        Parameters:
        characterSetName - 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 `replicateSourceDb`, `restoreToPointInTime`, `s3Import`, or `snapshotIdentifier`.
        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 - 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 - 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 - 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.
        Returns:
        builder
      • customerOwnedIpEnabled

        public InstanceState.Builder customerOwnedIpEnabled​(java.lang.Boolean customerOwnedIpEnabled)
        Parameters:
        customerOwnedIpEnabled - 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.
        Returns:
        builder
      • databaseInsightsMode

        public InstanceState.Builder databaseInsightsMode​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> databaseInsightsMode)
        Parameters:
        databaseInsightsMode - Mode of Database Insights that is enabled for the instance. Valid values: `standard`, `advanced` .
        Returns:
        builder
      • databaseInsightsMode

        public InstanceState.Builder databaseInsightsMode​(java.lang.String databaseInsightsMode)
        Parameters:
        databaseInsightsMode - Mode of Database Insights that is enabled for the instance. Valid values: `standard`, `advanced` .
        Returns:
        builder
      • dbName

        public InstanceState.Builder dbName​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> dbName)
        Parameters:
        dbName - 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 - 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` Subnet Group. When working with read replicas created in the same region, defaults to the Subnet Group Name of the source DB. When working with read replicas created in a different region, defaults to the `default` Subnet Group. 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` Subnet Group. When working with read replicas created in the same region, defaults to the Subnet Group Name of the source DB. When working with read replicas created in a different region, defaults to the `default` Subnet Group. 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 - 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 - 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 - ID of the Directory Service Active Directory domain to create the instance in. Conflicts with `domainFqdn`, `domainOu`, `domainAuthSecretArn` and a `domainDnsIps`.
        Returns:
        builder
      • domain

        public InstanceState.Builder domain​(java.lang.String domain)
        Parameters:
        domain - ID of the Directory Service Active Directory domain to create the instance in. Conflicts with `domainFqdn`, `domainOu`, `domainAuthSecretArn` and a `domainDnsIps`.
        Returns:
        builder
      • domainAuthSecretArn

        public InstanceState.Builder domainAuthSecretArn​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> domainAuthSecretArn)
        Parameters:
        domainAuthSecretArn - ARN for the Secrets Manager secret with the self managed Active Directory credentials for the user joining the domain. Conflicts with `domain` and `domainIamRoleName`.
        Returns:
        builder
      • domainAuthSecretArn

        public InstanceState.Builder domainAuthSecretArn​(java.lang.String domainAuthSecretArn)
        Parameters:
        domainAuthSecretArn - ARN for the Secrets Manager secret with the self managed Active Directory credentials for the user joining the domain. Conflicts with `domain` and `domainIamRoleName`.
        Returns:
        builder
      • domainDnsIps

        public InstanceState.Builder domainDnsIps​(@Nullable
                                                  com.pulumi.core.Output<java.util.List<java.lang.String>> domainDnsIps)
        Parameters:
        domainDnsIps - 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 `domainIamRoleName`.
        Returns:
        builder
      • domainDnsIps

        public InstanceState.Builder domainDnsIps​(java.util.List<java.lang.String> domainDnsIps)
        Parameters:
        domainDnsIps - 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 `domainIamRoleName`.
        Returns:
        builder
      • domainDnsIps

        public InstanceState.Builder domainDnsIps​(java.lang.String... domainDnsIps)
        Parameters:
        domainDnsIps - 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 `domainIamRoleName`.
        Returns:
        builder
      • domainFqdn

        public InstanceState.Builder domainFqdn​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> domainFqdn)
        Parameters:
        domainFqdn - Fully qualified domain name (FQDN) of the self managed Active Directory domain. Conflicts with `domain` and `domainIamRoleName`.
        Returns:
        builder
      • domainFqdn

        public InstanceState.Builder domainFqdn​(java.lang.String domainFqdn)
        Parameters:
        domainFqdn - Fully qualified domain name (FQDN) of the self managed Active Directory domain. Conflicts with `domain` and `domainIamRoleName`.
        Returns:
        builder
      • domainIamRoleName

        public InstanceState.Builder domainIamRoleName​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> domainIamRoleName)
        Parameters:
        domainIamRoleName - Name of the IAM role to be used when making API calls to the Directory Service. Conflicts with `domainFqdn`, `domainOu`, `domainAuthSecretArn` and a `domainDnsIps`.
        Returns:
        builder
      • domainIamRoleName

        public InstanceState.Builder domainIamRoleName​(java.lang.String domainIamRoleName)
        Parameters:
        domainIamRoleName - Name of the IAM role to be used when making API calls to the Directory Service. Conflicts with `domainFqdn`, `domainOu`, `domainAuthSecretArn` and a `domainDnsIps`.
        Returns:
        builder
      • domainOu

        public InstanceState.Builder domainOu​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> domainOu)
        Parameters:
        domainOu - Self managed Active Directory organizational unit for your DB instance to join. Conflicts with `domain` and `domainIamRoleName`.
        Returns:
        builder
      • domainOu

        public InstanceState.Builder domainOu​(java.lang.String domainOu)
        Parameters:
        domainOu - Self managed Active Directory organizational unit for your DB instance to join. Conflicts with `domain` and `domainIamRoleName`.
        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 - Connection endpoint in `address:port` format.
        Returns:
        builder
      • endpoint

        public InstanceState.Builder endpoint​(java.lang.String endpoint)
        Parameters:
        endpoint - Connection endpoint in `address:port` format.
        Returns:
        builder
      • engine

        public InstanceState.Builder engine​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> engine)
        Parameters:
        engine - 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 - 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
      • engineLifecycleSupport

        public InstanceState.Builder engineLifecycleSupport​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> engineLifecycleSupport)
        Parameters:
        engineLifecycleSupport - Life cycle type for this DB instance. This setting applies only to RDS for MySQL and RDS for PostgreSQL. Valid values are `open-source-rds-extended-support`, `open-source-rds-extended-support-disabled`. Default value is `open-source-rds-extended-support`. [Using Amazon RDS Extended Support]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
        Returns:
        builder
      • engineLifecycleSupport

        public InstanceState.Builder engineLifecycleSupport​(java.lang.String engineLifecycleSupport)
        Parameters:
        engineLifecycleSupport - Life cycle type for this DB instance. This setting applies only to RDS for MySQL and RDS for PostgreSQL. Valid values are `open-source-rds-extended-support`, `open-source-rds-extended-support-disabled`. Default value is `open-source-rds-extended-support`. [Using Amazon RDS Extended Support]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
        Returns:
        builder
      • engineVersion

        public InstanceState.Builder engineVersion​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> engineVersion)
        Parameters:
        engineVersion - Engine version to use. If `autoMinorVersionUpgrade` is enabled, you can provide a prefix of the version such as `8.0` (for `8.0.36`). The actual engine version used is returned in the attribute `engineVersionActual`, 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 - Engine version to use. If `autoMinorVersionUpgrade` is enabled, you can provide a prefix of the version such as `8.0` (for `8.0.36`). The actual engine version used is returned in the attribute `engineVersionActual`, 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 - Running version of the database.
        Returns:
        builder
      • engineVersionActual

        public InstanceState.Builder engineVersionActual​(java.lang.String engineVersionActual)
        Parameters:
        engineVersionActual - Running version of the database.
        Returns:
        builder
      • finalSnapshotIdentifier

        public InstanceState.Builder finalSnapshotIdentifier​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> finalSnapshotIdentifier)
        Parameters:
        finalSnapshotIdentifier - Name of your final DB snapshot when this DB instance is deleted. Must be provided if `skipFinalSnapshot` 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 - Name of your final DB snapshot when this DB instance is deleted. Must be provided if `skipFinalSnapshot` 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 - 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 - 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 - 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 - 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 - Name of the RDS instance, if omitted, this provider will assign a random, unique identifier. Required if `restoreToPointInTime` is specified.
        Returns:
        builder
      • identifier

        public InstanceState.Builder identifier​(java.lang.String identifier)
        Parameters:
        identifier - Name of the RDS instance, if omitted, this provider will assign a random, unique identifier. Required if `restoreToPointInTime` 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 - Instance type of the RDS instance.
        Returns:
        builder
      • instanceClass

        public InstanceState.Builder instanceClass​(com.pulumi.core.Either<java.lang.String,​InstanceType> instanceClass)
        Parameters:
        instanceClass - Instance type of the RDS instance.
        Returns:
        builder
      • instanceClass

        public InstanceState.Builder instanceClass​(java.lang.String instanceClass)
        Parameters:
        instanceClass - Instance type of the RDS instance.
        Returns:
        builder
      • instanceClass

        public InstanceState.Builder instanceClass​(InstanceType instanceClass)
        Parameters:
        instanceClass - Instance type of the RDS instance.
        Returns:
        builder
      • iops

        public InstanceState.Builder iops​(@Nullable
                                          com.pulumi.core.Output<java.lang.Integer> iops)
        Parameters:
        iops - Amount of provisioned IOPS. Setting this implies a storageType of "io1" or "io2". Can only be set when `storageType` is `"io1"`, `"io2` or `"gp3"`. Cannot be specified for gp3 storage if the `allocatedStorage` 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 - Amount of provisioned IOPS. Setting this implies a storageType of "io1" or "io2". Can only be set when `storageType` is `"io1"`, `"io2` or `"gp3"`. Cannot be specified for gp3 storage if the `allocatedStorage` 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 - 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 - 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 - 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 - 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 - Listener connection endpoint for SQL Server Always On. See `listenerEndpoint` Block below.
        Returns:
        builder
      • listenerEndpoints

        public InstanceState.Builder listenerEndpoints​(java.util.List<InstanceListenerEndpointArgs> listenerEndpoints)
        Parameters:
        listenerEndpoints - Listener connection endpoint for SQL Server Always On. See `listenerEndpoint` Block below.
        Returns:
        builder
      • listenerEndpoints

        public InstanceState.Builder listenerEndpoints​(InstanceListenerEndpointArgs... listenerEndpoints)
        Parameters:
        listenerEndpoints - Listener connection endpoint for SQL Server Always On. See `listenerEndpoint` Block below.
        Returns:
        builder
      • maintenanceWindow

        public InstanceState.Builder maintenanceWindow​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> maintenanceWindow)
        Parameters:
        maintenanceWindow - 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 - 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` or `passwordWo` 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` or `passwordWo` is provided.
        Returns:
        builder
      • masterUserSecretKmsKeyId

        public InstanceState.Builder masterUserSecretKmsKeyId​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> masterUserSecretKmsKeyId)
        Parameters:
        masterUserSecretKmsKeyId - 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 - 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 - Block that specifies the master user secret. Only available when `manageMasterUserPassword` is set to true. See `masterUserSecret` Block below.
        Returns:
        builder
      • masterUserSecrets

        public InstanceState.Builder masterUserSecrets​(java.util.List<InstanceMasterUserSecretArgs> masterUserSecrets)
        Parameters:
        masterUserSecrets - Block that specifies the master user secret. Only available when `manageMasterUserPassword` is set to true. See `masterUserSecret` Block below.
        Returns:
        builder
      • masterUserSecrets

        public InstanceState.Builder masterUserSecrets​(InstanceMasterUserSecretArgs... masterUserSecrets)
        Parameters:
        masterUserSecrets - Block that specifies the master user secret. Only available when `manageMasterUserPassword` is set to true. See `masterUserSecret` Block below.
        Returns:
        builder
      • maxAllocatedStorage

        public InstanceState.Builder maxAllocatedStorage​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Integer> maxAllocatedStorage)
        Parameters:
        maxAllocatedStorage - Maximum storage (in GiB) that Amazon RDS can automatically scale to for this DB instance. By default, Storage Autoscaling is disabled. To enable Storage Autoscaling, set `maxAllocatedStorage` to **greater than or equal to** `allocatedStorage`. Setting `maxAllocatedStorage` to 0 explicitly disables Storage Autoscaling. When configured, changes to `allocatedStorage` will be automatically ignored as the storage can dynamically scale.
        Returns:
        builder
      • maxAllocatedStorage

        public InstanceState.Builder maxAllocatedStorage​(java.lang.Integer maxAllocatedStorage)
        Parameters:
        maxAllocatedStorage - Maximum storage (in GiB) that Amazon RDS can automatically scale to for this DB instance. By default, Storage Autoscaling is disabled. To enable Storage Autoscaling, set `maxAllocatedStorage` to **greater than or equal to** `allocatedStorage`. Setting `maxAllocatedStorage` to 0 explicitly disables Storage Autoscaling. When configured, changes to `allocatedStorage` will be automatically ignored as the storage can dynamically scale.
        Returns:
        builder
      • monitoringInterval

        public InstanceState.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 InstanceState.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 InstanceState.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](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 - 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 - Whether the RDS instance is multi-AZ.
        Returns:
        builder
      • multiAz

        public InstanceState.Builder multiAz​(java.lang.Boolean multiAz)
        Parameters:
        multiAz - Whether the RDS instance is multi-AZ.
        Returns:
        builder
      • ncharCharacterSetName

        public InstanceState.Builder ncharCharacterSetName​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> ncharCharacterSetName)
        Parameters:
        ncharCharacterSetName - 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 - 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 - Network type of the DB instance. Valid values: `IPV4`, `DUAL`.
        Returns:
        builder
      • networkType

        public InstanceState.Builder networkType​(java.lang.String networkType)
        Parameters:
        networkType - 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 - 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 `manageMasterUserPassword` is set to `true`.
        Returns:
        builder
      • password

        public InstanceState.Builder password​(java.lang.String password)
        Parameters:
        password - 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 `manageMasterUserPassword` is set to `true`.
        Returns:
        builder
      • passwordWo

        public InstanceState.Builder passwordWo​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> passwordWo)
        Parameters:
        passwordWo - **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Password for the master DB user. Note that this may show up in logs. Cannot be set if `manageMasterUserPassword` is set to `true`. If set, requires `passwordWoVersion` to be set.
        Returns:
        builder
      • passwordWo

        public InstanceState.Builder passwordWo​(java.lang.String passwordWo)
        Parameters:
        passwordWo - **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Password for the master DB user. Note that this may show up in logs. Cannot be set if `manageMasterUserPassword` is set to `true`. If set, requires `passwordWoVersion` to be set.
        Returns:
        builder
      • passwordWoVersion

        public InstanceState.Builder passwordWoVersion​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Integer> passwordWoVersion)
        Parameters:
        passwordWoVersion - Required when `passwordWo` is set. Changing this value triggers an update to `passwordWo`.
        Returns:
        builder
      • passwordWoVersion

        public InstanceState.Builder passwordWoVersion​(java.lang.Integer passwordWoVersion)
        Parameters:
        passwordWoVersion - Required when `passwordWo` is set. Changing this value triggers an update to `passwordWo`.
        Returns:
        builder
      • performanceInsightsEnabled

        public InstanceState.Builder performanceInsightsEnabled​(@Nullable
                                                                com.pulumi.core.Output<java.lang.Boolean> performanceInsightsEnabled)
        Parameters:
        performanceInsightsEnabled - Whether Performance Insights are enabled. Defaults to false.
        Returns:
        builder
      • performanceInsightsEnabled

        public InstanceState.Builder performanceInsightsEnabled​(java.lang.Boolean performanceInsightsEnabled)
        Parameters:
        performanceInsightsEnabled - 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 - ARN for the KMS key to encrypt Performance Insights data. When specifying `performanceInsightsKmsKeyId`, `performanceInsightsEnabled` 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 - ARN for the KMS key to encrypt Performance Insights data. When specifying `performanceInsightsKmsKeyId`, `performanceInsightsEnabled` 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 `performanceInsightsRetentionPeriod`, `performanceInsightsEnabled` 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 `performanceInsightsRetentionPeriod`, `performanceInsightsEnabled` 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 - Port on which the DB accepts connections.
        Returns:
        builder
      • port

        public InstanceState.Builder port​(java.lang.Integer port)
        Parameters:
        port - 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
      • region

        public InstanceState.Builder region​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public InstanceState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • replicaMode

        public InstanceState.Builder replicaMode​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> replicaMode)
        Parameters:
        replicaMode - 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 - 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)
        Parameters:
        replicas - List of read replica identifiers associated with this instance.
        Returns:
        builder
      • replicas

        public InstanceState.Builder replicas​(java.util.List<java.lang.String> replicas)
        Parameters:
        replicas - List of read replica identifiers associated with this instance.
        Returns:
        builder
      • replicas

        public InstanceState.Builder replicas​(java.lang.String... replicas)
        Parameters:
        replicas - List of read replica identifiers associated with this instance.
        Returns:
        builder
      • replicateSourceDb

        public InstanceState.Builder replicateSourceDb​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> replicateSourceDb)
        Parameters:
        replicateSourceDb - Set this to specify that this resource is a Replica database, and to use this value as the source database. If replicating an Amazon RDS Database Instance in the same region, use the `identifier` of the source DB, unless also specifying the `dbSubnetGroupName`. If specifying the `dbSubnetGroupName` in the same region, use the `arn` of the source DB. If replicating an Instance in a different region, use the `arn` of the source DB. Note that if you are creating a cross-region replica of an encrypted database you will also need to specify a `kmsKeyId`. See [DB Instance Replication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Replication.html) 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 - Set this to specify that this resource is a Replica database, and to use this value as the source database. If replicating an Amazon RDS Database Instance in the same region, use the `identifier` of the source DB, unless also specifying the `dbSubnetGroupName`. If specifying the `dbSubnetGroupName` in the same region, use the `arn` of the source DB. If replicating an Instance in a different region, use the `arn` of the source DB. Note that if you are creating a cross-region replica of an encrypted database you will also need to specify a `kmsKeyId`. See [DB Instance Replication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Replication.html) 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 - RDS Resource ID of this instance.
        Returns:
        builder
      • resourceId

        public InstanceState.Builder resourceId​(java.lang.String resourceId)
        Parameters:
        resourceId - RDS Resource ID of this instance.
        Returns:
        builder
      • restoreToPointInTime

        public InstanceState.Builder restoreToPointInTime​(@Nullable
                                                          com.pulumi.core.Output<InstanceRestoreToPointInTimeArgs> restoreToPointInTime)
        Parameters:
        restoreToPointInTime - 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 `restoreToPointInTime` Block below for details.
        Returns:
        builder
      • restoreToPointInTime

        public InstanceState.Builder restoreToPointInTime​(InstanceRestoreToPointInTimeArgs restoreToPointInTime)
        Parameters:
        restoreToPointInTime - 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 `restoreToPointInTime` Block 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). See `s3Import` Block below.
        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). See `s3Import` Block below.
        Returns:
        builder
      • skipFinalSnapshot

        public InstanceState.Builder skipFinalSnapshot​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Boolean> skipFinalSnapshot)
        Parameters:
        skipFinalSnapshot - 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 `finalSnapshotIdentifier`. Default is `false`.
        Returns:
        builder
      • skipFinalSnapshot

        public InstanceState.Builder skipFinalSnapshot​(java.lang.Boolean skipFinalSnapshot)
        Parameters:
        skipFinalSnapshot - 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 `finalSnapshotIdentifier`. Default is `false`.
        Returns:
        builder
      • snapshotIdentifier

        public InstanceState.Builder snapshotIdentifier​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> snapshotIdentifier)
        Parameters:
        snapshotIdentifier - Whether or not to create this database from a snapshot. This corresponds 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 - Whether or not to create this database from a snapshot. This corresponds 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 - RDS instance status.
        Returns:
        builder
      • status

        public InstanceState.Builder status​(java.lang.String status)
        Parameters:
        status - RDS instance status.
        Returns:
        builder
      • storageEncrypted

        public InstanceState.Builder storageEncrypted​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Boolean> storageEncrypted)
        Parameters:
        storageEncrypted - 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 `kmsKeyId` with a valid ARN. The default is `false` if not specified.
        Returns:
        builder
      • storageEncrypted

        public InstanceState.Builder storageEncrypted​(java.lang.Boolean storageEncrypted)
        Parameters:
        storageEncrypted - 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 `kmsKeyId` 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 - Storage throughput value for the DB instance. Can only be set when `storageType` is `"gp3"`. Cannot be specified if the `allocatedStorage` 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 - Storage throughput value for the DB instance. Can only be set when `storageType` is `"gp3"`. Cannot be specified if the `allocatedStorage` 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) "io1" (provisioned IOPS SSD) or "io2" (block express storage 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) "io1" (provisioned IOPS SSD) or "io2" (block express storage 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) "io1" (provisioned IOPS SSD) or "io2" (block express storage 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) "io1" (provisioned IOPS SSD) or "io2" (block express storage 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 - Map of tags to assign to the resource. If configured with a provider `defaultTags` 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 - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public InstanceState.Builder tagsAll​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public InstanceState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` 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
      • upgradeRolloutOrder

        public InstanceState.Builder upgradeRolloutOrder​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> upgradeRolloutOrder)
        Parameters:
        upgradeRolloutOrder - Order in which the instances are upgraded (`first`, `second`, `last`). See [the AWS documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Maintenance.AMVU.UpgradeRollout.html) for details.
        Returns:
        builder
      • upgradeRolloutOrder

        public InstanceState.Builder upgradeRolloutOrder​(java.lang.String upgradeRolloutOrder)
        Parameters:
        upgradeRolloutOrder - Order in which the instances are upgraded (`first`, `second`, `last`). See [the AWS documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Maintenance.AMVU.UpgradeRollout.html) for details.
        Returns:
        builder
      • upgradeStorageConfig

        public InstanceState.Builder upgradeStorageConfig​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Boolean> upgradeStorageConfig)
        Parameters:
        upgradeStorageConfig - Whether to upgrade the storage file system configuration on the read replica. Can only be set with `replicateSourceDb`.
        Returns:
        builder
      • upgradeStorageConfig

        public InstanceState.Builder upgradeStorageConfig​(java.lang.Boolean upgradeStorageConfig)
        Parameters:
        upgradeStorageConfig - Whether to upgrade the storage file system configuration on the read replica. Can only be set with `replicateSourceDb`.
        Returns:
        builder
      • username

        public InstanceState.Builder username​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> username)
        Parameters:
        username - 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 - 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
      • warningEventCategories

        public InstanceState.Builder warningEventCategories​(@Nullable
                                                            com.pulumi.core.Output<java.util.List<java.lang.String>> warningEventCategories)
        Parameters:
        warningEventCategories - Set of RDS event categories (for example `failure`, `maintenance`) to check for after create and update operations. If set, the provider describes RDS events reported for this instance during the operation and surfaces a warning diagnostic, with the RDS event message, for each one found in these categories. Has no effect if unset; see [DescribeEvents](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeEvents.html) and the `aws.rds.getEvents` data source for the source of these events. Requires the `rds:DescribeEvents` IAM permission when set.
        Returns:
        builder
      • warningEventCategories

        public InstanceState.Builder warningEventCategories​(java.util.List<java.lang.String> warningEventCategories)
        Parameters:
        warningEventCategories - Set of RDS event categories (for example `failure`, `maintenance`) to check for after create and update operations. If set, the provider describes RDS events reported for this instance during the operation and surfaces a warning diagnostic, with the RDS event message, for each one found in these categories. Has no effect if unset; see [DescribeEvents](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeEvents.html) and the `aws.rds.getEvents` data source for the source of these events. Requires the `rds:DescribeEvents` IAM permission when set.
        Returns:
        builder
      • warningEventCategories

        public InstanceState.Builder warningEventCategories​(java.lang.String... warningEventCategories)
        Parameters:
        warningEventCategories - Set of RDS event categories (for example `failure`, `maintenance`) to check for after create and update operations. If set, the provider describes RDS events reported for this instance during the operation and surfaces a warning diagnostic, with the RDS event message, for each one found in these categories. Has no effect if unset; see [DescribeEvents](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeEvents.html) and the `aws.rds.getEvents` data source for the source of these events. Requires the `rds:DescribeEvents` IAM permission when set.
        Returns:
        builder