#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for AwsRdsDbSnapshotDetails
Implementations
sourceimpl Builder
impl Builder
sourcepub fn db_snapshot_identifier(self, input: impl Into<String>) -> Self
pub fn db_snapshot_identifier(self, input: impl Into<String>) -> Self
The name or ARN of the DB snapshot that is used to restore the DB instance.
sourcepub fn set_db_snapshot_identifier(self, input: Option<String>) -> Self
pub fn set_db_snapshot_identifier(self, input: Option<String>) -> Self
The name or ARN of the DB snapshot that is used to restore the DB instance.
sourcepub fn db_instance_identifier(self, input: impl Into<String>) -> Self
pub fn db_instance_identifier(self, input: impl Into<String>) -> Self
A name for the DB instance.
sourcepub fn set_db_instance_identifier(self, input: Option<String>) -> Self
pub fn set_db_instance_identifier(self, input: Option<String>) -> Self
A name for the DB instance.
sourcepub fn snapshot_create_time(self, input: impl Into<String>) -> Self
pub fn snapshot_create_time(self, input: impl Into<String>) -> Self
When the snapshot was taken in Coordinated Universal Time (UTC).
sourcepub fn set_snapshot_create_time(self, input: Option<String>) -> Self
pub fn set_snapshot_create_time(self, input: Option<String>) -> Self
When the snapshot was taken in Coordinated Universal Time (UTC).
sourcepub fn engine(self, input: impl Into<String>) -> Self
pub fn engine(self, input: impl Into<String>) -> Self
The name of the database engine to use for this DB instance.
sourcepub fn set_engine(self, input: Option<String>) -> Self
pub fn set_engine(self, input: Option<String>) -> Self
The name of the database engine to use for this DB instance.
sourcepub fn allocated_storage(self, input: i32) -> Self
pub fn allocated_storage(self, input: i32) -> Self
The amount of storage (in gigabytes) to be initially allocated for the database instance.
sourcepub fn set_allocated_storage(self, input: Option<i32>) -> Self
pub fn set_allocated_storage(self, input: Option<i32>) -> Self
The amount of storage (in gigabytes) to be initially allocated for the database instance.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of this DB snapshot.
sourcepub fn port(self, input: i32) -> Self
pub fn port(self, input: i32) -> Self
The port that the database engine was listening on at the time of the snapshot.
sourcepub fn set_port(self, input: Option<i32>) -> Self
pub fn set_port(self, input: Option<i32>) -> Self
The port that the database engine was listening on at the time of the snapshot.
sourcepub fn availability_zone(self, input: impl Into<String>) -> Self
pub fn availability_zone(self, input: impl Into<String>) -> Self
Specifies the name of the Availability Zone in which the DB instance was located at the time of the DB snapshot.
sourcepub fn set_availability_zone(self, input: Option<String>) -> Self
pub fn set_availability_zone(self, input: Option<String>) -> Self
Specifies the name of the Availability Zone in which the DB instance was located at the time of the DB snapshot.
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
The VPC ID associated with the DB snapshot.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The VPC ID associated with the DB snapshot.
sourcepub fn instance_create_time(self, input: impl Into<String>) -> Self
pub fn instance_create_time(self, input: impl Into<String>) -> Self
Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created.
sourcepub fn set_instance_create_time(self, input: Option<String>) -> Self
pub fn set_instance_create_time(self, input: Option<String>) -> Self
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, input: impl Into<String>) -> Self
pub fn master_username(self, input: impl Into<String>) -> Self
The master user name for the DB snapshot.
sourcepub fn set_master_username(self, input: Option<String>) -> Self
pub fn set_master_username(self, input: Option<String>) -> Self
The master user name for the DB snapshot.
sourcepub fn engine_version(self, input: impl Into<String>) -> Self
pub fn engine_version(self, input: impl Into<String>) -> Self
The version of the database engine.
sourcepub fn set_engine_version(self, input: Option<String>) -> Self
pub fn set_engine_version(self, input: Option<String>) -> Self
The version of the database engine.
sourcepub fn license_model(self, input: impl Into<String>) -> Self
pub fn license_model(self, input: impl Into<String>) -> Self
License model information for the restored DB instance.
sourcepub fn set_license_model(self, input: Option<String>) -> Self
pub fn set_license_model(self, input: Option<String>) -> Self
License model information for the restored DB instance.
sourcepub fn snapshot_type(self, input: impl Into<String>) -> Self
pub fn snapshot_type(self, input: impl Into<String>) -> Self
The type of the DB snapshot.
sourcepub fn set_snapshot_type(self, input: Option<String>) -> Self
pub fn set_snapshot_type(self, input: Option<String>) -> Self
The type of the DB snapshot.
sourcepub fn iops(self, input: i32) -> Self
pub fn iops(self, input: i32) -> Self
The provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
sourcepub fn set_iops(self, input: Option<i32>) -> Self
pub fn set_iops(self, input: Option<i32>) -> Self
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, input: impl Into<String>) -> Self
pub fn option_group_name(self, input: impl Into<String>) -> Self
The option group name for the DB snapshot.
sourcepub fn set_option_group_name(self, input: Option<String>) -> Self
pub fn set_option_group_name(self, input: Option<String>) -> Self
The option group name for the DB snapshot.
sourcepub fn percent_progress(self, input: i32) -> Self
pub fn percent_progress(self, input: i32) -> Self
The percentage of the estimated data that has been transferred.
sourcepub fn set_percent_progress(self, input: Option<i32>) -> Self
pub fn set_percent_progress(self, input: Option<i32>) -> Self
The percentage of the estimated data that has been transferred.
sourcepub fn source_region(self, input: impl Into<String>) -> Self
pub fn source_region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region that the DB snapshot was created in or copied from.
sourcepub fn set_source_region(self, input: Option<String>) -> Self
pub fn set_source_region(self, input: Option<String>) -> Self
The Amazon Web Services Region that the DB snapshot was created in or copied from.
sourcepub fn source_db_snapshot_identifier(self, input: impl Into<String>) -> Self
pub fn source_db_snapshot_identifier(self, input: impl Into<String>) -> Self
The DB snapshot ARN that the DB snapshot was copied from.
sourcepub fn set_source_db_snapshot_identifier(self, input: Option<String>) -> Self
pub fn set_source_db_snapshot_identifier(self, input: Option<String>) -> Self
The DB snapshot ARN that the DB snapshot was copied from.
sourcepub fn storage_type(self, input: impl Into<String>) -> Self
pub fn storage_type(self, input: impl Into<String>) -> Self
The storage type associated with the DB snapshot.
sourcepub fn set_storage_type(self, input: Option<String>) -> Self
pub fn set_storage_type(self, input: Option<String>) -> Self
The storage type associated with the DB snapshot.
sourcepub fn tde_credential_arn(self, input: impl Into<String>) -> Self
pub fn tde_credential_arn(self, input: impl Into<String>) -> Self
The ARN from the key store with which to associate the instance for TDE encryption.
sourcepub fn set_tde_credential_arn(self, input: Option<String>) -> Self
pub fn set_tde_credential_arn(self, input: Option<String>) -> Self
The ARN from the key store with which to associate the instance for TDE encryption.
sourcepub fn set_encrypted(self, input: Option<bool>) -> Self
pub fn set_encrypted(self, input: Option<bool>) -> Self
Whether the DB snapshot is encrypted.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
If Encrypted is true, the KMS key identifier for the encrypted DB snapshot.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
If Encrypted is true, the KMS key identifier for the encrypted DB snapshot.
sourcepub fn set_timezone(self, input: Option<String>) -> Self
pub fn set_timezone(self, input: Option<String>) -> Self
The time zone of the DB snapshot.
sourcepub fn iam_database_authentication_enabled(self, input: bool) -> Self
pub fn iam_database_authentication_enabled(self, input: bool) -> Self
Whether mapping of IAM accounts to database accounts is enabled.
sourcepub fn set_iam_database_authentication_enabled(
self,
input: Option<bool>
) -> Self
pub fn set_iam_database_authentication_enabled(
self,
input: Option<bool>
) -> Self
Whether mapping of IAM accounts to database accounts is enabled.
sourcepub fn processor_features(self, input: AwsRdsDbProcessorFeature) -> Self
pub fn processor_features(self, input: AwsRdsDbProcessorFeature) -> Self
Appends an item to processor_features.
To override the contents of this collection use set_processor_features.
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
sourcepub fn set_processor_features(
self,
input: Option<Vec<AwsRdsDbProcessorFeature>>
) -> Self
pub fn set_processor_features(
self,
input: Option<Vec<AwsRdsDbProcessorFeature>>
) -> Self
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
sourcepub fn dbi_resource_id(self, input: impl Into<String>) -> Self
pub fn dbi_resource_id(self, input: impl Into<String>) -> Self
The identifier for the source DB instance.
sourcepub fn set_dbi_resource_id(self, input: Option<String>) -> Self
pub fn set_dbi_resource_id(self, input: Option<String>) -> Self
The identifier for the source DB instance.
sourcepub fn build(self) -> AwsRdsDbSnapshotDetails
pub fn build(self) -> AwsRdsDbSnapshotDetails
Consumes the builder and constructs a AwsRdsDbSnapshotDetails
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more