Struct aws_sdk_rds::model::DbSnapshot
source · [−]#[non_exhaustive]pub struct DbSnapshot { /* private fields */ }Expand description
Contains the details of an Amazon RDS DB snapshot.
This data type is used as a response element in the DescribeDBSnapshots action.
Implementations
sourceimpl DbSnapshot
impl DbSnapshot
sourcepub fn db_snapshot_identifier(&self) -> Option<&str>
pub fn db_snapshot_identifier(&self) -> Option<&str>
Specifies the identifier for the DB snapshot.
sourcepub fn db_instance_identifier(&self) -> Option<&str>
pub fn db_instance_identifier(&self) -> Option<&str>
Specifies the DB instance identifier of the DB instance this DB snapshot was created from.
sourcepub fn snapshot_create_time(&self) -> Option<&DateTime>
pub fn snapshot_create_time(&self) -> Option<&DateTime>
Specifies when the snapshot was taken in Coordinated Universal Time (UTC). Changes for the copy when the snapshot is copied.
sourcepub fn allocated_storage(&self) -> i32
pub fn allocated_storage(&self) -> i32
Specifies the allocated storage size in gibibytes (GiB).
sourcepub fn port(&self) -> i32
pub fn port(&self) -> i32
Specifies the port that the database engine was listening on at the time of the snapshot.
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
sourcepub fn instance_create_time(&self) -> Option<&DateTime>
pub fn instance_create_time(&self) -> Option<&DateTime>
Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created.
sourcepub fn master_username(&self) -> Option<&str>
pub fn master_username(&self) -> Option<&str>
Provides the master username for the DB snapshot.
sourcepub fn engine_version(&self) -> Option<&str>
pub fn engine_version(&self) -> Option<&str>
Specifies the version of the database engine.
sourcepub fn license_model(&self) -> Option<&str>
pub fn license_model(&self) -> Option<&str>
License model information for the restored DB instance.
sourcepub fn snapshot_type(&self) -> Option<&str>
pub fn snapshot_type(&self) -> Option<&str>
Provides the type of the DB snapshot.
sourcepub fn iops(&self) -> Option<i32>
pub fn iops(&self) -> Option<i32>
Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
sourcepub fn option_group_name(&self) -> Option<&str>
pub fn option_group_name(&self) -> Option<&str>
Provides the option group name for the DB snapshot.
sourcepub fn percent_progress(&self) -> i32
pub fn percent_progress(&self) -> i32
The percentage of the estimated data that has been transferred.
sourcepub fn source_region(&self) -> Option<&str>
pub fn source_region(&self) -> Option<&str>
The Amazon Web Services Region that the DB snapshot was created in or copied from.
sourcepub fn source_db_snapshot_identifier(&self) -> Option<&str>
pub fn source_db_snapshot_identifier(&self) -> Option<&str>
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.
sourcepub fn storage_type(&self) -> Option<&str>
pub fn storage_type(&self) -> Option<&str>
Specifies the storage type associated with DB snapshot.
sourcepub fn tde_credential_arn(&self) -> Option<&str>
pub fn tde_credential_arn(&self) -> Option<&str>
The ARN from the key store with which to associate the instance for TDE encryption.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
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.
sourcepub fn db_snapshot_arn(&self) -> Option<&str>
pub fn db_snapshot_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the DB snapshot.
sourcepub fn timezone(&self) -> Option<&str>
pub fn timezone(&self) -> Option<&str>
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.
sourcepub fn iam_database_authentication_enabled(&self) -> bool
pub fn iam_database_authentication_enabled(&self) -> bool
True if mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
sourcepub fn processor_features(&self) -> Option<&[ProcessorFeature]>
pub fn processor_features(&self) -> Option<&[ProcessorFeature]>
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.
sourcepub fn dbi_resource_id(&self) -> Option<&str>
pub fn dbi_resource_id(&self) -> Option<&str>
The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services Region.
sourcepub fn tag_list(&self) -> Option<&[Tag]>
pub fn tag_list(&self) -> Option<&[Tag]>
A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
sourcepub fn original_snapshot_create_time(&self) -> Option<&DateTime>
pub fn original_snapshot_create_time(&self) -> Option<&DateTime>
Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC). Doesn't change when the snapshot is copied.
sourcepub fn snapshot_database_time(&self) -> Option<&DateTime>
pub fn snapshot_database_time(&self) -> Option<&DateTime>
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. *** REVIEWERS 7/27: Switchover
sourcepub fn snapshot_target(&self) -> Option<&str>
pub fn snapshot_target(&self) -> Option<&str>
Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.
sourceimpl DbSnapshot
impl DbSnapshot
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DbSnapshot.
Trait Implementations
sourceimpl Clone for DbSnapshot
impl Clone for DbSnapshot
sourcefn clone(&self) -> DbSnapshot
fn clone(&self) -> DbSnapshot
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more