@Generated(value="software.amazon.awssdk:codegen") public final class DBSnapshot extends Object implements 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 gigabytes (GB).
|
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 |
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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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 when the snapshot was taken, in Universal Coordinated Time (UTC).
|
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.
|
static Class<? extends DBSnapshot.Builder> |
serializableBuilderClass() |
Instant |
snapshotCreateTime()
Provides the time when the snapshot was taken, in Universal Coordinated 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.
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
vpcId()
Provides the VPC ID associated with the DB snapshot.
|
copy
public String dbSnapshotIdentifier()
Specifies the identifier for the DB snapshot.
public String dbInstanceIdentifier()
Specifies the DB instance identifier of the DB instance this DB snapshot was created from.
public Instant snapshotCreateTime()
Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).
public String engine()
Specifies the name of the database engine.
public Integer allocatedStorage()
Specifies the allocated storage size in gigabytes (GB).
public String status()
Specifies the status of this DB snapshot.
public Integer port()
Specifies the port that the database engine was listening on at the time of the snapshot.
public String availabilityZone()
Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
public String vpcId()
Provides the VPC ID associated with the DB snapshot.
public Instant instanceCreateTime()
Specifies the time when the snapshot was taken, in Universal Coordinated Time (UTC).
public String masterUsername()
Provides the master username for the DB snapshot.
public String engineVersion()
Specifies the version of the database engine.
public String licenseModel()
License model information for the restored DB instance.
public String snapshotType()
Provides the type of the DB snapshot.
public Integer iops()
Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
public String optionGroupName()
Provides the option group name for the DB snapshot.
public Integer percentProgress()
The percentage of the estimated data that has been transferred.
public String sourceRegion()
The AWS Region that the DB snapshot was created in or copied from.
public 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 String storageType()
Specifies the storage type associated with DB snapshot.
public String tdeCredentialArn()
The ARN from the key store with which to associate the instance for TDE encryption.
public Boolean encrypted()
Specifies whether the DB snapshot is encrypted.
public String kmsKeyId()
If Encrypted
is true, the AWS KMS key identifier for the encrypted DB snapshot.
Encrypted
is true, the AWS KMS key identifier for the encrypted DB snapshot.public String dbSnapshotArn()
The Amazon Resource Name (ARN) for the DB snapshot.
public 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 Boolean iamDatabaseAuthenticationEnabled()
True if mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
public DBSnapshot.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DBSnapshot.Builder,DBSnapshot>
public static DBSnapshot.Builder builder()
public static Class<? extends DBSnapshot.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.