@Generated(value="software.amazon.awssdk:codegen") public final class DBSnapshot extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DBSnapshot.Builder,DBSnapshot>
Contains the details of an Amazon RDS DB snapshot.
This data type is used as a response element in the DescribeDBSnapshots action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DBSnapshot.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
allocatedStorage()
Specifies the allocated storage size in gibibytes (GiB).
|
String |
availabilityZone()
Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
|
static DBSnapshot.Builder |
builder() |
String |
dbInstanceIdentifier()
Specifies the DB instance identifier of the DB instance this DB snapshot was created from.
|
String |
dbiResourceId()
The identifier for the source DB instance, which can't be changed and which is unique to an AWS Region.
|
String |
dbSnapshotArn()
The Amazon Resource Name (ARN) for the DB snapshot.
|
String |
dbSnapshotIdentifier()
Specifies the identifier for the DB snapshot.
|
Boolean |
encrypted()
Specifies whether the DB snapshot is encrypted.
|
String |
engine()
Specifies the name of the database engine.
|
String |
engineVersion()
Specifies the version of the database engine.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasProcessorFeatures()
Returns true if the ProcessorFeatures property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasTagList()
Returns true if the TagList property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
Boolean |
iamDatabaseAuthenticationEnabled()
True if mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled, and
otherwise false.
|
Instant |
instanceCreateTime()
Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken,
was created.
|
Integer |
iops()
Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
|
String |
kmsKeyId()
If
Encrypted is true, the AWS KMS key identifier for the encrypted DB snapshot. |
String |
licenseModel()
License model information for the restored DB instance.
|
String |
masterUsername()
Provides the master username for the DB snapshot.
|
String |
optionGroupName()
Provides the option group name for the DB snapshot.
|
Integer |
percentProgress()
The percentage of the estimated data that has been transferred.
|
Integer |
port()
Specifies the port that the database engine was listening on at the time of the snapshot.
|
List<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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DBSnapshot.Builder> |
serializableBuilderClass() |
Instant |
snapshotCreateTime()
Specifies when the snapshot was taken in Coordinated Universal Time (UTC).
|
String |
snapshotType()
Provides the type of the DB snapshot.
|
String |
sourceDBSnapshotIdentifier()
The DB snapshot Amazon Resource Name (ARN) that the DB snapshot was copied from.
|
String |
sourceRegion()
The AWS Region that the DB snapshot was created in or copied from.
|
String |
status()
Specifies the status of this DB snapshot.
|
String |
storageType()
Specifies the storage type associated with DB snapshot.
|
List<Tag> |
tagList()
Returns the value of the TagList property for this object.
|
String |
tdeCredentialArn()
The ARN from the key store with which to associate the instance for TDE encryption.
|
String |
timezone()
The time zone of the DB snapshot.
|
DBSnapshot.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
Provides the VPC ID associated with the DB snapshot.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String dbSnapshotIdentifier()
Specifies the identifier for the DB snapshot.
public final String dbInstanceIdentifier()
Specifies the DB instance identifier of the DB instance this DB snapshot was created from.
public final Instant snapshotCreateTime()
Specifies when the snapshot was taken in Coordinated Universal Time (UTC).
public final String engine()
Specifies the name of the database engine.
public final Integer allocatedStorage()
Specifies the allocated storage size in gibibytes (GiB).
public final String status()
Specifies the status of this DB snapshot.
public final Integer port()
Specifies the port that the database engine was listening on at the time of the snapshot.
public final String availabilityZone()
Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
public final String vpcId()
Provides the VPC ID associated with the DB snapshot.
public final Instant instanceCreateTime()
Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created.
public final String masterUsername()
Provides the master username for the DB snapshot.
public final String engineVersion()
Specifies the version of the database engine.
public final String licenseModel()
License model information for the restored DB instance.
public final String snapshotType()
Provides the type of the DB snapshot.
public final Integer iops()
Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
public final String optionGroupName()
Provides the option group name for the DB snapshot.
public final Integer percentProgress()
The percentage of the estimated data that has been transferred.
public final String sourceRegion()
The AWS Region that the DB snapshot was created in or copied from.
public final String sourceDBSnapshotIdentifier()
The DB snapshot Amazon Resource Name (ARN) that the DB snapshot was copied from. It only has value in case of cross-customer or cross-region copy.
public final String storageType()
Specifies the storage type associated with DB snapshot.
public final String tdeCredentialArn()
The ARN from the key store with which to associate the instance for TDE encryption.
public final Boolean encrypted()
Specifies whether the DB snapshot is encrypted.
public final String kmsKeyId()
If Encrypted is true, the AWS KMS key identifier for the encrypted DB snapshot.
The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the AWS KMS customer master key (CMK).
Encrypted is true, the AWS KMS key identifier for the encrypted DB snapshot.
The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the AWS KMS customer master key (CMK).
public final String dbSnapshotArn()
The Amazon Resource Name (ARN) for the DB snapshot.
public final 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 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 final Boolean iamDatabaseAuthenticationEnabled()
True if mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
public final boolean hasProcessorFeatures()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasProcessorFeatures() to see if a value was sent in this field.
public final String dbiResourceId()
The identifier for the source DB instance, which can't be changed and which is unique to an AWS Region.
public final boolean hasTagList()
public final List<Tag> tagList()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTagList() to see if a value was sent in this field.
public DBSnapshot.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DBSnapshot.Builder,DBSnapshot>public static DBSnapshot.Builder builder()
public static Class<? extends DBSnapshot.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.