@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DBSnapshot extends Object implements Serializable, Cloneable
Contains the details of an Amazon RDS DB snapshot.
This data type is used as a response element in the DescribeDBSnapshots
action.
Constructor and Description |
---|
DBSnapshot() |
Modifier and Type | Method and Description |
---|---|
DBSnapshot |
clone() |
boolean |
equals(Object obj) |
Integer |
getAllocatedStorage()
Specifies the allocated storage size in gibibytes (GiB).
|
String |
getAvailabilityZone()
Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
|
String |
getDBInstanceIdentifier()
Specifies the DB instance identifier of the DB instance this DB snapshot was created from.
|
String |
getDbiResourceId()
The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services
Region.
|
String |
getDBSnapshotArn()
The Amazon Resource Name (ARN) for the DB snapshot.
|
String |
getDBSnapshotIdentifier()
Specifies the identifier for the DB snapshot.
|
String |
getDBSystemId()
The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database
files.
|
Boolean |
getDedicatedLogVolume()
Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
|
Boolean |
getEncrypted()
Indicates whether the DB snapshot is encrypted.
|
String |
getEngine()
Specifies the name of the database engine.
|
String |
getEngineVersion()
Specifies the version of the database engine.
|
Boolean |
getIAMDatabaseAuthenticationEnabled()
Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database
accounts is enabled.
|
Date |
getInstanceCreateTime()
Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken,
was created.
|
Integer |
getIops()
Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
|
String |
getKmsKeyId()
If
Encrypted is true, the Amazon Web Services KMS key identifier for the encrypted DB snapshot. |
String |
getLicenseModel()
License model information for the restored DB instance.
|
String |
getMasterUsername()
Provides the master username for the DB snapshot.
|
Boolean |
getMultiTenant()
Indicates whether the snapshot is of a DB instance using the multi-tenant configuration (TRUE) or the
single-tenant configuration (FALSE).
|
String |
getOptionGroupName()
Provides the option group name for the DB snapshot.
|
Date |
getOriginalSnapshotCreateTime()
Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC).
|
Integer |
getPercentProgress()
The percentage of the estimated data that has been transferred.
|
Integer |
getPort()
Specifies the port that the database engine was listening on at the time of the snapshot.
|
List<ProcessorFeature> |
getProcessorFeatures()
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance when the
DB snapshot was created.
|
Date |
getSnapshotCreateTime()
Specifies when the snapshot was taken in Coordinated Universal Time (UTC).
|
Date |
getSnapshotDatabaseTime()
The timestamp of the most recent transaction applied to the database that you're backing up.
|
String |
getSnapshotTarget()
Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.
|
String |
getSnapshotType()
Provides the type of the DB snapshot.
|
String |
getSourceDBSnapshotIdentifier()
The DB snapshot Amazon Resource Name (ARN) that the DB snapshot was copied from.
|
String |
getSourceRegion()
The Amazon Web Services Region that the DB snapshot was created in or copied from.
|
String |
getStatus()
Specifies the status of this DB snapshot.
|
Integer |
getStorageThroughput()
Specifies the storage throughput for the DB snapshot.
|
String |
getStorageType()
Specifies the storage type associated with DB snapshot.
|
List<Tag> |
getTagList() |
String |
getTdeCredentialArn()
The ARN from the key store with which to associate the instance for TDE encryption.
|
String |
getTimezone()
The time zone of the DB snapshot.
|
String |
getVpcId()
Provides the VPC ID associated with the DB snapshot.
|
int |
hashCode() |
Boolean |
isDedicatedLogVolume()
Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
|
Boolean |
isEncrypted()
Indicates whether the DB snapshot is encrypted.
|
Boolean |
isIAMDatabaseAuthenticationEnabled()
Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database
accounts is enabled.
|
Boolean |
isMultiTenant()
Indicates whether the snapshot is of a DB instance using the multi-tenant configuration (TRUE) or the
single-tenant configuration (FALSE).
|
void |
setAllocatedStorage(Integer allocatedStorage)
Specifies the allocated storage size in gibibytes (GiB).
|
void |
setAvailabilityZone(String availabilityZone)
Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
|
void |
setDBInstanceIdentifier(String dBInstanceIdentifier)
Specifies the DB instance identifier of the DB instance this DB snapshot was created from.
|
void |
setDbiResourceId(String dbiResourceId)
The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services
Region.
|
void |
setDBSnapshotArn(String dBSnapshotArn)
The Amazon Resource Name (ARN) for the DB snapshot.
|
void |
setDBSnapshotIdentifier(String dBSnapshotIdentifier)
Specifies the identifier for the DB snapshot.
|
void |
setDBSystemId(String dBSystemId)
The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database
files.
|
void |
setDedicatedLogVolume(Boolean dedicatedLogVolume)
Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
|
void |
setEncrypted(Boolean encrypted)
Indicates whether the DB snapshot is encrypted.
|
void |
setEngine(String engine)
Specifies the name of the database engine.
|
void |
setEngineVersion(String engineVersion)
Specifies the version of the database engine.
|
void |
setIAMDatabaseAuthenticationEnabled(Boolean iAMDatabaseAuthenticationEnabled)
Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database
accounts is enabled.
|
void |
setInstanceCreateTime(Date instanceCreateTime)
Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken,
was created.
|
void |
setIops(Integer iops)
Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
|
void |
setKmsKeyId(String kmsKeyId)
If
Encrypted is true, the Amazon Web Services KMS key identifier for the encrypted DB snapshot. |
void |
setLicenseModel(String licenseModel)
License model information for the restored DB instance.
|
void |
setMasterUsername(String masterUsername)
Provides the master username for the DB snapshot.
|
void |
setMultiTenant(Boolean multiTenant)
Indicates whether the snapshot is of a DB instance using the multi-tenant configuration (TRUE) or the
single-tenant configuration (FALSE).
|
void |
setOptionGroupName(String optionGroupName)
Provides the option group name for the DB snapshot.
|
void |
setOriginalSnapshotCreateTime(Date originalSnapshotCreateTime)
Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC).
|
void |
setPercentProgress(Integer percentProgress)
The percentage of the estimated data that has been transferred.
|
void |
setPort(Integer port)
Specifies the port that the database engine was listening on at the time of the snapshot.
|
void |
setProcessorFeatures(Collection<ProcessorFeature> processorFeatures)
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance when the
DB snapshot was created.
|
void |
setSnapshotCreateTime(Date snapshotCreateTime)
Specifies when the snapshot was taken in Coordinated Universal Time (UTC).
|
void |
setSnapshotDatabaseTime(Date snapshotDatabaseTime)
The timestamp of the most recent transaction applied to the database that you're backing up.
|
void |
setSnapshotTarget(String snapshotTarget)
Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.
|
void |
setSnapshotType(String snapshotType)
Provides the type of the DB snapshot.
|
void |
setSourceDBSnapshotIdentifier(String sourceDBSnapshotIdentifier)
The DB snapshot Amazon Resource Name (ARN) that the DB snapshot was copied from.
|
void |
setSourceRegion(String sourceRegion)
The Amazon Web Services Region that the DB snapshot was created in or copied from.
|
void |
setStatus(String status)
Specifies the status of this DB snapshot.
|
void |
setStorageThroughput(Integer storageThroughput)
Specifies the storage throughput for the DB snapshot.
|
void |
setStorageType(String storageType)
Specifies the storage type associated with DB snapshot.
|
void |
setTagList(Collection<Tag> tagList) |
void |
setTdeCredentialArn(String tdeCredentialArn)
The ARN from the key store with which to associate the instance for TDE encryption.
|
void |
setTimezone(String timezone)
The time zone of the DB snapshot.
|
void |
setVpcId(String vpcId)
Provides the VPC ID associated with the DB snapshot.
|
String |
toString()
Returns a string representation of this object.
|
DBSnapshot |
withAllocatedStorage(Integer allocatedStorage)
Specifies the allocated storage size in gibibytes (GiB).
|
DBSnapshot |
withAvailabilityZone(String availabilityZone)
Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
|
DBSnapshot |
withDBInstanceIdentifier(String dBInstanceIdentifier)
Specifies the DB instance identifier of the DB instance this DB snapshot was created from.
|
DBSnapshot |
withDbiResourceId(String dbiResourceId)
The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services
Region.
|
DBSnapshot |
withDBSnapshotArn(String dBSnapshotArn)
The Amazon Resource Name (ARN) for the DB snapshot.
|
DBSnapshot |
withDBSnapshotIdentifier(String dBSnapshotIdentifier)
Specifies the identifier for the DB snapshot.
|
DBSnapshot |
withDBSystemId(String dBSystemId)
The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database
files.
|
DBSnapshot |
withDedicatedLogVolume(Boolean dedicatedLogVolume)
Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
|
DBSnapshot |
withEncrypted(Boolean encrypted)
Indicates whether the DB snapshot is encrypted.
|
DBSnapshot |
withEngine(String engine)
Specifies the name of the database engine.
|
DBSnapshot |
withEngineVersion(String engineVersion)
Specifies the version of the database engine.
|
DBSnapshot |
withIAMDatabaseAuthenticationEnabled(Boolean iAMDatabaseAuthenticationEnabled)
Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database
accounts is enabled.
|
DBSnapshot |
withInstanceCreateTime(Date instanceCreateTime)
Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken,
was created.
|
DBSnapshot |
withIops(Integer iops)
Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
|
DBSnapshot |
withKmsKeyId(String kmsKeyId)
If
Encrypted is true, the Amazon Web Services KMS key identifier for the encrypted DB snapshot. |
DBSnapshot |
withLicenseModel(String licenseModel)
License model information for the restored DB instance.
|
DBSnapshot |
withMasterUsername(String masterUsername)
Provides the master username for the DB snapshot.
|
DBSnapshot |
withMultiTenant(Boolean multiTenant)
Indicates whether the snapshot is of a DB instance using the multi-tenant configuration (TRUE) or the
single-tenant configuration (FALSE).
|
DBSnapshot |
withOptionGroupName(String optionGroupName)
Provides the option group name for the DB snapshot.
|
DBSnapshot |
withOriginalSnapshotCreateTime(Date originalSnapshotCreateTime)
Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC).
|
DBSnapshot |
withPercentProgress(Integer percentProgress)
The percentage of the estimated data that has been transferred.
|
DBSnapshot |
withPort(Integer port)
Specifies the port that the database engine was listening on at the time of the snapshot.
|
DBSnapshot |
withProcessorFeatures(Collection<ProcessorFeature> processorFeatures)
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance when the
DB snapshot was created.
|
DBSnapshot |
withProcessorFeatures(ProcessorFeature... processorFeatures)
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance when the
DB snapshot was created.
|
DBSnapshot |
withSnapshotCreateTime(Date snapshotCreateTime)
Specifies when the snapshot was taken in Coordinated Universal Time (UTC).
|
DBSnapshot |
withSnapshotDatabaseTime(Date snapshotDatabaseTime)
The timestamp of the most recent transaction applied to the database that you're backing up.
|
DBSnapshot |
withSnapshotTarget(String snapshotTarget)
Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.
|
DBSnapshot |
withSnapshotType(String snapshotType)
Provides the type of the DB snapshot.
|
DBSnapshot |
withSourceDBSnapshotIdentifier(String sourceDBSnapshotIdentifier)
The DB snapshot Amazon Resource Name (ARN) that the DB snapshot was copied from.
|
DBSnapshot |
withSourceRegion(String sourceRegion)
The Amazon Web Services Region that the DB snapshot was created in or copied from.
|
DBSnapshot |
withStatus(String status)
Specifies the status of this DB snapshot.
|
DBSnapshot |
withStorageThroughput(Integer storageThroughput)
Specifies the storage throughput for the DB snapshot.
|
DBSnapshot |
withStorageType(String storageType)
Specifies the storage type associated with DB snapshot.
|
DBSnapshot |
withTagList(Collection<Tag> tagList) |
DBSnapshot |
withTagList(Tag... tagList)
NOTE: This method appends the values to the existing list (if any).
|
DBSnapshot |
withTdeCredentialArn(String tdeCredentialArn)
The ARN from the key store with which to associate the instance for TDE encryption.
|
DBSnapshot |
withTimezone(String timezone)
The time zone of the DB snapshot.
|
DBSnapshot |
withVpcId(String vpcId)
Provides the VPC ID associated with the DB snapshot.
|
public void setDBSnapshotIdentifier(String dBSnapshotIdentifier)
Specifies the identifier for the DB snapshot.
dBSnapshotIdentifier
- Specifies the identifier for the DB snapshot.public String getDBSnapshotIdentifier()
Specifies the identifier for the DB snapshot.
public DBSnapshot withDBSnapshotIdentifier(String dBSnapshotIdentifier)
Specifies the identifier for the DB snapshot.
dBSnapshotIdentifier
- Specifies the identifier for the DB snapshot.public void setDBInstanceIdentifier(String dBInstanceIdentifier)
Specifies the DB instance identifier of the DB instance this DB snapshot was created from.
dBInstanceIdentifier
- Specifies the DB instance identifier of the DB instance this DB snapshot was created from.public String getDBInstanceIdentifier()
Specifies the DB instance identifier of the DB instance this DB snapshot was created from.
public DBSnapshot withDBInstanceIdentifier(String dBInstanceIdentifier)
Specifies the DB instance identifier of the DB instance this DB snapshot was created from.
dBInstanceIdentifier
- Specifies the DB instance identifier of the DB instance this DB snapshot was created from.public void setSnapshotCreateTime(Date snapshotCreateTime)
Specifies when the snapshot was taken in Coordinated Universal Time (UTC). Changes for the copy when the snapshot is copied.
snapshotCreateTime
- Specifies when the snapshot was taken in Coordinated Universal Time (UTC). Changes for the copy when the
snapshot is copied.public Date getSnapshotCreateTime()
Specifies when the snapshot was taken in Coordinated Universal Time (UTC). Changes for the copy when the snapshot is copied.
public DBSnapshot withSnapshotCreateTime(Date snapshotCreateTime)
Specifies when the snapshot was taken in Coordinated Universal Time (UTC). Changes for the copy when the snapshot is copied.
snapshotCreateTime
- Specifies when the snapshot was taken in Coordinated Universal Time (UTC). Changes for the copy when the
snapshot is copied.public void setEngine(String engine)
Specifies the name of the database engine.
engine
- Specifies the name of the database engine.public String getEngine()
Specifies the name of the database engine.
public DBSnapshot withEngine(String engine)
Specifies the name of the database engine.
engine
- Specifies the name of the database engine.public void setAllocatedStorage(Integer allocatedStorage)
Specifies the allocated storage size in gibibytes (GiB).
allocatedStorage
- Specifies the allocated storage size in gibibytes (GiB).public Integer getAllocatedStorage()
Specifies the allocated storage size in gibibytes (GiB).
public DBSnapshot withAllocatedStorage(Integer allocatedStorage)
Specifies the allocated storage size in gibibytes (GiB).
allocatedStorage
- Specifies the allocated storage size in gibibytes (GiB).public void setStatus(String status)
Specifies the status of this DB snapshot.
status
- Specifies the status of this DB snapshot.public String getStatus()
Specifies the status of this DB snapshot.
public DBSnapshot withStatus(String status)
Specifies the status of this DB snapshot.
status
- Specifies the status of this DB snapshot.public void setPort(Integer port)
Specifies the port that the database engine was listening on at the time of the snapshot.
port
- Specifies the port that the database engine was listening on at the time of the snapshot.public Integer getPort()
Specifies the port that the database engine was listening on at the time of the snapshot.
public DBSnapshot withPort(Integer port)
Specifies the port that the database engine was listening on at the time of the snapshot.
port
- Specifies the port that the database engine was listening on at the time of the snapshot.public void setAvailabilityZone(String availabilityZone)
Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
availabilityZone
- Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.public String getAvailabilityZone()
Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
public DBSnapshot withAvailabilityZone(String availabilityZone)
Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
availabilityZone
- Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.public void setVpcId(String vpcId)
Provides the VPC ID associated with the DB snapshot.
vpcId
- Provides the VPC ID associated with the DB snapshot.public String getVpcId()
Provides the VPC ID associated with the DB snapshot.
public DBSnapshot withVpcId(String vpcId)
Provides the VPC ID associated with the DB snapshot.
vpcId
- Provides the VPC ID associated with the DB snapshot.public void setInstanceCreateTime(Date instanceCreateTime)
Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created.
instanceCreateTime
- Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was
taken, was created.public Date getInstanceCreateTime()
Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created.
public DBSnapshot withInstanceCreateTime(Date instanceCreateTime)
Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created.
instanceCreateTime
- Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was
taken, was created.public void setMasterUsername(String masterUsername)
Provides the master username for the DB snapshot.
masterUsername
- Provides the master username for the DB snapshot.public String getMasterUsername()
Provides the master username for the DB snapshot.
public DBSnapshot withMasterUsername(String masterUsername)
Provides the master username for the DB snapshot.
masterUsername
- Provides the master username for the DB snapshot.public void setEngineVersion(String engineVersion)
Specifies the version of the database engine.
engineVersion
- Specifies the version of the database engine.public String getEngineVersion()
Specifies the version of the database engine.
public DBSnapshot withEngineVersion(String engineVersion)
Specifies the version of the database engine.
engineVersion
- Specifies the version of the database engine.public void setLicenseModel(String licenseModel)
License model information for the restored DB instance.
licenseModel
- License model information for the restored DB instance.public String getLicenseModel()
License model information for the restored DB instance.
public DBSnapshot withLicenseModel(String licenseModel)
License model information for the restored DB instance.
licenseModel
- License model information for the restored DB instance.public void setSnapshotType(String snapshotType)
Provides the type of the DB snapshot.
snapshotType
- Provides the type of the DB snapshot.public String getSnapshotType()
Provides the type of the DB snapshot.
public DBSnapshot withSnapshotType(String snapshotType)
Provides the type of the DB snapshot.
snapshotType
- Provides the type of the DB snapshot.public void setIops(Integer iops)
Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
iops
- Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the
snapshot.public Integer getIops()
Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
public DBSnapshot withIops(Integer iops)
Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
iops
- Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the
snapshot.public void setOptionGroupName(String optionGroupName)
Provides the option group name for the DB snapshot.
optionGroupName
- Provides the option group name for the DB snapshot.public String getOptionGroupName()
Provides the option group name for the DB snapshot.
public DBSnapshot withOptionGroupName(String optionGroupName)
Provides the option group name for the DB snapshot.
optionGroupName
- Provides the option group name for the DB snapshot.public void setPercentProgress(Integer percentProgress)
The percentage of the estimated data that has been transferred.
percentProgress
- The percentage of the estimated data that has been transferred.public Integer getPercentProgress()
The percentage of the estimated data that has been transferred.
public DBSnapshot withPercentProgress(Integer percentProgress)
The percentage of the estimated data that has been transferred.
percentProgress
- The percentage of the estimated data that has been transferred.public void setSourceRegion(String sourceRegion)
The Amazon Web Services Region that the DB snapshot was created in or copied from.
sourceRegion
- The Amazon Web Services Region that the DB snapshot was created in or copied from.public String getSourceRegion()
The Amazon Web Services Region that the DB snapshot was created in or copied from.
public DBSnapshot withSourceRegion(String sourceRegion)
The Amazon Web Services Region that the DB snapshot was created in or copied from.
sourceRegion
- The Amazon Web Services Region that the DB snapshot was created in or copied from.public void setSourceDBSnapshotIdentifier(String sourceDBSnapshotIdentifier)
The DB snapshot Amazon Resource Name (ARN) that the DB snapshot was copied from. It only has a value in the case of a cross-account or cross-Region copy.
sourceDBSnapshotIdentifier
- The DB snapshot Amazon Resource Name (ARN) that the DB snapshot was copied from. It only has a value in
the case of a cross-account or cross-Region copy.public String getSourceDBSnapshotIdentifier()
The DB snapshot Amazon Resource Name (ARN) that the DB snapshot was copied from. It only has a value in the case of a cross-account or cross-Region copy.
public DBSnapshot withSourceDBSnapshotIdentifier(String sourceDBSnapshotIdentifier)
The DB snapshot Amazon Resource Name (ARN) that the DB snapshot was copied from. It only has a value in the case of a cross-account or cross-Region copy.
sourceDBSnapshotIdentifier
- The DB snapshot Amazon Resource Name (ARN) that the DB snapshot was copied from. It only has a value in
the case of a cross-account or cross-Region copy.public void setStorageType(String storageType)
Specifies the storage type associated with DB snapshot.
storageType
- Specifies the storage type associated with DB snapshot.public String getStorageType()
Specifies the storage type associated with DB snapshot.
public DBSnapshot withStorageType(String storageType)
Specifies the storage type associated with DB snapshot.
storageType
- Specifies the storage type associated with DB snapshot.public void setTdeCredentialArn(String tdeCredentialArn)
The ARN from the key store with which to associate the instance for TDE encryption.
tdeCredentialArn
- The ARN from the key store with which to associate the instance for TDE encryption.public String getTdeCredentialArn()
The ARN from the key store with which to associate the instance for TDE encryption.
public DBSnapshot withTdeCredentialArn(String tdeCredentialArn)
The ARN from the key store with which to associate the instance for TDE encryption.
tdeCredentialArn
- The ARN from the key store with which to associate the instance for TDE encryption.public void setEncrypted(Boolean encrypted)
Indicates whether the DB snapshot is encrypted.
encrypted
- Indicates whether the DB snapshot is encrypted.public Boolean getEncrypted()
Indicates whether the DB snapshot is encrypted.
public DBSnapshot withEncrypted(Boolean encrypted)
Indicates whether the DB snapshot is encrypted.
encrypted
- Indicates whether the DB snapshot is encrypted.public Boolean isEncrypted()
Indicates whether the DB snapshot is encrypted.
public void setKmsKeyId(String kmsKeyId)
If Encrypted
is true, the Amazon Web Services KMS key identifier for the encrypted DB snapshot.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
kmsKeyId
- If Encrypted
is true, the Amazon Web Services KMS key identifier for the encrypted DB
snapshot.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
public String getKmsKeyId()
If Encrypted
is true, the Amazon Web Services KMS key identifier for the encrypted DB snapshot.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
Encrypted
is true, the Amazon Web Services KMS key identifier for the encrypted DB
snapshot.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
public DBSnapshot withKmsKeyId(String kmsKeyId)
If Encrypted
is true, the Amazon Web Services KMS key identifier for the encrypted DB snapshot.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
kmsKeyId
- If Encrypted
is true, the Amazon Web Services KMS key identifier for the encrypted DB
snapshot.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
public void setDBSnapshotArn(String dBSnapshotArn)
The Amazon Resource Name (ARN) for the DB snapshot.
dBSnapshotArn
- The Amazon Resource Name (ARN) for the DB snapshot.public String getDBSnapshotArn()
The Amazon Resource Name (ARN) for the DB snapshot.
public DBSnapshot withDBSnapshotArn(String dBSnapshotArn)
The Amazon Resource Name (ARN) for the DB snapshot.
dBSnapshotArn
- The Amazon Resource Name (ARN) for the DB snapshot.public void setTimezone(String timezone)
The time zone of the DB snapshot. In most cases, the Timezone
element is empty.
Timezone
content appears only for snapshots taken from Microsoft SQL Server DB instances that were
created with a time zone specified.
timezone
- The time zone of the DB snapshot. In most cases, the Timezone
element is empty.
Timezone
content appears only for snapshots taken from Microsoft SQL Server DB instances that
were created with a time zone specified.public String getTimezone()
The time zone of the DB snapshot. In most cases, the Timezone
element is empty.
Timezone
content appears only for snapshots taken from Microsoft SQL Server DB instances that were
created with a time zone specified.
Timezone
element is empty.
Timezone
content appears only for snapshots taken from Microsoft SQL Server DB instances
that were created with a time zone specified.public DBSnapshot withTimezone(String timezone)
The time zone of the DB snapshot. In most cases, the Timezone
element is empty.
Timezone
content appears only for snapshots taken from Microsoft SQL Server DB instances that were
created with a time zone specified.
timezone
- The time zone of the DB snapshot. In most cases, the Timezone
element is empty.
Timezone
content appears only for snapshots taken from Microsoft SQL Server DB instances that
were created with a time zone specified.public void setIAMDatabaseAuthenticationEnabled(Boolean iAMDatabaseAuthenticationEnabled)
Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled.
iAMDatabaseAuthenticationEnabled
- Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database
accounts is enabled.public Boolean getIAMDatabaseAuthenticationEnabled()
Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled.
public DBSnapshot withIAMDatabaseAuthenticationEnabled(Boolean iAMDatabaseAuthenticationEnabled)
Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled.
iAMDatabaseAuthenticationEnabled
- Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database
accounts is enabled.public Boolean isIAMDatabaseAuthenticationEnabled()
Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled.
public List<ProcessorFeature> getProcessorFeatures()
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance when the DB snapshot was created.
public void setProcessorFeatures(Collection<ProcessorFeature> processorFeatures)
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance when the DB snapshot was created.
processorFeatures
- The number of CPU cores and the number of threads per core for the DB instance class of the DB instance
when the DB snapshot was created.public DBSnapshot withProcessorFeatures(ProcessorFeature... processorFeatures)
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance when the DB snapshot was created.
NOTE: This method appends the values to the existing list (if any). Use
setProcessorFeatures(java.util.Collection)
or withProcessorFeatures(java.util.Collection)
if
you want to override the existing values.
processorFeatures
- The number of CPU cores and the number of threads per core for the DB instance class of the DB instance
when the DB snapshot was created.public DBSnapshot withProcessorFeatures(Collection<ProcessorFeature> processorFeatures)
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance when the DB snapshot was created.
processorFeatures
- The number of CPU cores and the number of threads per core for the DB instance class of the DB instance
when the DB snapshot was created.public void setDbiResourceId(String dbiResourceId)
The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services Region.
dbiResourceId
- The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web
Services Region.public String getDbiResourceId()
The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services Region.
public DBSnapshot withDbiResourceId(String dbiResourceId)
The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services Region.
dbiResourceId
- The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web
Services Region.public void setTagList(Collection<Tag> tagList)
tagList
- public DBSnapshot withTagList(Tag... tagList)
NOTE: This method appends the values to the existing list (if any). Use
setTagList(java.util.Collection)
or withTagList(java.util.Collection)
if you want to override
the existing values.
tagList
- public DBSnapshot withTagList(Collection<Tag> tagList)
tagList
- public void setOriginalSnapshotCreateTime(Date originalSnapshotCreateTime)
Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC). Doesn't change when the snapshot is copied.
originalSnapshotCreateTime
- Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC). Doesn't change
when the snapshot is copied.public Date getOriginalSnapshotCreateTime()
Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC). Doesn't change when the snapshot is copied.
public DBSnapshot withOriginalSnapshotCreateTime(Date originalSnapshotCreateTime)
Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC). Doesn't change when the snapshot is copied.
originalSnapshotCreateTime
- Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC). Doesn't change
when the snapshot is copied.public void setSnapshotDatabaseTime(Date snapshotDatabaseTime)
The timestamp of the most recent transaction applied to the database that you're backing up. Thus, if you restore a snapshot, SnapshotDatabaseTime is the most recent transaction in the restored DB instance. In contrast, originalSnapshotCreateTime specifies the system time that the snapshot completed.
If you back up a read replica, you can determine the replica lag by comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For example, if originalSnapshotCreateTime is two hours later than SnapshotDatabaseTime, then the replica lag is two hours.
snapshotDatabaseTime
- The timestamp of the most recent transaction applied to the database that you're backing up. Thus, if you
restore a snapshot, SnapshotDatabaseTime is the most recent transaction in the restored DB instance. In
contrast, originalSnapshotCreateTime specifies the system time that the snapshot completed.
If you back up a read replica, you can determine the replica lag by comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For example, if originalSnapshotCreateTime is two hours later than SnapshotDatabaseTime, then the replica lag is two hours.
public Date getSnapshotDatabaseTime()
The timestamp of the most recent transaction applied to the database that you're backing up. Thus, if you restore a snapshot, SnapshotDatabaseTime is the most recent transaction in the restored DB instance. In contrast, originalSnapshotCreateTime specifies the system time that the snapshot completed.
If you back up a read replica, you can determine the replica lag by comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For example, if originalSnapshotCreateTime is two hours later than SnapshotDatabaseTime, then the replica lag is two hours.
If you back up a read replica, you can determine the replica lag by comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For example, if originalSnapshotCreateTime is two hours later than SnapshotDatabaseTime, then the replica lag is two hours.
public DBSnapshot withSnapshotDatabaseTime(Date snapshotDatabaseTime)
The timestamp of the most recent transaction applied to the database that you're backing up. Thus, if you restore a snapshot, SnapshotDatabaseTime is the most recent transaction in the restored DB instance. In contrast, originalSnapshotCreateTime specifies the system time that the snapshot completed.
If you back up a read replica, you can determine the replica lag by comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For example, if originalSnapshotCreateTime is two hours later than SnapshotDatabaseTime, then the replica lag is two hours.
snapshotDatabaseTime
- The timestamp of the most recent transaction applied to the database that you're backing up. Thus, if you
restore a snapshot, SnapshotDatabaseTime is the most recent transaction in the restored DB instance. In
contrast, originalSnapshotCreateTime specifies the system time that the snapshot completed.
If you back up a read replica, you can determine the replica lag by comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For example, if originalSnapshotCreateTime is two hours later than SnapshotDatabaseTime, then the replica lag is two hours.
public void setSnapshotTarget(String snapshotTarget)
Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.
snapshotTarget
- Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services
Region.public String getSnapshotTarget()
Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.
public DBSnapshot withSnapshotTarget(String snapshotTarget)
Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.
snapshotTarget
- Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services
Region.public void setStorageThroughput(Integer storageThroughput)
Specifies the storage throughput for the DB snapshot.
storageThroughput
- Specifies the storage throughput for the DB snapshot.public Integer getStorageThroughput()
Specifies the storage throughput for the DB snapshot.
public DBSnapshot withStorageThroughput(Integer storageThroughput)
Specifies the storage throughput for the DB snapshot.
storageThroughput
- Specifies the storage throughput for the DB snapshot.public void setDBSystemId(String dBSystemId)
The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database files. The Oracle SID is also the name of your CDB.
dBSystemId
- The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your
database files. The Oracle SID is also the name of your CDB.public String getDBSystemId()
The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database files. The Oracle SID is also the name of your CDB.
public DBSnapshot withDBSystemId(String dBSystemId)
The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database files. The Oracle SID is also the name of your CDB.
dBSystemId
- The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your
database files. The Oracle SID is also the name of your CDB.public void setDedicatedLogVolume(Boolean dedicatedLogVolume)
Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
dedicatedLogVolume
- Indicates whether the DB instance has a dedicated log volume (DLV) enabled.public Boolean getDedicatedLogVolume()
Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
public DBSnapshot withDedicatedLogVolume(Boolean dedicatedLogVolume)
Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
dedicatedLogVolume
- Indicates whether the DB instance has a dedicated log volume (DLV) enabled.public Boolean isDedicatedLogVolume()
Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
public void setMultiTenant(Boolean multiTenant)
Indicates whether the snapshot is of a DB instance using the multi-tenant configuration (TRUE) or the single-tenant configuration (FALSE).
multiTenant
- Indicates whether the snapshot is of a DB instance using the multi-tenant configuration (TRUE) or the
single-tenant configuration (FALSE).public Boolean getMultiTenant()
Indicates whether the snapshot is of a DB instance using the multi-tenant configuration (TRUE) or the single-tenant configuration (FALSE).
public DBSnapshot withMultiTenant(Boolean multiTenant)
Indicates whether the snapshot is of a DB instance using the multi-tenant configuration (TRUE) or the single-tenant configuration (FALSE).
multiTenant
- Indicates whether the snapshot is of a DB instance using the multi-tenant configuration (TRUE) or the
single-tenant configuration (FALSE).public Boolean isMultiTenant()
Indicates whether the snapshot is of a DB instance using the multi-tenant configuration (TRUE) or the single-tenant configuration (FALSE).
public String toString()
toString
in class Object
Object.toString()
public DBSnapshot clone()