@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DBInstance extends Object implements Serializable, Cloneable
Detailed information about a DB instance.
Constructor and Description |
---|
DBInstance() |
Modifier and Type | Method and Description |
---|---|
DBInstance |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAutoMinorVersionUpgrade()
Indicates that minor version patches are applied automatically.
|
String |
getAvailabilityZone()
Specifies the name of the Availability Zone that the DB instance is located in.
|
Integer |
getBackupRetentionPeriod()
Specifies the number of days for which automatic DB snapshots are retained.
|
String |
getCACertificateIdentifier()
The identifier of the CA certificate for this DB instance.
|
String |
getDBClusterIdentifier()
Contains the name of the DB cluster that the DB instance is a member of if the DB instance is a member of a DB
cluster.
|
String |
getDBInstanceArn()
The Amazon Resource Name (ARN) for the DB instance.
|
String |
getDBInstanceClass()
Contains the name of the compute and memory capacity class of the DB instance.
|
String |
getDBInstanceIdentifier()
Contains a user-provided database identifier.
|
String |
getDBInstanceStatus()
Specifies the current state of this database.
|
String |
getDbiResourceId()
The AWS Region-unique, immutable identifier for the DB instance.
|
DBSubnetGroup |
getDBSubnetGroup()
Specifies information on the subnet group that is associated with the DB instance, including the name,
description, and subnets in the subnet group.
|
List<String> |
getEnabledCloudwatchLogsExports()
A list of log types that this DB instance is configured to export to Amazon CloudWatch Logs.
|
Endpoint |
getEndpoint()
Specifies the connection endpoint.
|
String |
getEngine()
Provides the name of the database engine to be used for this DB instance.
|
String |
getEngineVersion()
Indicates the database engine version.
|
Date |
getInstanceCreateTime()
Provides the date and time that the DB instance was created.
|
String |
getKmsKeyId()
If
StorageEncrypted is true , the AWS KMS key identifier for the encrypted DB instance. |
Date |
getLatestRestorableTime()
Specifies the latest time to which a database can be restored with point-in-time restore.
|
PendingModifiedValues |
getPendingModifiedValues()
Specifies that changes to the DB instance are pending.
|
String |
getPreferredBackupWindow()
Specifies the daily time range during which automated backups are created if automated backups are enabled, as
determined by the
BackupRetentionPeriod . |
String |
getPreferredMaintenanceWindow()
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
Integer |
getPromotionTier()
A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after
a failure of the existing primary instance.
|
Boolean |
getPubliclyAccessible()
Not supported.
|
List<DBInstanceStatusInfo> |
getStatusInfos()
The status of a read replica.
|
Boolean |
getStorageEncrypted()
Specifies whether or not the DB instance is encrypted.
|
List<VpcSecurityGroupMembership> |
getVpcSecurityGroups()
Provides a list of VPC security group elements that the DB instance belongs to.
|
int |
hashCode() |
Boolean |
isAutoMinorVersionUpgrade()
Indicates that minor version patches are applied automatically.
|
Boolean |
isPubliclyAccessible()
Not supported.
|
Boolean |
isStorageEncrypted()
Specifies whether or not the DB instance is encrypted.
|
void |
setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Indicates that minor version patches are applied automatically.
|
void |
setAvailabilityZone(String availabilityZone)
Specifies the name of the Availability Zone that the DB instance is located in.
|
void |
setBackupRetentionPeriod(Integer backupRetentionPeriod)
Specifies the number of days for which automatic DB snapshots are retained.
|
void |
setCACertificateIdentifier(String cACertificateIdentifier)
The identifier of the CA certificate for this DB instance.
|
void |
setDBClusterIdentifier(String dBClusterIdentifier)
Contains the name of the DB cluster that the DB instance is a member of if the DB instance is a member of a DB
cluster.
|
void |
setDBInstanceArn(String dBInstanceArn)
The Amazon Resource Name (ARN) for the DB instance.
|
void |
setDBInstanceClass(String dBInstanceClass)
Contains the name of the compute and memory capacity class of the DB instance.
|
void |
setDBInstanceIdentifier(String dBInstanceIdentifier)
Contains a user-provided database identifier.
|
void |
setDBInstanceStatus(String dBInstanceStatus)
Specifies the current state of this database.
|
void |
setDbiResourceId(String dbiResourceId)
The AWS Region-unique, immutable identifier for the DB instance.
|
void |
setDBSubnetGroup(DBSubnetGroup dBSubnetGroup)
Specifies information on the subnet group that is associated with the DB instance, including the name,
description, and subnets in the subnet group.
|
void |
setEnabledCloudwatchLogsExports(Collection<String> enabledCloudwatchLogsExports)
A list of log types that this DB instance is configured to export to Amazon CloudWatch Logs.
|
void |
setEndpoint(Endpoint endpoint)
Specifies the connection endpoint.
|
void |
setEngine(String engine)
Provides the name of the database engine to be used for this DB instance.
|
void |
setEngineVersion(String engineVersion)
Indicates the database engine version.
|
void |
setInstanceCreateTime(Date instanceCreateTime)
Provides the date and time that the DB instance was created.
|
void |
setKmsKeyId(String kmsKeyId)
If
StorageEncrypted is true , the AWS KMS key identifier for the encrypted DB instance. |
void |
setLatestRestorableTime(Date latestRestorableTime)
Specifies the latest time to which a database can be restored with point-in-time restore.
|
void |
setPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
Specifies that changes to the DB instance are pending.
|
void |
setPreferredBackupWindow(String preferredBackupWindow)
Specifies the daily time range during which automated backups are created if automated backups are enabled, as
determined by the
BackupRetentionPeriod . |
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
void |
setPromotionTier(Integer promotionTier)
A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after
a failure of the existing primary instance.
|
void |
setPubliclyAccessible(Boolean publiclyAccessible)
Not supported.
|
void |
setStatusInfos(Collection<DBInstanceStatusInfo> statusInfos)
The status of a read replica.
|
void |
setStorageEncrypted(Boolean storageEncrypted)
Specifies whether or not the DB instance is encrypted.
|
void |
setVpcSecurityGroups(Collection<VpcSecurityGroupMembership> vpcSecurityGroups)
Provides a list of VPC security group elements that the DB instance belongs to.
|
String |
toString()
Returns a string representation of this object.
|
DBInstance |
withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Indicates that minor version patches are applied automatically.
|
DBInstance |
withAvailabilityZone(String availabilityZone)
Specifies the name of the Availability Zone that the DB instance is located in.
|
DBInstance |
withBackupRetentionPeriod(Integer backupRetentionPeriod)
Specifies the number of days for which automatic DB snapshots are retained.
|
DBInstance |
withCACertificateIdentifier(String cACertificateIdentifier)
The identifier of the CA certificate for this DB instance.
|
DBInstance |
withDBClusterIdentifier(String dBClusterIdentifier)
Contains the name of the DB cluster that the DB instance is a member of if the DB instance is a member of a DB
cluster.
|
DBInstance |
withDBInstanceArn(String dBInstanceArn)
The Amazon Resource Name (ARN) for the DB instance.
|
DBInstance |
withDBInstanceClass(String dBInstanceClass)
Contains the name of the compute and memory capacity class of the DB instance.
|
DBInstance |
withDBInstanceIdentifier(String dBInstanceIdentifier)
Contains a user-provided database identifier.
|
DBInstance |
withDBInstanceStatus(String dBInstanceStatus)
Specifies the current state of this database.
|
DBInstance |
withDbiResourceId(String dbiResourceId)
The AWS Region-unique, immutable identifier for the DB instance.
|
DBInstance |
withDBSubnetGroup(DBSubnetGroup dBSubnetGroup)
Specifies information on the subnet group that is associated with the DB instance, including the name,
description, and subnets in the subnet group.
|
DBInstance |
withEnabledCloudwatchLogsExports(Collection<String> enabledCloudwatchLogsExports)
A list of log types that this DB instance is configured to export to Amazon CloudWatch Logs.
|
DBInstance |
withEnabledCloudwatchLogsExports(String... enabledCloudwatchLogsExports)
A list of log types that this DB instance is configured to export to Amazon CloudWatch Logs.
|
DBInstance |
withEndpoint(Endpoint endpoint)
Specifies the connection endpoint.
|
DBInstance |
withEngine(String engine)
Provides the name of the database engine to be used for this DB instance.
|
DBInstance |
withEngineVersion(String engineVersion)
Indicates the database engine version.
|
DBInstance |
withInstanceCreateTime(Date instanceCreateTime)
Provides the date and time that the DB instance was created.
|
DBInstance |
withKmsKeyId(String kmsKeyId)
If
StorageEncrypted is true , the AWS KMS key identifier for the encrypted DB instance. |
DBInstance |
withLatestRestorableTime(Date latestRestorableTime)
Specifies the latest time to which a database can be restored with point-in-time restore.
|
DBInstance |
withPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
Specifies that changes to the DB instance are pending.
|
DBInstance |
withPreferredBackupWindow(String preferredBackupWindow)
Specifies the daily time range during which automated backups are created if automated backups are enabled, as
determined by the
BackupRetentionPeriod . |
DBInstance |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
DBInstance |
withPromotionTier(Integer promotionTier)
A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after
a failure of the existing primary instance.
|
DBInstance |
withPubliclyAccessible(Boolean publiclyAccessible)
Not supported.
|
DBInstance |
withStatusInfos(Collection<DBInstanceStatusInfo> statusInfos)
The status of a read replica.
|
DBInstance |
withStatusInfos(DBInstanceStatusInfo... statusInfos)
The status of a read replica.
|
DBInstance |
withStorageEncrypted(Boolean storageEncrypted)
Specifies whether or not the DB instance is encrypted.
|
DBInstance |
withVpcSecurityGroups(Collection<VpcSecurityGroupMembership> vpcSecurityGroups)
Provides a list of VPC security group elements that the DB instance belongs to.
|
DBInstance |
withVpcSecurityGroups(VpcSecurityGroupMembership... vpcSecurityGroups)
Provides a list of VPC security group elements that the DB instance belongs to.
|
public void setDBInstanceIdentifier(String dBInstanceIdentifier)
Contains a user-provided database identifier. This identifier is the unique key that identifies a DB instance.
dBInstanceIdentifier
- Contains a user-provided database identifier. This identifier is the unique key that identifies a DB
instance.public String getDBInstanceIdentifier()
Contains a user-provided database identifier. This identifier is the unique key that identifies a DB instance.
public DBInstance withDBInstanceIdentifier(String dBInstanceIdentifier)
Contains a user-provided database identifier. This identifier is the unique key that identifies a DB instance.
dBInstanceIdentifier
- Contains a user-provided database identifier. This identifier is the unique key that identifies a DB
instance.public void setDBInstanceClass(String dBInstanceClass)
Contains the name of the compute and memory capacity class of the DB instance.
dBInstanceClass
- Contains the name of the compute and memory capacity class of the DB instance.public String getDBInstanceClass()
Contains the name of the compute and memory capacity class of the DB instance.
public DBInstance withDBInstanceClass(String dBInstanceClass)
Contains the name of the compute and memory capacity class of the DB instance.
dBInstanceClass
- Contains the name of the compute and memory capacity class of the DB instance.public void setEngine(String engine)
Provides the name of the database engine to be used for this DB instance.
engine
- Provides the name of the database engine to be used for this DB instance.public String getEngine()
Provides the name of the database engine to be used for this DB instance.
public DBInstance withEngine(String engine)
Provides the name of the database engine to be used for this DB instance.
engine
- Provides the name of the database engine to be used for this DB instance.public void setDBInstanceStatus(String dBInstanceStatus)
Specifies the current state of this database.
dBInstanceStatus
- Specifies the current state of this database.public String getDBInstanceStatus()
Specifies the current state of this database.
public DBInstance withDBInstanceStatus(String dBInstanceStatus)
Specifies the current state of this database.
dBInstanceStatus
- Specifies the current state of this database.public void setEndpoint(Endpoint endpoint)
Specifies the connection endpoint.
endpoint
- Specifies the connection endpoint.public Endpoint getEndpoint()
Specifies the connection endpoint.
public DBInstance withEndpoint(Endpoint endpoint)
Specifies the connection endpoint.
endpoint
- Specifies the connection endpoint.public void setInstanceCreateTime(Date instanceCreateTime)
Provides the date and time that the DB instance was created.
instanceCreateTime
- Provides the date and time that the DB instance was created.public Date getInstanceCreateTime()
Provides the date and time that the DB instance was created.
public DBInstance withInstanceCreateTime(Date instanceCreateTime)
Provides the date and time that the DB instance was created.
instanceCreateTime
- Provides the date and time that the DB instance was created.public void setPreferredBackupWindow(String preferredBackupWindow)
Specifies the daily time range during which automated backups are created if automated backups are enabled, as
determined by the BackupRetentionPeriod
.
preferredBackupWindow
- Specifies the daily time range during which automated backups are created if automated backups are
enabled, as determined by the BackupRetentionPeriod
.public String getPreferredBackupWindow()
Specifies the daily time range during which automated backups are created if automated backups are enabled, as
determined by the BackupRetentionPeriod
.
BackupRetentionPeriod
.public DBInstance withPreferredBackupWindow(String preferredBackupWindow)
Specifies the daily time range during which automated backups are created if automated backups are enabled, as
determined by the BackupRetentionPeriod
.
preferredBackupWindow
- Specifies the daily time range during which automated backups are created if automated backups are
enabled, as determined by the BackupRetentionPeriod
.public void setBackupRetentionPeriod(Integer backupRetentionPeriod)
Specifies the number of days for which automatic DB snapshots are retained.
backupRetentionPeriod
- Specifies the number of days for which automatic DB snapshots are retained.public Integer getBackupRetentionPeriod()
Specifies the number of days for which automatic DB snapshots are retained.
public DBInstance withBackupRetentionPeriod(Integer backupRetentionPeriod)
Specifies the number of days for which automatic DB snapshots are retained.
backupRetentionPeriod
- Specifies the number of days for which automatic DB snapshots are retained.public List<VpcSecurityGroupMembership> getVpcSecurityGroups()
Provides a list of VPC security group elements that the DB instance belongs to.
public void setVpcSecurityGroups(Collection<VpcSecurityGroupMembership> vpcSecurityGroups)
Provides a list of VPC security group elements that the DB instance belongs to.
vpcSecurityGroups
- Provides a list of VPC security group elements that the DB instance belongs to.public DBInstance withVpcSecurityGroups(VpcSecurityGroupMembership... vpcSecurityGroups)
Provides a list of VPC security group elements that the DB instance belongs to.
NOTE: This method appends the values to the existing list (if any). Use
setVpcSecurityGroups(java.util.Collection)
or withVpcSecurityGroups(java.util.Collection)
if
you want to override the existing values.
vpcSecurityGroups
- Provides a list of VPC security group elements that the DB instance belongs to.public DBInstance withVpcSecurityGroups(Collection<VpcSecurityGroupMembership> vpcSecurityGroups)
Provides a list of VPC security group elements that the DB instance belongs to.
vpcSecurityGroups
- Provides a list of VPC security group elements that the DB instance belongs to.public void setAvailabilityZone(String availabilityZone)
Specifies the name of the Availability Zone that the DB instance is located in.
availabilityZone
- Specifies the name of the Availability Zone that the DB instance is located in.public String getAvailabilityZone()
Specifies the name of the Availability Zone that the DB instance is located in.
public DBInstance withAvailabilityZone(String availabilityZone)
Specifies the name of the Availability Zone that the DB instance is located in.
availabilityZone
- Specifies the name of the Availability Zone that the DB instance is located in.public void setDBSubnetGroup(DBSubnetGroup dBSubnetGroup)
Specifies information on the subnet group that is associated with the DB instance, including the name, description, and subnets in the subnet group.
dBSubnetGroup
- Specifies information on the subnet group that is associated with the DB instance, including the name,
description, and subnets in the subnet group.public DBSubnetGroup getDBSubnetGroup()
Specifies information on the subnet group that is associated with the DB instance, including the name, description, and subnets in the subnet group.
public DBInstance withDBSubnetGroup(DBSubnetGroup dBSubnetGroup)
Specifies information on the subnet group that is associated with the DB instance, including the name, description, and subnets in the subnet group.
dBSubnetGroup
- Specifies information on the subnet group that is associated with the DB instance, including the name,
description, and subnets in the subnet group.public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
preferredMaintenanceWindow
- Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time
(UTC).public String getPreferredMaintenanceWindow()
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
public DBInstance withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
preferredMaintenanceWindow
- Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time
(UTC).public void setPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
Specifies that changes to the DB instance are pending. This element is included only when changes are pending. Specific changes are identified by subelements.
pendingModifiedValues
- Specifies that changes to the DB instance are pending. This element is included only when changes are
pending. Specific changes are identified by subelements.public PendingModifiedValues getPendingModifiedValues()
Specifies that changes to the DB instance are pending. This element is included only when changes are pending. Specific changes are identified by subelements.
public DBInstance withPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
Specifies that changes to the DB instance are pending. This element is included only when changes are pending. Specific changes are identified by subelements.
pendingModifiedValues
- Specifies that changes to the DB instance are pending. This element is included only when changes are
pending. Specific changes are identified by subelements.public void setLatestRestorableTime(Date latestRestorableTime)
Specifies the latest time to which a database can be restored with point-in-time restore.
latestRestorableTime
- Specifies the latest time to which a database can be restored with point-in-time restore.public Date getLatestRestorableTime()
Specifies the latest time to which a database can be restored with point-in-time restore.
public DBInstance withLatestRestorableTime(Date latestRestorableTime)
Specifies the latest time to which a database can be restored with point-in-time restore.
latestRestorableTime
- Specifies the latest time to which a database can be restored with point-in-time restore.public void setEngineVersion(String engineVersion)
Indicates the database engine version.
engineVersion
- Indicates the database engine version.public String getEngineVersion()
Indicates the database engine version.
public DBInstance withEngineVersion(String engineVersion)
Indicates the database engine version.
engineVersion
- Indicates the database engine version.public void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Indicates that minor version patches are applied automatically.
autoMinorVersionUpgrade
- Indicates that minor version patches are applied automatically.public Boolean getAutoMinorVersionUpgrade()
Indicates that minor version patches are applied automatically.
public DBInstance withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Indicates that minor version patches are applied automatically.
autoMinorVersionUpgrade
- Indicates that minor version patches are applied automatically.public Boolean isAutoMinorVersionUpgrade()
Indicates that minor version patches are applied automatically.
public void setPubliclyAccessible(Boolean publiclyAccessible)
Not supported. Amazon DocumentDB does not currently support public endpoints. The value of
PubliclyAccessible
is always false
.
publiclyAccessible
- Not supported. Amazon DocumentDB does not currently support public endpoints. The value of
PubliclyAccessible
is always false
.public Boolean getPubliclyAccessible()
Not supported. Amazon DocumentDB does not currently support public endpoints. The value of
PubliclyAccessible
is always false
.
PubliclyAccessible
is always false
.public DBInstance withPubliclyAccessible(Boolean publiclyAccessible)
Not supported. Amazon DocumentDB does not currently support public endpoints. The value of
PubliclyAccessible
is always false
.
publiclyAccessible
- Not supported. Amazon DocumentDB does not currently support public endpoints. The value of
PubliclyAccessible
is always false
.public Boolean isPubliclyAccessible()
Not supported. Amazon DocumentDB does not currently support public endpoints. The value of
PubliclyAccessible
is always false
.
PubliclyAccessible
is always false
.public List<DBInstanceStatusInfo> getStatusInfos()
The status of a read replica. If the instance is not a read replica, this is blank.
public void setStatusInfos(Collection<DBInstanceStatusInfo> statusInfos)
The status of a read replica. If the instance is not a read replica, this is blank.
statusInfos
- The status of a read replica. If the instance is not a read replica, this is blank.public DBInstance withStatusInfos(DBInstanceStatusInfo... statusInfos)
The status of a read replica. If the instance is not a read replica, this is blank.
NOTE: This method appends the values to the existing list (if any). Use
setStatusInfos(java.util.Collection)
or withStatusInfos(java.util.Collection)
if you want to
override the existing values.
statusInfos
- The status of a read replica. If the instance is not a read replica, this is blank.public DBInstance withStatusInfos(Collection<DBInstanceStatusInfo> statusInfos)
The status of a read replica. If the instance is not a read replica, this is blank.
statusInfos
- The status of a read replica. If the instance is not a read replica, this is blank.public void setDBClusterIdentifier(String dBClusterIdentifier)
Contains the name of the DB cluster that the DB instance is a member of if the DB instance is a member of a DB cluster.
dBClusterIdentifier
- Contains the name of the DB cluster that the DB instance is a member of if the DB instance is a member of
a DB cluster.public String getDBClusterIdentifier()
Contains the name of the DB cluster that the DB instance is a member of if the DB instance is a member of a DB cluster.
public DBInstance withDBClusterIdentifier(String dBClusterIdentifier)
Contains the name of the DB cluster that the DB instance is a member of if the DB instance is a member of a DB cluster.
dBClusterIdentifier
- Contains the name of the DB cluster that the DB instance is a member of if the DB instance is a member of
a DB cluster.public void setStorageEncrypted(Boolean storageEncrypted)
Specifies whether or not the DB instance is encrypted.
storageEncrypted
- Specifies whether or not the DB instance is encrypted.public Boolean getStorageEncrypted()
Specifies whether or not the DB instance is encrypted.
public DBInstance withStorageEncrypted(Boolean storageEncrypted)
Specifies whether or not the DB instance is encrypted.
storageEncrypted
- Specifies whether or not the DB instance is encrypted.public Boolean isStorageEncrypted()
Specifies whether or not the DB instance is encrypted.
public void setKmsKeyId(String kmsKeyId)
If StorageEncrypted
is true
, the AWS KMS key identifier for the encrypted DB instance.
kmsKeyId
- If StorageEncrypted
is true
, the AWS KMS key identifier for the encrypted DB
instance.public String getKmsKeyId()
If StorageEncrypted
is true
, the AWS KMS key identifier for the encrypted DB instance.
StorageEncrypted
is true
, the AWS KMS key identifier for the encrypted DB
instance.public DBInstance withKmsKeyId(String kmsKeyId)
If StorageEncrypted
is true
, the AWS KMS key identifier for the encrypted DB instance.
kmsKeyId
- If StorageEncrypted
is true
, the AWS KMS key identifier for the encrypted DB
instance.public void setDbiResourceId(String dbiResourceId)
The AWS Region-unique, immutable identifier for the DB instance. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB instance is accessed.
dbiResourceId
- The AWS Region-unique, immutable identifier for the DB instance. This identifier is found in AWS
CloudTrail log entries whenever the AWS KMS key for the DB instance is accessed.public String getDbiResourceId()
The AWS Region-unique, immutable identifier for the DB instance. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB instance is accessed.
public DBInstance withDbiResourceId(String dbiResourceId)
The AWS Region-unique, immutable identifier for the DB instance. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB instance is accessed.
dbiResourceId
- The AWS Region-unique, immutable identifier for the DB instance. This identifier is found in AWS
CloudTrail log entries whenever the AWS KMS key for the DB instance is accessed.public void setCACertificateIdentifier(String cACertificateIdentifier)
The identifier of the CA certificate for this DB instance.
cACertificateIdentifier
- The identifier of the CA certificate for this DB instance.public String getCACertificateIdentifier()
The identifier of the CA certificate for this DB instance.
public DBInstance withCACertificateIdentifier(String cACertificateIdentifier)
The identifier of the CA certificate for this DB instance.
cACertificateIdentifier
- The identifier of the CA certificate for this DB instance.public void setPromotionTier(Integer promotionTier)
A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.
promotionTier
- A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance
after a failure of the existing primary instance.public Integer getPromotionTier()
A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.
public DBInstance withPromotionTier(Integer promotionTier)
A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.
promotionTier
- A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance
after a failure of the existing primary instance.public void setDBInstanceArn(String dBInstanceArn)
The Amazon Resource Name (ARN) for the DB instance.
dBInstanceArn
- The Amazon Resource Name (ARN) for the DB instance.public String getDBInstanceArn()
The Amazon Resource Name (ARN) for the DB instance.
public DBInstance withDBInstanceArn(String dBInstanceArn)
The Amazon Resource Name (ARN) for the DB instance.
dBInstanceArn
- The Amazon Resource Name (ARN) for the DB instance.public List<String> getEnabledCloudwatchLogsExports()
A list of log types that this DB instance is configured to export to Amazon CloudWatch Logs.
public void setEnabledCloudwatchLogsExports(Collection<String> enabledCloudwatchLogsExports)
A list of log types that this DB instance is configured to export to Amazon CloudWatch Logs.
enabledCloudwatchLogsExports
- A list of log types that this DB instance is configured to export to Amazon CloudWatch Logs.public DBInstance withEnabledCloudwatchLogsExports(String... enabledCloudwatchLogsExports)
A list of log types that this DB instance is configured to export to Amazon CloudWatch Logs.
NOTE: This method appends the values to the existing list (if any). Use
setEnabledCloudwatchLogsExports(java.util.Collection)
or
withEnabledCloudwatchLogsExports(java.util.Collection)
if you want to override the existing values.
enabledCloudwatchLogsExports
- A list of log types that this DB instance is configured to export to Amazon CloudWatch Logs.public DBInstance withEnabledCloudwatchLogsExports(Collection<String> enabledCloudwatchLogsExports)
A list of log types that this DB instance is configured to export to Amazon CloudWatch Logs.
enabledCloudwatchLogsExports
- A list of log types that this DB instance is configured to export to Amazon CloudWatch Logs.public String toString()
toString
in class Object
Object.toString()
public DBInstance clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.