Interface DBInstance.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DBInstance.Builder,
,DBInstance> SdkBuilder<DBInstance.Builder,
,DBInstance> SdkPojo
- Enclosing class:
DBInstance
-
Method Summary
Modifier and TypeMethodDescriptionactivityStreamEngineNativeAuditFieldsIncluded
(Boolean activityStreamEngineNativeAuditFieldsIncluded) Indicates whether engine-native audit fields are included in the database activity stream.activityStreamKinesisStreamName
(String activityStreamKinesisStreamName) The name of the Amazon Kinesis data stream used for the database activity stream.activityStreamKmsKeyId
(String activityStreamKmsKeyId) The Amazon Web Services KMS key identifier used for encrypting messages in the database activity stream.activityStreamMode
(String activityStreamMode) The mode of the database activity stream.activityStreamMode
(ActivityStreamMode activityStreamMode) The mode of the database activity stream.activityStreamPolicyStatus
(String activityStreamPolicyStatus) The status of the policy state of the activity stream.activityStreamPolicyStatus
(ActivityStreamPolicyStatus activityStreamPolicyStatus) The status of the policy state of the activity stream.activityStreamStatus
(String activityStreamStatus) The status of the database activity stream.activityStreamStatus
(ActivityStreamStatus activityStreamStatus) The status of the database activity stream.allocatedStorage
(Integer allocatedStorage) The amount of storage in gibibytes (GiB) allocated for the DB instance.associatedRoles
(Collection<DBInstanceRole> associatedRoles) The Amazon Web Services Identity and Access Management (IAM) roles associated with the DB instance.associatedRoles
(Consumer<DBInstanceRole.Builder>... associatedRoles) The Amazon Web Services Identity and Access Management (IAM) roles associated with the DB instance.associatedRoles
(DBInstanceRole... associatedRoles) The Amazon Web Services Identity and Access Management (IAM) roles associated with the DB instance.automaticRestartTime
(Instant automaticRestartTime) The time when a stopped DB instance is restarted automatically.automationMode
(String automationMode) The automation mode of the RDS Custom DB instance:full
orall paused
.automationMode
(AutomationMode automationMode) The automation mode of the RDS Custom DB instance:full
orall paused
.autoMinorVersionUpgrade
(Boolean autoMinorVersionUpgrade) Indicates whether minor version patches are applied automatically.availabilityZone
(String availabilityZone) The name of the Availability Zone where the DB instance is located.awsBackupRecoveryPointArn
(String awsBackupRecoveryPointArn) The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup.backupRetentionPeriod
(Integer backupRetentionPeriod) The number of days for which automatic DB snapshots are retained.backupTarget
(String backupTarget) The location where automated backups and manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.caCertificateIdentifier
(String caCertificateIdentifier) The identifier of the CA certificate for this DB instance.default DBInstance.Builder
certificateDetails
(Consumer<CertificateDetails.Builder> certificateDetails) The details of the DB instance's server certificate.certificateDetails
(CertificateDetails certificateDetails) The details of the DB instance's server certificate.characterSetName
(String characterSetName) If present, specifies the name of the character set that this instance is associated with.copyTagsToSnapshot
(Boolean copyTagsToSnapshot) Indicates whether tags are copied from the DB instance to snapshots of the DB instance.customerOwnedIpEnabled
(Boolean customerOwnedIpEnabled) Indicates whether a customer-owned IP address (CoIP) is enabled for an RDS on Outposts DB instance.customIamInstanceProfile
(String customIamInstanceProfile) The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance.dbClusterIdentifier
(String dbClusterIdentifier) If the DB instance is a member of a DB cluster, indicates the name of the DB cluster that the DB instance is a member of.dbInstanceArn
(String dbInstanceArn) The Amazon Resource Name (ARN) for the DB instance.dbInstanceAutomatedBackupsReplications
(Collection<DBInstanceAutomatedBackupsReplication> dbInstanceAutomatedBackupsReplications) The list of replicated automated backups associated with the DB instance.dbInstanceAutomatedBackupsReplications
(Consumer<DBInstanceAutomatedBackupsReplication.Builder>... dbInstanceAutomatedBackupsReplications) The list of replicated automated backups associated with the DB instance.dbInstanceAutomatedBackupsReplications
(DBInstanceAutomatedBackupsReplication... dbInstanceAutomatedBackupsReplications) The list of replicated automated backups associated with the DB instance.dbInstanceClass
(String dbInstanceClass) The name of the compute and memory capacity class of the DB instance.dbInstanceIdentifier
(String dbInstanceIdentifier) The user-supplied database identifier.dbInstancePort
(Integer dbInstancePort) The port that the DB instance listens on.dbInstanceStatus
(String dbInstanceStatus) The current state of this database.dbiResourceId
(String dbiResourceId) The Amazon Web Services Region-unique, immutable identifier for the DB instance.The initial database name that you provided (if required) when you created the DB instance.dbParameterGroups
(Collection<DBParameterGroupStatus> dbParameterGroups) The list of DB parameter groups applied to this DB instance.dbParameterGroups
(Consumer<DBParameterGroupStatus.Builder>... dbParameterGroups) The list of DB parameter groups applied to this DB instance.dbParameterGroups
(DBParameterGroupStatus... dbParameterGroups) The list of DB parameter groups applied to this DB instance.dbSecurityGroups
(Collection<DBSecurityGroupMembership> dbSecurityGroups) A list of DB security group elements containingDBSecurityGroup.Name
andDBSecurityGroup.Status
subelements.dbSecurityGroups
(Consumer<DBSecurityGroupMembership.Builder>... dbSecurityGroups) A list of DB security group elements containingDBSecurityGroup.Name
andDBSecurityGroup.Status
subelements.dbSecurityGroups
(DBSecurityGroupMembership... dbSecurityGroups) A list of DB security group elements containingDBSecurityGroup.Name
andDBSecurityGroup.Status
subelements.default DBInstance.Builder
dbSubnetGroup
(Consumer<DBSubnetGroup.Builder> dbSubnetGroup) Information about the subnet group associated with the DB instance, including the name, description, and subnets in the subnet group.dbSubnetGroup
(DBSubnetGroup dbSubnetGroup) Information about the subnet group associated with the DB instance, including the name, description, and subnets in the subnet group.dbSystemId
(String dbSystemId) The Oracle system ID (Oracle SID) for a container database (CDB).dedicatedLogVolume
(Boolean dedicatedLogVolume) Indicates whether the DB instance has a dedicated log volume (DLV) enabled.deletionProtection
(Boolean deletionProtection) Indicates whether the DB instance has deletion protection enabled.domainMemberships
(Collection<DomainMembership> domainMemberships) The Active Directory Domain membership records associated with the DB instance.domainMemberships
(Consumer<DomainMembership.Builder>... domainMemberships) The Active Directory Domain membership records associated with the DB instance.domainMemberships
(DomainMembership... domainMemberships) The Active Directory Domain membership records associated with the DB instance.enabledCloudwatchLogsExports
(String... enabledCloudwatchLogsExports) A list of log types that this DB instance is configured to export to CloudWatch Logs.enabledCloudwatchLogsExports
(Collection<String> enabledCloudwatchLogsExports) A list of log types that this DB instance is configured to export to CloudWatch Logs.default DBInstance.Builder
endpoint
(Consumer<Endpoint.Builder> endpoint) The connection endpoint for the DB instance.The connection endpoint for the DB instance.The database engine used for this DB instance.engineLifecycleSupport
(String engineLifecycleSupport) The life cycle type for the DB instance.engineVersion
(String engineVersion) The version of the database engine.enhancedMonitoringResourceArn
(String enhancedMonitoringResourceArn) The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that receives the Enhanced Monitoring metrics data for the DB instance.iamDatabaseAuthenticationEnabled
(Boolean iamDatabaseAuthenticationEnabled) Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled for the DB instance.instanceCreateTime
(Instant instanceCreateTime) The date and time when the DB instance was created.The Provisioned IOPS (I/O operations per second) value for the DB instance.isStorageConfigUpgradeAvailable
(Boolean isStorageConfigUpgradeAvailable) Indicates whether an upgrade is recommended for the storage file system configuration on the DB instance.IfStorageEncrypted
is enabled, the Amazon Web Services KMS key identifier for the encrypted DB instance.latestRestorableTime
(Instant latestRestorableTime) The latest time to which a database in this DB instance can be restored with point-in-time restore.licenseModel
(String licenseModel) The license model information for this DB instance.default DBInstance.Builder
listenerEndpoint
(Consumer<Endpoint.Builder> listenerEndpoint) The listener connection endpoint for SQL Server Always On.listenerEndpoint
(Endpoint listenerEndpoint) The listener connection endpoint for SQL Server Always On.masterUsername
(String masterUsername) The master username for the DB instance.default DBInstance.Builder
masterUserSecret
(Consumer<MasterUserSecret.Builder> masterUserSecret) The secret managed by RDS in Amazon Web Services Secrets Manager for the master user password.masterUserSecret
(MasterUserSecret masterUserSecret) The secret managed by RDS in Amazon Web Services Secrets Manager for the master user password.maxAllocatedStorage
(Integer maxAllocatedStorage) The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance.monitoringInterval
(Integer monitoringInterval) The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.monitoringRoleArn
(String monitoringRoleArn) The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.Indicates whether the DB instance is a Multi-AZ deployment.multiTenant
(Boolean multiTenant) Specifies whether the DB instance is in the multi-tenant configuration (TRUE) or the single-tenant configuration (FALSE).ncharCharacterSetName
(String ncharCharacterSetName) The name of the NCHAR character set for the Oracle DB instance.networkType
(String networkType) The network type of the DB instance.optionGroupMemberships
(Collection<OptionGroupMembership> optionGroupMemberships) The list of option group memberships for this DB instance.optionGroupMemberships
(Consumer<OptionGroupMembership.Builder>... optionGroupMemberships) The list of option group memberships for this DB instance.optionGroupMemberships
(OptionGroupMembership... optionGroupMemberships) The list of option group memberships for this DB instance.default DBInstance.Builder
pendingModifiedValues
(Consumer<PendingModifiedValues.Builder> pendingModifiedValues) Information about pending changes to the DB instance.pendingModifiedValues
(PendingModifiedValues pendingModifiedValues) Information about pending changes to the DB instance.percentProgress
(String percentProgress) The progress of the storage optimization operation as a percentage.performanceInsightsEnabled
(Boolean performanceInsightsEnabled) Indicates whether Performance Insights is enabled for the DB instance.performanceInsightsKMSKeyId
(String performanceInsightsKMSKeyId) The Amazon Web Services KMS key identifier for encryption of Performance Insights data.performanceInsightsRetentionPeriod
(Integer performanceInsightsRetentionPeriod) The number of days to retain Performance Insights data.preferredBackupWindow
(String preferredBackupWindow) The daily time range during which automated backups are created if automated backups are enabled, as determined by theBackupRetentionPeriod
.preferredMaintenanceWindow
(String preferredMaintenanceWindow) The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).processorFeatures
(Collection<ProcessorFeature> processorFeatures) The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.processorFeatures
(Consumer<ProcessorFeature.Builder>... processorFeatures) The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.processorFeatures
(ProcessorFeature... processorFeatures) The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.promotionTier
(Integer promotionTier) The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance.publiclyAccessible
(Boolean publiclyAccessible) Indicates whether the DB instance is publicly accessible.readReplicaDBClusterIdentifiers
(String... readReplicaDBClusterIdentifiers) The identifiers of Aurora DB clusters to which the RDS DB instance is replicated as a read replica.readReplicaDBClusterIdentifiers
(Collection<String> readReplicaDBClusterIdentifiers) The identifiers of Aurora DB clusters to which the RDS DB instance is replicated as a read replica.readReplicaDBInstanceIdentifiers
(String... readReplicaDBInstanceIdentifiers) The identifiers of the read replicas associated with this DB instance.readReplicaDBInstanceIdentifiers
(Collection<String> readReplicaDBInstanceIdentifiers) The identifiers of the read replicas associated with this DB instance.readReplicaSourceDBClusterIdentifier
(String readReplicaSourceDBClusterIdentifier) The identifier of the source DB cluster if this DB instance is a read replica.readReplicaSourceDBInstanceIdentifier
(String readReplicaSourceDBInstanceIdentifier) The identifier of the source DB instance if this DB instance is a read replica.replicaMode
(String replicaMode) The open mode of an Oracle read replica.replicaMode
(ReplicaMode replicaMode) The open mode of an Oracle read replica.resumeFullAutomationModeTime
(Instant resumeFullAutomationModeTime) The number of minutes to pause the automation.secondaryAvailabilityZone
(String secondaryAvailabilityZone) If present, specifies the name of the secondary Availability Zone for a DB instance with multi-AZ support.statusInfos
(Collection<DBInstanceStatusInfo> statusInfos) The status of a read replica.statusInfos
(Consumer<DBInstanceStatusInfo.Builder>... statusInfos) The status of a read replica.statusInfos
(DBInstanceStatusInfo... statusInfos) The status of a read replica.storageEncrypted
(Boolean storageEncrypted) Indicates whether the DB instance is encrypted.storageThroughput
(Integer storageThroughput) The storage throughput for the DB instance.storageType
(String storageType) The storage type associated with the DB instance.tagList
(Collection<Tag> tagList) Sets the value of the TagList property for this object.tagList
(Consumer<Tag.Builder>... tagList) Sets the value of the TagList property for this object.Sets the value of the TagList property for this object.tdeCredentialArn
(String tdeCredentialArn) The ARN from the key store with which the instance is associated for TDE encryption.The time zone of the DB instance.vpcSecurityGroups
(Collection<VpcSecurityGroupMembership> vpcSecurityGroups) The list of Amazon EC2 VPC security groups that the DB instance belongs to.vpcSecurityGroups
(Consumer<VpcSecurityGroupMembership.Builder>... vpcSecurityGroups) The list of Amazon EC2 VPC security groups that the DB instance belongs to.vpcSecurityGroups
(VpcSecurityGroupMembership... vpcSecurityGroups) The list of Amazon EC2 VPC security groups that the DB instance belongs to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dbInstanceIdentifier
The user-supplied database identifier. This identifier is the unique key that identifies a DB instance.
- Parameters:
dbInstanceIdentifier
- The user-supplied database identifier. This identifier is the unique key that identifies a DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbInstanceClass
The name of the compute and memory capacity class of the DB instance.
- Parameters:
dbInstanceClass
- The name of the compute and memory capacity class of the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engine
The database engine used for this DB instance.
- Parameters:
engine
- The database engine used for this DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbInstanceStatus
The current state of this database.
For information about DB instance statuses, see Viewing DB instance status in the Amazon RDS User Guide.
- Parameters:
dbInstanceStatus
- The current state of this database.For information about DB instance statuses, see Viewing DB instance status in the Amazon RDS User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automaticRestartTime
The time when a stopped DB instance is restarted automatically.
- Parameters:
automaticRestartTime
- The time when a stopped DB instance is restarted automatically.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
masterUsername
The master username for the DB instance.
- Parameters:
masterUsername
- The master username for the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbName
The initial database name that you provided (if required) when you created the DB instance. This name is returned for the life of your DB instance. For an RDS for Oracle CDB instance, the name identifies the PDB rather than the CDB.
- Parameters:
dbName
- The initial database name that you provided (if required) when you created the DB instance. This name is returned for the life of your DB instance. For an RDS for Oracle CDB instance, the name identifies the PDB rather than the CDB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
The connection endpoint for the DB instance.
The endpoint might not be shown for instances with the status of
creating
.- Parameters:
endpoint
- The connection endpoint for the DB instance.The endpoint might not be shown for instances with the status of
creating
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
The connection endpoint for the DB instance.
The endpoint might not be shown for instances with the status of
creating
.Endpoint.Builder
avoiding the need to create one manually viaEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpoint(Endpoint)
.- Parameters:
endpoint
- a consumer that will call methods onEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
allocatedStorage
The amount of storage in gibibytes (GiB) allocated for the DB instance.
- Parameters:
allocatedStorage
- The amount of storage in gibibytes (GiB) allocated for the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceCreateTime
The date and time when the DB instance was created.
- Parameters:
instanceCreateTime
- The date and time when the DB instance was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferredBackupWindow
The daily time range during which automated backups are created if automated backups are enabled, as determined by the
BackupRetentionPeriod
.- Parameters:
preferredBackupWindow
- The daily time range during which automated backups are created if automated backups are enabled, as determined by theBackupRetentionPeriod
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupRetentionPeriod
The number of days for which automatic DB snapshots are retained.
- Parameters:
backupRetentionPeriod
- The number of days for which automatic DB snapshots are retained.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSecurityGroups
A list of DB security group elements containing
DBSecurityGroup.Name
andDBSecurityGroup.Status
subelements.- Parameters:
dbSecurityGroups
- A list of DB security group elements containingDBSecurityGroup.Name
andDBSecurityGroup.Status
subelements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSecurityGroups
A list of DB security group elements containing
DBSecurityGroup.Name
andDBSecurityGroup.Status
subelements.- Parameters:
dbSecurityGroups
- A list of DB security group elements containingDBSecurityGroup.Name
andDBSecurityGroup.Status
subelements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSecurityGroups
DBInstance.Builder dbSecurityGroups(Consumer<DBSecurityGroupMembership.Builder>... dbSecurityGroups) A list of DB security group elements containing
This is a convenience method that creates an instance of theDBSecurityGroup.Name
andDBSecurityGroup.Status
subelements.DBSecurityGroupMembership.Builder
avoiding the need to create one manually viaDBSecurityGroupMembership.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todbSecurityGroups(List<DBSecurityGroupMembership>)
.- Parameters:
dbSecurityGroups
- a consumer that will call methods onDBSecurityGroupMembership.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcSecurityGroups
The list of Amazon EC2 VPC security groups that the DB instance belongs to.
- Parameters:
vpcSecurityGroups
- The list of Amazon EC2 VPC security groups that the DB instance belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroups
The list of Amazon EC2 VPC security groups that the DB instance belongs to.
- Parameters:
vpcSecurityGroups
- The list of Amazon EC2 VPC security groups that the DB instance belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroups
DBInstance.Builder vpcSecurityGroups(Consumer<VpcSecurityGroupMembership.Builder>... vpcSecurityGroups) The list of Amazon EC2 VPC security groups that the DB instance belongs to.
This is a convenience method that creates an instance of theVpcSecurityGroupMembership.Builder
avoiding the need to create one manually viaVpcSecurityGroupMembership.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcSecurityGroups(List<VpcSecurityGroupMembership>)
.- Parameters:
vpcSecurityGroups
- a consumer that will call methods onVpcSecurityGroupMembership.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dbParameterGroups
The list of DB parameter groups applied to this DB instance.
- Parameters:
dbParameterGroups
- The list of DB parameter groups applied to this DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbParameterGroups
The list of DB parameter groups applied to this DB instance.
- Parameters:
dbParameterGroups
- The list of DB parameter groups applied to this DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbParameterGroups
The list of DB parameter groups applied to this DB instance.
This is a convenience method that creates an instance of theDBParameterGroupStatus.Builder
avoiding the need to create one manually viaDBParameterGroupStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todbParameterGroups(List<DBParameterGroupStatus>)
.- Parameters:
dbParameterGroups
- a consumer that will call methods onDBParameterGroupStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
availabilityZone
The name of the Availability Zone where the DB instance is located.
- Parameters:
availabilityZone
- The name of the Availability Zone where the DB instance is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSubnetGroup
Information about the subnet group associated with the DB instance, including the name, description, and subnets in the subnet group.
- Parameters:
dbSubnetGroup
- Information about the subnet group associated with the DB instance, including the name, description, and subnets in the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSubnetGroup
Information about the subnet group associated with the DB instance, including the name, description, and subnets in the subnet group.
This is a convenience method that creates an instance of theDBSubnetGroup.Builder
avoiding the need to create one manually viaDBSubnetGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todbSubnetGroup(DBSubnetGroup)
.- Parameters:
dbSubnetGroup
- a consumer that will call methods onDBSubnetGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
preferredMaintenanceWindow
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- Parameters:
preferredMaintenanceWindow
- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingModifiedValues
Information about pending changes to the DB instance. This information is returned only when there are pending changes. Specific changes are identified by subelements.
- Parameters:
pendingModifiedValues
- Information about pending changes to the DB instance. This information is returned only when there are pending changes. Specific changes are identified by subelements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingModifiedValues
default DBInstance.Builder pendingModifiedValues(Consumer<PendingModifiedValues.Builder> pendingModifiedValues) Information about pending changes to the DB instance. This information is returned only when there are pending changes. Specific changes are identified by subelements.
This is a convenience method that creates an instance of thePendingModifiedValues.Builder
avoiding the need to create one manually viaPendingModifiedValues.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topendingModifiedValues(PendingModifiedValues)
.- Parameters:
pendingModifiedValues
- a consumer that will call methods onPendingModifiedValues.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
latestRestorableTime
The latest time to which a database in this DB instance can be restored with point-in-time restore.
- Parameters:
latestRestorableTime
- The latest time to which a database in this DB instance can be restored with point-in-time restore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiAZ
Indicates whether the DB instance is a Multi-AZ deployment. This setting doesn't apply to RDS Custom DB instances.
- Parameters:
multiAZ
- Indicates whether the DB instance is a Multi-AZ deployment. This setting doesn't apply to RDS Custom DB instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
The version of the database engine.
- Parameters:
engineVersion
- The version of the database engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoMinorVersionUpgrade
Indicates whether minor version patches are applied automatically.
- Parameters:
autoMinorVersionUpgrade
- Indicates whether minor version patches are applied automatically.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readReplicaSourceDBInstanceIdentifier
DBInstance.Builder readReplicaSourceDBInstanceIdentifier(String readReplicaSourceDBInstanceIdentifier) The identifier of the source DB instance if this DB instance is a read replica.
- Parameters:
readReplicaSourceDBInstanceIdentifier
- The identifier of the source DB instance if this DB instance is a read replica.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readReplicaDBInstanceIdentifiers
DBInstance.Builder readReplicaDBInstanceIdentifiers(Collection<String> readReplicaDBInstanceIdentifiers) The identifiers of the read replicas associated with this DB instance.
- Parameters:
readReplicaDBInstanceIdentifiers
- The identifiers of the read replicas associated with this DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readReplicaDBInstanceIdentifiers
The identifiers of the read replicas associated with this DB instance.
- Parameters:
readReplicaDBInstanceIdentifiers
- The identifiers of the read replicas associated with this DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readReplicaDBClusterIdentifiers
DBInstance.Builder readReplicaDBClusterIdentifiers(Collection<String> readReplicaDBClusterIdentifiers) The identifiers of Aurora DB clusters to which the RDS DB instance is replicated as a read replica. For example, when you create an Aurora read replica of an RDS for MySQL DB instance, the Aurora MySQL DB cluster for the Aurora read replica is shown. This output doesn't contain information about cross-Region Aurora read replicas.
Currently, each RDS DB instance can have only one Aurora read replica.
- Parameters:
readReplicaDBClusterIdentifiers
- The identifiers of Aurora DB clusters to which the RDS DB instance is replicated as a read replica. For example, when you create an Aurora read replica of an RDS for MySQL DB instance, the Aurora MySQL DB cluster for the Aurora read replica is shown. This output doesn't contain information about cross-Region Aurora read replicas.Currently, each RDS DB instance can have only one Aurora read replica.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readReplicaDBClusterIdentifiers
The identifiers of Aurora DB clusters to which the RDS DB instance is replicated as a read replica. For example, when you create an Aurora read replica of an RDS for MySQL DB instance, the Aurora MySQL DB cluster for the Aurora read replica is shown. This output doesn't contain information about cross-Region Aurora read replicas.
Currently, each RDS DB instance can have only one Aurora read replica.
- Parameters:
readReplicaDBClusterIdentifiers
- The identifiers of Aurora DB clusters to which the RDS DB instance is replicated as a read replica. For example, when you create an Aurora read replica of an RDS for MySQL DB instance, the Aurora MySQL DB cluster for the Aurora read replica is shown. This output doesn't contain information about cross-Region Aurora read replicas.Currently, each RDS DB instance can have only one Aurora read replica.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaMode
The open mode of an Oracle read replica. The default is
open-read-only
. For more information, see Working with Oracle Read Replicas for Amazon RDS in the Amazon RDS User Guide.This attribute is only supported in RDS for Oracle.
- Parameters:
replicaMode
- The open mode of an Oracle read replica. The default isopen-read-only
. For more information, see Working with Oracle Read Replicas for Amazon RDS in the Amazon RDS User Guide.This attribute is only supported in RDS for Oracle.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicaMode
The open mode of an Oracle read replica. The default is
open-read-only
. For more information, see Working with Oracle Read Replicas for Amazon RDS in the Amazon RDS User Guide.This attribute is only supported in RDS for Oracle.
- Parameters:
replicaMode
- The open mode of an Oracle read replica. The default isopen-read-only
. For more information, see Working with Oracle Read Replicas for Amazon RDS in the Amazon RDS User Guide.This attribute is only supported in RDS for Oracle.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
licenseModel
The license model information for this DB instance. This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
- Parameters:
licenseModel
- The license model information for this DB instance. This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iops
The Provisioned IOPS (I/O operations per second) value for the DB instance.
- Parameters:
iops
- The Provisioned IOPS (I/O operations per second) value for the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionGroupMemberships
The list of option group memberships for this DB instance.
- Parameters:
optionGroupMemberships
- The list of option group memberships for this DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionGroupMemberships
The list of option group memberships for this DB instance.
- Parameters:
optionGroupMemberships
- The list of option group memberships for this DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionGroupMemberships
DBInstance.Builder optionGroupMemberships(Consumer<OptionGroupMembership.Builder>... optionGroupMemberships) The list of option group memberships for this DB instance.
This is a convenience method that creates an instance of theOptionGroupMembership.Builder
avoiding the need to create one manually viaOptionGroupMembership.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptionGroupMemberships(List<OptionGroupMembership>)
.- Parameters:
optionGroupMemberships
- a consumer that will call methods onOptionGroupMembership.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
characterSetName
If present, specifies the name of the character set that this instance is associated with.
- Parameters:
characterSetName
- If present, specifies the name of the character set that this instance is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ncharCharacterSetName
The name of the NCHAR character set for the Oracle DB instance. This character set specifies the Unicode encoding for data stored in table columns of type NCHAR, NCLOB, or NVARCHAR2.
- Parameters:
ncharCharacterSetName
- The name of the NCHAR character set for the Oracle DB instance. This character set specifies the Unicode encoding for data stored in table columns of type NCHAR, NCLOB, or NVARCHAR2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryAvailabilityZone
If present, specifies the name of the secondary Availability Zone for a DB instance with multi-AZ support.
- Parameters:
secondaryAvailabilityZone
- If present, specifies the name of the secondary Availability Zone for a DB instance with multi-AZ support.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publiclyAccessible
Indicates whether the DB instance is publicly accessible.
When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB cluster is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.
When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.
For more information, see CreateDBInstance.
- Parameters:
publiclyAccessible
- Indicates whether the DB instance is publicly accessible.When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB cluster is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.
When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.
For more information, see CreateDBInstance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusInfos
The status of a read replica. If the DB instance isn't a read replica, the value is blank.
- Parameters:
statusInfos
- The status of a read replica. If the DB instance isn't a read replica, the value is blank.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusInfos
The status of a read replica. If the DB instance isn't a read replica, the value is blank.
- Parameters:
statusInfos
- The status of a read replica. If the DB instance isn't a read replica, the value is blank.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusInfos
The status of a read replica. If the DB instance isn't a read replica, the value is blank.
This is a convenience method that creates an instance of theDBInstanceStatusInfo.Builder
avoiding the need to create one manually viaDBInstanceStatusInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatusInfos(List<DBInstanceStatusInfo>)
.- Parameters:
statusInfos
- a consumer that will call methods onDBInstanceStatusInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageType
The storage type associated with the DB instance.
- Parameters:
storageType
- The storage type associated with the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tdeCredentialArn
The ARN from the key store with which the instance is associated for TDE encryption.
- Parameters:
tdeCredentialArn
- The ARN from the key store with which the instance is associated for TDE encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbInstancePort
The port that the DB instance listens on. If the DB instance is part of a DB cluster, this can be a different port than the DB cluster port.
- Parameters:
dbInstancePort
- The port that the DB instance listens on. If the DB instance is part of a DB cluster, this can be a different port than the DB cluster port.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterIdentifier
If the DB instance is a member of a DB cluster, indicates the name of the DB cluster that the DB instance is a member of.
- Parameters:
dbClusterIdentifier
- If the DB instance is a member of a DB cluster, indicates the name of the DB cluster that the DB instance is a member of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageEncrypted
Indicates whether the DB instance is encrypted.
- Parameters:
storageEncrypted
- Indicates whether the DB instance is encrypted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
If
StorageEncrypted
is enabled, the Amazon Web Services KMS key identifier for the encrypted DB instance.The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
- Parameters:
kmsKeyId
- IfStorageEncrypted
is enabled, the Amazon Web Services KMS key identifier for the encrypted DB instance.The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbiResourceId
The Amazon Web Services Region-unique, immutable identifier for the DB instance. This identifier is found in Amazon Web Services CloudTrail log entries whenever the Amazon Web Services KMS key for the DB instance is accessed.
- Parameters:
dbiResourceId
- The Amazon Web Services Region-unique, immutable identifier for the DB instance. This identifier is found in Amazon Web Services CloudTrail log entries whenever the Amazon Web Services KMS key for the DB instance is accessed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
caCertificateIdentifier
The identifier of the CA certificate for this DB instance.
For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
- Parameters:
caCertificateIdentifier
- The identifier of the CA certificate for this DB instance.For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainMemberships
The Active Directory Domain membership records associated with the DB instance.
- Parameters:
domainMemberships
- The Active Directory Domain membership records associated with the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainMemberships
The Active Directory Domain membership records associated with the DB instance.
- Parameters:
domainMemberships
- The Active Directory Domain membership records associated with the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainMemberships
The Active Directory Domain membership records associated with the DB instance.
This is a convenience method that creates an instance of theDomainMembership.Builder
avoiding the need to create one manually viaDomainMembership.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todomainMemberships(List<DomainMembership>)
.- Parameters:
domainMemberships
- a consumer that will call methods onDomainMembership.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
copyTagsToSnapshot
Indicates whether tags are copied from the DB instance to snapshots of the DB instance.
This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster. Setting this value for an Aurora DB instance has no effect on the DB cluster setting. For more information, see
DBCluster
.- Parameters:
copyTagsToSnapshot
- Indicates whether tags are copied from the DB instance to snapshots of the DB instance.This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster. Setting this value for an Aurora DB instance has no effect on the DB cluster setting. For more information, see
DBCluster
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringInterval
The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.
- Parameters:
monitoringInterval
- The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enhancedMonitoringResourceArn
The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that receives the Enhanced Monitoring metrics data for the DB instance.
- Parameters:
enhancedMonitoringResourceArn
- The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that receives the Enhanced Monitoring metrics data for the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringRoleArn
The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.
- Parameters:
monitoringRoleArn
- The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
promotionTier
The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide.
- Parameters:
promotionTier
- The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbInstanceArn
The Amazon Resource Name (ARN) for the DB instance.
- Parameters:
dbInstanceArn
- The Amazon Resource Name (ARN) for the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timezone
The time zone of the DB instance. In most cases, the
Timezone
element is empty.Timezone
content appears only for RDS for Db2 and RDS for SQL Server DB instances that were created with a time zone specified.- Parameters:
timezone
- The time zone of the DB instance. In most cases, theTimezone
element is empty.Timezone
content appears only for RDS for Db2 and RDS for SQL Server DB instances that were created with a time zone specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamDatabaseAuthenticationEnabled
Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled for the DB instance.
For a list of engine versions that support IAM database authentication, see IAM database authentication in the Amazon RDS User Guide and IAM database authentication in Aurora in the Amazon Aurora User Guide.
- Parameters:
iamDatabaseAuthenticationEnabled
- Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled for the DB instance.For a list of engine versions that support IAM database authentication, see IAM database authentication in the Amazon RDS User Guide and IAM database authentication in Aurora in the Amazon Aurora User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performanceInsightsEnabled
Indicates whether Performance Insights is enabled for the DB instance.
- Parameters:
performanceInsightsEnabled
- Indicates whether Performance Insights is enabled for the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performanceInsightsKMSKeyId
The Amazon Web Services KMS key identifier for encryption of Performance Insights data.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
- Parameters:
performanceInsightsKMSKeyId
- The Amazon Web Services KMS key identifier for encryption of Performance Insights data.The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performanceInsightsRetentionPeriod
The number of days to retain Performance Insights data.
Valid Values:
-
7
-
month * 31, where month is a number of months from 1-23. Examples:
93
(3 months * 31),341
(11 months * 31),589
(19 months * 31) -
731
Default:
7
days- Parameters:
performanceInsightsRetentionPeriod
- The number of days to retain Performance Insights data.Valid Values:
-
7
-
month * 31, where month is a number of months from 1-23. Examples:
93
(3 months * 31),341
(11 months * 31),589
(19 months * 31) -
731
Default:
7
days-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
enabledCloudwatchLogsExports
A list of log types that this DB instance is configured to export to CloudWatch Logs.
Log types vary by DB engine. For information about the log types for each DB engine, see Monitoring Amazon RDS log files in the Amazon RDS User Guide.
- Parameters:
enabledCloudwatchLogsExports
- A list of log types that this DB instance is configured to export to CloudWatch Logs.Log types vary by DB engine. For information about the log types for each DB engine, see Monitoring Amazon RDS log files in the Amazon RDS User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledCloudwatchLogsExports
A list of log types that this DB instance is configured to export to CloudWatch Logs.
Log types vary by DB engine. For information about the log types for each DB engine, see Monitoring Amazon RDS log files in the Amazon RDS User Guide.
- Parameters:
enabledCloudwatchLogsExports
- A list of log types that this DB instance is configured to export to CloudWatch Logs.Log types vary by DB engine. For information about the log types for each DB engine, see Monitoring Amazon RDS log files in the Amazon RDS User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processorFeatures
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
- Parameters:
processorFeatures
- The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processorFeatures
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
- Parameters:
processorFeatures
- The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processorFeatures
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
This is a convenience method that creates an instance of theProcessorFeature.Builder
avoiding the need to create one manually viaProcessorFeature.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprocessorFeatures(List<ProcessorFeature>)
.- Parameters:
processorFeatures
- a consumer that will call methods onProcessorFeature.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deletionProtection
Indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. For more information, see Deleting a DB Instance.
- Parameters:
deletionProtection
- Indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. For more information, see Deleting a DB Instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedRoles
The Amazon Web Services Identity and Access Management (IAM) roles associated with the DB instance.
- Parameters:
associatedRoles
- The Amazon Web Services Identity and Access Management (IAM) roles associated with the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedRoles
The Amazon Web Services Identity and Access Management (IAM) roles associated with the DB instance.
- Parameters:
associatedRoles
- The Amazon Web Services Identity and Access Management (IAM) roles associated with the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedRoles
The Amazon Web Services Identity and Access Management (IAM) roles associated with the DB instance.
This is a convenience method that creates an instance of theDBInstanceRole.Builder
avoiding the need to create one manually viaDBInstanceRole.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociatedRoles(List<DBInstanceRole>)
.- Parameters:
associatedRoles
- a consumer that will call methods onDBInstanceRole.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
listenerEndpoint
The listener connection endpoint for SQL Server Always On.
- Parameters:
listenerEndpoint
- The listener connection endpoint for SQL Server Always On.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listenerEndpoint
The listener connection endpoint for SQL Server Always On.
This is a convenience method that creates an instance of theEndpoint.Builder
avoiding the need to create one manually viaEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolistenerEndpoint(Endpoint)
.- Parameters:
listenerEndpoint
- a consumer that will call methods onEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxAllocatedStorage
The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance.
- Parameters:
maxAllocatedStorage
- The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
Sets the value of the TagList property for this object.- Parameters:
tagList
- The new value for the TagList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
Sets the value of the TagList property for this object.- Parameters:
tagList
- The new value for the TagList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
Sets the value of the TagList property for this object. This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagList(List<Tag>)
.- Parameters:
tagList
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dbInstanceAutomatedBackupsReplications
DBInstance.Builder dbInstanceAutomatedBackupsReplications(Collection<DBInstanceAutomatedBackupsReplication> dbInstanceAutomatedBackupsReplications) The list of replicated automated backups associated with the DB instance.
- Parameters:
dbInstanceAutomatedBackupsReplications
- The list of replicated automated backups associated with the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbInstanceAutomatedBackupsReplications
DBInstance.Builder dbInstanceAutomatedBackupsReplications(DBInstanceAutomatedBackupsReplication... dbInstanceAutomatedBackupsReplications) The list of replicated automated backups associated with the DB instance.
- Parameters:
dbInstanceAutomatedBackupsReplications
- The list of replicated automated backups associated with the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbInstanceAutomatedBackupsReplications
DBInstance.Builder dbInstanceAutomatedBackupsReplications(Consumer<DBInstanceAutomatedBackupsReplication.Builder>... dbInstanceAutomatedBackupsReplications) The list of replicated automated backups associated with the DB instance.
This is a convenience method that creates an instance of theDBInstanceAutomatedBackupsReplication.Builder
avoiding the need to create one manually viaDBInstanceAutomatedBackupsReplication.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todbInstanceAutomatedBackupsReplications(List<DBInstanceAutomatedBackupsReplication>)
.- Parameters:
dbInstanceAutomatedBackupsReplications
- a consumer that will call methods onDBInstanceAutomatedBackupsReplication.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customerOwnedIpEnabled
Indicates whether a customer-owned IP address (CoIP) is enabled for an RDS on Outposts DB instance.
A CoIP provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from outside of its virtual private cloud (VPC) on your local network.
For more information about RDS on Outposts, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
For more information about CoIPs, see Customer-owned IP addresses in the Amazon Web Services Outposts User Guide.
- Parameters:
customerOwnedIpEnabled
- Indicates whether a customer-owned IP address (CoIP) is enabled for an RDS on Outposts DB instance.A CoIP provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from outside of its virtual private cloud (VPC) on your local network.
For more information about RDS on Outposts, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
For more information about CoIPs, see Customer-owned IP addresses in the Amazon Web Services Outposts User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsBackupRecoveryPointArn
The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup.
- Parameters:
awsBackupRecoveryPointArn
- The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activityStreamStatus
The status of the database activity stream.
- Parameters:
activityStreamStatus
- The status of the database activity stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
activityStreamStatus
The status of the database activity stream.
- Parameters:
activityStreamStatus
- The status of the database activity stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
activityStreamKmsKeyId
The Amazon Web Services KMS key identifier used for encrypting messages in the database activity stream. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
- Parameters:
activityStreamKmsKeyId
- The Amazon Web Services KMS key identifier used for encrypting messages in the database activity stream. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activityStreamKinesisStreamName
The name of the Amazon Kinesis data stream used for the database activity stream.
- Parameters:
activityStreamKinesisStreamName
- The name of the Amazon Kinesis data stream used for the database activity stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activityStreamMode
The mode of the database activity stream. Database events such as a change or access generate an activity stream event. RDS for Oracle always handles these events asynchronously.
- Parameters:
activityStreamMode
- The mode of the database activity stream. Database events such as a change or access generate an activity stream event. RDS for Oracle always handles these events asynchronously.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
activityStreamMode
The mode of the database activity stream. Database events such as a change or access generate an activity stream event. RDS for Oracle always handles these events asynchronously.
- Parameters:
activityStreamMode
- The mode of the database activity stream. Database events such as a change or access generate an activity stream event. RDS for Oracle always handles these events asynchronously.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
activityStreamEngineNativeAuditFieldsIncluded
DBInstance.Builder activityStreamEngineNativeAuditFieldsIncluded(Boolean activityStreamEngineNativeAuditFieldsIncluded) Indicates whether engine-native audit fields are included in the database activity stream.
- Parameters:
activityStreamEngineNativeAuditFieldsIncluded
- Indicates whether engine-native audit fields are included in the database activity stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automationMode
The automation mode of the RDS Custom DB instance:
full
orall paused
. Iffull
, the DB instance automates monitoring and instance recovery. Ifall paused
, the instance pauses automation for the duration set by--resume-full-automation-mode-minutes
.- Parameters:
automationMode
- The automation mode of the RDS Custom DB instance:full
orall paused
. Iffull
, the DB instance automates monitoring and instance recovery. Ifall paused
, the instance pauses automation for the duration set by--resume-full-automation-mode-minutes
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
automationMode
The automation mode of the RDS Custom DB instance:
full
orall paused
. Iffull
, the DB instance automates monitoring and instance recovery. Ifall paused
, the instance pauses automation for the duration set by--resume-full-automation-mode-minutes
.- Parameters:
automationMode
- The automation mode of the RDS Custom DB instance:full
orall paused
. Iffull
, the DB instance automates monitoring and instance recovery. Ifall paused
, the instance pauses automation for the duration set by--resume-full-automation-mode-minutes
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resumeFullAutomationModeTime
The number of minutes to pause the automation. When the time period ends, RDS Custom resumes full automation. The minimum value is 60 (default). The maximum value is 1,440.
- Parameters:
resumeFullAutomationModeTime
- The number of minutes to pause the automation. When the time period ends, RDS Custom resumes full automation. The minimum value is 60 (default). The maximum value is 1,440.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customIamInstanceProfile
The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. The instance profile must meet the following requirements:
-
The profile must exist in your account.
-
The profile must have an IAM role that Amazon EC2 has permissions to assume.
-
The instance profile name and the associated IAM role name must start with the prefix
AWSRDSCustom
.
For the list of permissions required for the IAM role, see Configure IAM and your VPC in the Amazon RDS User Guide.
- Parameters:
customIamInstanceProfile
- The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. The instance profile must meet the following requirements:-
The profile must exist in your account.
-
The profile must have an IAM role that Amazon EC2 has permissions to assume.
-
The instance profile name and the associated IAM role name must start with the prefix
AWSRDSCustom
.
For the list of permissions required for the IAM role, see Configure IAM and your VPC in the Amazon RDS User Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
backupTarget
The location where automated backups and manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.
- Parameters:
backupTarget
- The location where automated backups and manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkType
The network type of the DB instance.
The network type is determined by the
DBSubnetGroup
specified for the DB instance. ADBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL
).For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide and Working with a DB instance in a VPC in the Amazon Aurora User Guide.
Valid Values:
IPV4 | DUAL
- Parameters:
networkType
- The network type of the DB instance.The network type is determined by the
DBSubnetGroup
specified for the DB instance. ADBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL
).For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide and Working with a DB instance in a VPC in the Amazon Aurora User Guide.
Valid Values:
IPV4 | DUAL
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activityStreamPolicyStatus
The status of the policy state of the activity stream.
- Parameters:
activityStreamPolicyStatus
- The status of the policy state of the activity stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
activityStreamPolicyStatus
DBInstance.Builder activityStreamPolicyStatus(ActivityStreamPolicyStatus activityStreamPolicyStatus) The status of the policy state of the activity stream.
- Parameters:
activityStreamPolicyStatus
- The status of the policy state of the activity stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageThroughput
The storage throughput for the DB instance.
This setting applies only to the
gp3
storage type.- Parameters:
storageThroughput
- The storage throughput for the DB instance.This setting applies only to the
gp3
storage type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSystemId
The Oracle system ID (Oracle SID) for a container database (CDB). The Oracle SID is also the name of the CDB. This setting is only valid for RDS Custom DB instances.
- Parameters:
dbSystemId
- The Oracle system ID (Oracle SID) for a container database (CDB). The Oracle SID is also the name of the CDB. This setting is only valid for RDS Custom DB instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
masterUserSecret
The secret managed by RDS in Amazon Web Services Secrets Manager for the master user password.
For more information, see Password management with Amazon Web Services Secrets Manager in the Amazon RDS User Guide.
- Parameters:
masterUserSecret
- The secret managed by RDS in Amazon Web Services Secrets Manager for the master user password.For more information, see Password management with Amazon Web Services Secrets Manager in the Amazon RDS User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
masterUserSecret
The secret managed by RDS in Amazon Web Services Secrets Manager for the master user password.
For more information, see Password management with Amazon Web Services Secrets Manager in the Amazon RDS User Guide.
This is a convenience method that creates an instance of theMasterUserSecret.Builder
avoiding the need to create one manually viaMasterUserSecret.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomasterUserSecret(MasterUserSecret)
.- Parameters:
masterUserSecret
- a consumer that will call methods onMasterUserSecret.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
certificateDetails
The details of the DB instance's server certificate.
- Parameters:
certificateDetails
- The details of the DB instance's server certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateDetails
default DBInstance.Builder certificateDetails(Consumer<CertificateDetails.Builder> certificateDetails) The details of the DB instance's server certificate.
This is a convenience method that creates an instance of theCertificateDetails.Builder
avoiding the need to create one manually viaCertificateDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocertificateDetails(CertificateDetails)
.- Parameters:
certificateDetails
- a consumer that will call methods onCertificateDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
readReplicaSourceDBClusterIdentifier
DBInstance.Builder readReplicaSourceDBClusterIdentifier(String readReplicaSourceDBClusterIdentifier) The identifier of the source DB cluster if this DB instance is a read replica.
- Parameters:
readReplicaSourceDBClusterIdentifier
- The identifier of the source DB cluster if this DB instance is a read replica.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
percentProgress
The progress of the storage optimization operation as a percentage.
- Parameters:
percentProgress
- The progress of the storage optimization operation as a percentage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dedicatedLogVolume
Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
- Parameters:
dedicatedLogVolume
- Indicates whether the DB instance has a dedicated log volume (DLV) enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isStorageConfigUpgradeAvailable
Indicates whether an upgrade is recommended for the storage file system configuration on the DB instance. To migrate to the preferred configuration, you can either create a blue/green deployment, or create a read replica from the DB instance. For more information, see Upgrading the storage file system for a DB instance.
- Parameters:
isStorageConfigUpgradeAvailable
- Indicates whether an upgrade is recommended for the storage file system configuration on the DB instance. To migrate to the preferred configuration, you can either create a blue/green deployment, or create a read replica from the DB instance. For more information, see Upgrading the storage file system for a DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiTenant
Specifies whether the DB instance is in the multi-tenant configuration (TRUE) or the single-tenant configuration (FALSE).
- Parameters:
multiTenant
- Specifies whether the DB instance is in the multi-tenant configuration (TRUE) or the single-tenant configuration (FALSE).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineLifecycleSupport
The life cycle type for the DB instance.
For more information, see CreateDBInstance.
- Parameters:
engineLifecycleSupport
- The life cycle type for the DB instance.For more information, see CreateDBInstance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-