#[non_exhaustive]pub struct AwsRdsDbSnapshotDetails {Show 27 fields
pub db_snapshot_identifier: Option<String>,
pub db_instance_identifier: Option<String>,
pub snapshot_create_time: Option<String>,
pub engine: Option<String>,
pub allocated_storage: Option<i32>,
pub status: Option<String>,
pub port: Option<i32>,
pub availability_zone: Option<String>,
pub vpc_id: Option<String>,
pub instance_create_time: Option<String>,
pub master_username: Option<String>,
pub engine_version: Option<String>,
pub license_model: Option<String>,
pub snapshot_type: Option<String>,
pub iops: Option<i32>,
pub option_group_name: Option<String>,
pub percent_progress: Option<i32>,
pub source_region: Option<String>,
pub source_db_snapshot_identifier: Option<String>,
pub storage_type: Option<String>,
pub tde_credential_arn: Option<String>,
pub encrypted: Option<bool>,
pub kms_key_id: Option<String>,
pub timezone: Option<String>,
pub iam_database_authentication_enabled: Option<bool>,
pub processor_features: Option<Vec<AwsRdsDbProcessorFeature>>,
pub dbi_resource_id: Option<String>,
}
Expand description
Provides details about an Amazon RDS DB cluster snapshot.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.db_snapshot_identifier: Option<String>
The name or ARN of the DB snapshot that is used to restore the DB instance.
db_instance_identifier: Option<String>
A name for the DB instance.
snapshot_create_time: Option<String>
When the snapshot was taken in Coordinated Universal Time (UTC).
engine: Option<String>
The name of the database engine to use for this DB instance. Valid values are as follows:
-
aurora
-
aurora-mysql
-
aurora-postgresql
-
c
-
mariadb
-
mysql
-
oracle-ee
-
oracle-se
-
oracle-se1
-
oracle-se2
-
sqlserver-ee
-
sqlserver-ex
-
sqlserver-se
-
sqlserver-web
allocated_storage: Option<i32>
The amount of storage (in gigabytes) to be initially allocated for the database instance.
status: Option<String>
The status of this DB snapshot.
port: Option<i32>
The port that the database engine was listening on at the time of the snapshot.
availability_zone: Option<String>
Specifies the name of the Availability Zone in which the DB instance was located at the time of the DB snapshot.
vpc_id: Option<String>
The VPC ID associated with the DB snapshot.
instance_create_time: Option<String>
Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created.
master_username: Option<String>
The master user name for the DB snapshot.
engine_version: Option<String>
The version of the database engine.
license_model: Option<String>
License model information for the restored DB instance.
snapshot_type: Option<String>
The type of the DB snapshot.
iops: Option<i32>
The provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
option_group_name: Option<String>
The option group name for the DB snapshot.
percent_progress: Option<i32>
The percentage of the estimated data that has been transferred.
source_region: Option<String>
The Amazon Web Services Region that the DB snapshot was created in or copied from.
source_db_snapshot_identifier: Option<String>
The DB snapshot ARN that the DB snapshot was copied from.
storage_type: Option<String>
The storage type associated with the DB snapshot. Valid values are as follows:
-
gp2
-
io1
-
standard
tde_credential_arn: Option<String>
The ARN from the key store with which to associate the instance for TDE encryption.
encrypted: Option<bool>
Whether the DB snapshot is encrypted.
kms_key_id: Option<String>
If Encrypted
is true
, the KMS key identifier for the encrypted DB snapshot.
timezone: Option<String>
The time zone of the DB snapshot.
iam_database_authentication_enabled: Option<bool>
Whether mapping of IAM accounts to database accounts is enabled.
processor_features: Option<Vec<AwsRdsDbProcessorFeature>>
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
dbi_resource_id: Option<String>
The identifier for the source DB instance.
Implementations§
source§impl AwsRdsDbSnapshotDetails
impl AwsRdsDbSnapshotDetails
sourcepub fn db_snapshot_identifier(&self) -> Option<&str>
pub fn db_snapshot_identifier(&self) -> Option<&str>
The name or ARN of the DB snapshot that is used to restore the DB instance.
sourcepub fn db_instance_identifier(&self) -> Option<&str>
pub fn db_instance_identifier(&self) -> Option<&str>
A name for the DB instance.
sourcepub fn snapshot_create_time(&self) -> Option<&str>
pub fn snapshot_create_time(&self) -> Option<&str>
When the snapshot was taken in Coordinated Universal Time (UTC).
sourcepub fn engine(&self) -> Option<&str>
pub fn engine(&self) -> Option<&str>
The name of the database engine to use for this DB instance. Valid values are as follows:
-
aurora
-
aurora-mysql
-
aurora-postgresql
-
c
-
mariadb
-
mysql
-
oracle-ee
-
oracle-se
-
oracle-se1
-
oracle-se2
-
sqlserver-ee
-
sqlserver-ex
-
sqlserver-se
-
sqlserver-web
sourcepub fn allocated_storage(&self) -> Option<i32>
pub fn allocated_storage(&self) -> Option<i32>
The amount of storage (in gigabytes) to be initially allocated for the database instance.
sourcepub fn port(&self) -> Option<i32>
pub fn port(&self) -> Option<i32>
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 in which the DB instance was located at the time of the DB snapshot.
sourcepub fn instance_create_time(&self) -> Option<&str>
pub fn instance_create_time(&self) -> Option<&str>
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>
The master user name for the DB snapshot.
sourcepub fn engine_version(&self) -> Option<&str>
pub fn engine_version(&self) -> Option<&str>
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>
The type of the DB snapshot.
sourcepub fn iops(&self) -> Option<i32>
pub fn iops(&self) -> Option<i32>
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>
The option group name for the DB snapshot.
sourcepub fn percent_progress(&self) -> Option<i32>
pub fn percent_progress(&self) -> Option<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 ARN that the DB snapshot was copied from.
sourcepub fn storage_type(&self) -> Option<&str>
pub fn storage_type(&self) -> Option<&str>
The storage type associated with the DB snapshot. Valid values are as follows:
-
gp2
-
io1
-
standard
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 KMS key identifier for the encrypted DB snapshot.
sourcepub fn iam_database_authentication_enabled(&self) -> Option<bool>
pub fn iam_database_authentication_enabled(&self) -> Option<bool>
Whether mapping of IAM accounts to database accounts is enabled.
sourcepub fn processor_features(&self) -> &[AwsRdsDbProcessorFeature]
pub fn processor_features(&self) -> &[AwsRdsDbProcessorFeature]
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .processor_features.is_none()
.
sourcepub fn dbi_resource_id(&self) -> Option<&str>
pub fn dbi_resource_id(&self) -> Option<&str>
The identifier for the source DB instance.
source§impl AwsRdsDbSnapshotDetails
impl AwsRdsDbSnapshotDetails
sourcepub fn builder() -> AwsRdsDbSnapshotDetailsBuilder
pub fn builder() -> AwsRdsDbSnapshotDetailsBuilder
Creates a new builder-style object to manufacture AwsRdsDbSnapshotDetails
.
Trait Implementations§
source§impl Clone for AwsRdsDbSnapshotDetails
impl Clone for AwsRdsDbSnapshotDetails
source§fn clone(&self) -> AwsRdsDbSnapshotDetails
fn clone(&self) -> AwsRdsDbSnapshotDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsRdsDbSnapshotDetails
impl Debug for AwsRdsDbSnapshotDetails
source§impl PartialEq for AwsRdsDbSnapshotDetails
impl PartialEq for AwsRdsDbSnapshotDetails
source§fn eq(&self, other: &AwsRdsDbSnapshotDetails) -> bool
fn eq(&self, other: &AwsRdsDbSnapshotDetails) -> bool
self
and other
values to be equal, and is used
by ==
.