#[non_exhaustive]
pub struct AwsRdsDbClusterSnapshotDetailsBuilder { /* private fields */ }
Expand description

Implementations§

source§

impl AwsRdsDbClusterSnapshotDetailsBuilder

source

pub fn availability_zones(self, input: impl Into<String>) -> Self

Appends an item to availability_zones.

To override the contents of this collection use set_availability_zones.

A list of Availability Zones where instances in the DB cluster can be created.

source

pub fn set_availability_zones(self, input: Option<Vec<String>>) -> Self

A list of Availability Zones where instances in the DB cluster can be created.

source

pub fn get_availability_zones(&self) -> &Option<Vec<String>>

A list of Availability Zones where instances in the DB cluster can be created.

source

pub fn snapshot_create_time(self, input: impl Into<String>) -> Self

Indicates when the snapshot was taken.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.

source

pub fn set_snapshot_create_time(self, input: Option<String>) -> Self

Indicates when the snapshot was taken.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.

source

pub fn get_snapshot_create_time(&self) -> &Option<String>

Indicates when the snapshot was taken.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.

source

pub fn engine(self, input: impl Into<String>) -> Self

The name of the database engine that you want to use for this DB instance.

source

pub fn set_engine(self, input: Option<String>) -> Self

The name of the database engine that you want to use for this DB instance.

source

pub fn get_engine(&self) -> &Option<String>

The name of the database engine that you want to use for this DB instance.

source

pub fn allocated_storage(self, input: i32) -> Self

Specifies the allocated storage size in gibibytes (GiB).

source

pub fn set_allocated_storage(self, input: Option<i32>) -> Self

Specifies the allocated storage size in gibibytes (GiB).

source

pub fn get_allocated_storage(&self) -> &Option<i32>

Specifies the allocated storage size in gibibytes (GiB).

source

pub fn status(self, input: impl Into<String>) -> Self

The status of this DB cluster snapshot.

source

pub fn set_status(self, input: Option<String>) -> Self

The status of this DB cluster snapshot.

source

pub fn get_status(&self) -> &Option<String>

The status of this DB cluster snapshot.

source

pub fn port(self, input: i32) -> Self

The port number on which the DB instances in the DB cluster accept connections.

source

pub fn set_port(self, input: Option<i32>) -> Self

The port number on which the DB instances in the DB cluster accept connections.

source

pub fn get_port(&self) -> &Option<i32>

The port number on which the DB instances in the DB cluster accept connections.

source

pub fn vpc_id(self, input: impl Into<String>) -> Self

The VPC ID that is associated with the DB cluster snapshot.

source

pub fn set_vpc_id(self, input: Option<String>) -> Self

The VPC ID that is associated with the DB cluster snapshot.

source

pub fn get_vpc_id(&self) -> &Option<String>

The VPC ID that is associated with the DB cluster snapshot.

source

pub fn cluster_create_time(self, input: impl Into<String>) -> Self

Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.

source

pub fn set_cluster_create_time(self, input: Option<String>) -> Self

Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.

source

pub fn get_cluster_create_time(&self) -> &Option<String>

Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.

source

pub fn master_username(self, input: impl Into<String>) -> Self

The name of the master user for the DB cluster.

source

pub fn set_master_username(self, input: Option<String>) -> Self

The name of the master user for the DB cluster.

source

pub fn get_master_username(&self) -> &Option<String>

The name of the master user for the DB cluster.

source

pub fn engine_version(self, input: impl Into<String>) -> Self

The version of the database engine to use.

source

pub fn set_engine_version(self, input: Option<String>) -> Self

The version of the database engine to use.

source

pub fn get_engine_version(&self) -> &Option<String>

The version of the database engine to use.

source

pub fn license_model(self, input: impl Into<String>) -> Self

The license model information for this DB cluster snapshot.

source

pub fn set_license_model(self, input: Option<String>) -> Self

The license model information for this DB cluster snapshot.

source

pub fn get_license_model(&self) -> &Option<String>

The license model information for this DB cluster snapshot.

source

pub fn snapshot_type(self, input: impl Into<String>) -> Self

The type of DB cluster snapshot.

source

pub fn set_snapshot_type(self, input: Option<String>) -> Self

The type of DB cluster snapshot.

source

pub fn get_snapshot_type(&self) -> &Option<String>

The type of DB cluster snapshot.

source

pub fn percent_progress(self, input: i32) -> Self

Specifies the percentage of the estimated data that has been transferred.

source

pub fn set_percent_progress(self, input: Option<i32>) -> Self

Specifies the percentage of the estimated data that has been transferred.

source

pub fn get_percent_progress(&self) -> &Option<i32>

Specifies the percentage of the estimated data that has been transferred.

source

pub fn storage_encrypted(self, input: bool) -> Self

Whether the DB cluster is encrypted.

source

pub fn set_storage_encrypted(self, input: Option<bool>) -> Self

Whether the DB cluster is encrypted.

source

pub fn get_storage_encrypted(&self) -> &Option<bool>

Whether the DB cluster is encrypted.

source

pub fn kms_key_id(self, input: impl Into<String>) -> Self

The ARN of the KMS master key that is used to encrypt the database instances in the DB cluster.

source

pub fn set_kms_key_id(self, input: Option<String>) -> Self

The ARN of the KMS master key that is used to encrypt the database instances in the DB cluster.

source

pub fn get_kms_key_id(&self) -> &Option<String>

The ARN of the KMS master key that is used to encrypt the database instances in the DB cluster.

source

pub fn db_cluster_identifier(self, input: impl Into<String>) -> Self

The DB cluster identifier.

source

pub fn set_db_cluster_identifier(self, input: Option<String>) -> Self

The DB cluster identifier.

source

pub fn get_db_cluster_identifier(&self) -> &Option<String>

The DB cluster identifier.

source

pub fn db_cluster_snapshot_identifier(self, input: impl Into<String>) -> Self

The identifier of the DB cluster snapshot.

source

pub fn set_db_cluster_snapshot_identifier(self, input: Option<String>) -> Self

The identifier of the DB cluster snapshot.

source

pub fn get_db_cluster_snapshot_identifier(&self) -> &Option<String>

The identifier of the DB cluster snapshot.

source

pub fn iam_database_authentication_enabled(self, input: bool) -> Self

Whether mapping of IAM accounts to database accounts is enabled.

source

pub fn set_iam_database_authentication_enabled( self, input: Option<bool> ) -> Self

Whether mapping of IAM accounts to database accounts is enabled.

source

pub fn get_iam_database_authentication_enabled(&self) -> &Option<bool>

Whether mapping of IAM accounts to database accounts is enabled.

source

pub fn db_cluster_snapshot_attributes( self, input: AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute ) -> Self

Appends an item to db_cluster_snapshot_attributes.

To override the contents of this collection use set_db_cluster_snapshot_attributes.

Contains the name and values of a manual DB cluster snapshot attribute.

source

pub fn set_db_cluster_snapshot_attributes( self, input: Option<Vec<AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute>> ) -> Self

Contains the name and values of a manual DB cluster snapshot attribute.

source

pub fn get_db_cluster_snapshot_attributes( &self ) -> &Option<Vec<AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute>>

Contains the name and values of a manual DB cluster snapshot attribute.

source

pub fn build(self) -> AwsRdsDbClusterSnapshotDetails

Consumes the builder and constructs a AwsRdsDbClusterSnapshotDetails.

Trait Implementations§

source§

impl Clone for AwsRdsDbClusterSnapshotDetailsBuilder

source§

fn clone(&self) -> AwsRdsDbClusterSnapshotDetailsBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AwsRdsDbClusterSnapshotDetailsBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for AwsRdsDbClusterSnapshotDetailsBuilder

source§

fn default() -> AwsRdsDbClusterSnapshotDetailsBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for AwsRdsDbClusterSnapshotDetailsBuilder

source§

fn eq(&self, other: &AwsRdsDbClusterSnapshotDetailsBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for AwsRdsDbClusterSnapshotDetailsBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more