#[non_exhaustive]pub struct AwsRdsDbClusterSnapshotDetails {Show 19 fields
pub availability_zones: Option<Vec<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 vpc_id: Option<String>,
pub cluster_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 percent_progress: Option<i32>,
pub storage_encrypted: Option<bool>,
pub kms_key_id: Option<String>,
pub db_cluster_identifier: Option<String>,
pub db_cluster_snapshot_identifier: Option<String>,
pub iam_database_authentication_enabled: Option<bool>,
pub db_cluster_snapshot_attributes: Option<Vec<AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute>>,
}Expand description
Information 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.availability_zones: Option<Vec<String>>A list of Availability Zones where instances in the DB cluster can be created.
snapshot_create_time: Option<String>Indicates when the snapshot was taken.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
engine: Option<String>The name of the database engine that you want to use for this DB instance.
allocated_storage: Option<i32>Specifies the allocated storage size in gibibytes (GiB).
status: Option<String>The status of this DB cluster snapshot.
port: Option<i32>The port number on which the DB instances in the DB cluster accept connections.
vpc_id: Option<String>The VPC ID that is associated with the DB cluster snapshot.
cluster_create_time: Option<String>Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
master_username: Option<String>The name of the master user for the DB cluster.
engine_version: Option<String>The version of the database engine to use.
license_model: Option<String>The license model information for this DB cluster snapshot.
snapshot_type: Option<String>The type of DB cluster snapshot.
percent_progress: Option<i32>Specifies the percentage of the estimated data that has been transferred.
storage_encrypted: Option<bool>Whether the DB cluster is encrypted.
kms_key_id: Option<String>The ARN of the KMS master key that is used to encrypt the database instances in the DB cluster.
db_cluster_identifier: Option<String>The DB cluster identifier.
db_cluster_snapshot_identifier: Option<String>The identifier of the DB cluster snapshot.
iam_database_authentication_enabled: Option<bool>Whether mapping of IAM accounts to database accounts is enabled.
db_cluster_snapshot_attributes: Option<Vec<AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute>>Contains the name and values of a manual DB cluster snapshot attribute.
Implementations§
source§impl AwsRdsDbClusterSnapshotDetails
impl AwsRdsDbClusterSnapshotDetails
sourcepub fn availability_zones(&self) -> &[String]
pub fn availability_zones(&self) -> &[String]
A list of Availability Zones where instances in the DB cluster can be created.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .availability_zones.is_none().
sourcepub fn snapshot_create_time(&self) -> Option<&str>
pub fn snapshot_create_time(&self) -> Option<&str>
Indicates when the snapshot was taken.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
sourcepub fn engine(&self) -> Option<&str>
pub fn engine(&self) -> Option<&str>
The name of the database engine that you want to use for this DB instance.
sourcepub fn allocated_storage(&self) -> Option<i32>
pub fn allocated_storage(&self) -> Option<i32>
Specifies the allocated storage size in gibibytes (GiB).
sourcepub fn port(&self) -> Option<i32>
pub fn port(&self) -> Option<i32>
The port number on which the DB instances in the DB cluster accept connections.
sourcepub fn vpc_id(&self) -> Option<&str>
pub fn vpc_id(&self) -> Option<&str>
The VPC ID that is associated with the DB cluster snapshot.
sourcepub fn cluster_create_time(&self) -> Option<&str>
pub fn cluster_create_time(&self) -> Option<&str>
Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
sourcepub fn master_username(&self) -> Option<&str>
pub fn master_username(&self) -> Option<&str>
The name of the master user for the DB cluster.
sourcepub fn engine_version(&self) -> Option<&str>
pub fn engine_version(&self) -> Option<&str>
The version of the database engine to use.
sourcepub fn license_model(&self) -> Option<&str>
pub fn license_model(&self) -> Option<&str>
The license model information for this DB cluster snapshot.
sourcepub fn snapshot_type(&self) -> Option<&str>
pub fn snapshot_type(&self) -> Option<&str>
The type of DB cluster snapshot.
sourcepub fn percent_progress(&self) -> Option<i32>
pub fn percent_progress(&self) -> Option<i32>
Specifies the percentage of the estimated data that has been transferred.
sourcepub fn storage_encrypted(&self) -> Option<bool>
pub fn storage_encrypted(&self) -> Option<bool>
Whether the DB cluster is encrypted.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The ARN of the KMS master key that is used to encrypt the database instances in the DB cluster.
sourcepub fn db_cluster_identifier(&self) -> Option<&str>
pub fn db_cluster_identifier(&self) -> Option<&str>
The DB cluster identifier.
sourcepub fn db_cluster_snapshot_identifier(&self) -> Option<&str>
pub fn db_cluster_snapshot_identifier(&self) -> Option<&str>
The identifier of the DB cluster 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 db_cluster_snapshot_attributes(
&self
) -> &[AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute]
pub fn db_cluster_snapshot_attributes( &self ) -> &[AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute]
Contains the name and values of a manual DB cluster snapshot attribute.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .db_cluster_snapshot_attributes.is_none().
source§impl AwsRdsDbClusterSnapshotDetails
impl AwsRdsDbClusterSnapshotDetails
sourcepub fn builder() -> AwsRdsDbClusterSnapshotDetailsBuilder
pub fn builder() -> AwsRdsDbClusterSnapshotDetailsBuilder
Creates a new builder-style object to manufacture AwsRdsDbClusterSnapshotDetails.
Trait Implementations§
source§impl Clone for AwsRdsDbClusterSnapshotDetails
impl Clone for AwsRdsDbClusterSnapshotDetails
source§fn clone(&self) -> AwsRdsDbClusterSnapshotDetails
fn clone(&self) -> AwsRdsDbClusterSnapshotDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for AwsRdsDbClusterSnapshotDetails
impl PartialEq for AwsRdsDbClusterSnapshotDetails
source§fn eq(&self, other: &AwsRdsDbClusterSnapshotDetails) -> bool
fn eq(&self, other: &AwsRdsDbClusterSnapshotDetails) -> bool
self and other values to be equal, and is used
by ==.