Struct aws_sdk_rds::model::pending_modified_values::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for PendingModifiedValues.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn db_instance_class(self, input: impl Into<String>) -> Self
pub fn db_instance_class(self, input: impl Into<String>) -> Self
The name of the compute and memory capacity class for the DB instance.
sourcepub fn set_db_instance_class(self, input: Option<String>) -> Self
pub fn set_db_instance_class(self, input: Option<String>) -> Self
The name of the compute and memory capacity class for the DB instance.
sourcepub fn allocated_storage(self, input: i32) -> Self
pub fn allocated_storage(self, input: i32) -> Self
The allocated storage size for the DB instance specified in gibibytes (GiB).
sourcepub fn set_allocated_storage(self, input: Option<i32>) -> Self
pub fn set_allocated_storage(self, input: Option<i32>) -> Self
The allocated storage size for the DB instance specified in gibibytes (GiB).
sourcepub fn master_user_password(self, input: impl Into<String>) -> Self
pub fn master_user_password(self, input: impl Into<String>) -> Self
The master credentials for the DB instance.
sourcepub fn set_master_user_password(self, input: Option<String>) -> Self
pub fn set_master_user_password(self, input: Option<String>) -> Self
The master credentials for the DB instance.
sourcepub fn backup_retention_period(self, input: i32) -> Self
pub fn backup_retention_period(self, input: i32) -> Self
The number of days for which automated backups are retained.
sourcepub fn set_backup_retention_period(self, input: Option<i32>) -> Self
pub fn set_backup_retention_period(self, input: Option<i32>) -> Self
The number of days for which automated backups are retained.
sourcepub fn multi_az(self, input: bool) -> Self
pub fn multi_az(self, input: bool) -> Self
A value that indicates that the Single-AZ DB instance will change to a Multi-AZ deployment.
sourcepub fn set_multi_az(self, input: Option<bool>) -> Self
pub fn set_multi_az(self, input: Option<bool>) -> Self
A value that indicates that the Single-AZ DB instance will change to a Multi-AZ deployment.
sourcepub fn engine_version(self, input: impl Into<String>) -> Self
pub fn engine_version(self, input: impl Into<String>) -> Self
The database engine version.
sourcepub fn set_engine_version(self, input: Option<String>) -> Self
pub fn set_engine_version(self, input: Option<String>) -> Self
The database engine version.
sourcepub fn license_model(self, input: impl Into<String>) -> Self
pub fn license_model(self, input: impl Into<String>) -> Self
The license model for the DB instance.
Valid values: license-included | bring-your-own-license | general-public-license
sourcepub fn set_license_model(self, input: Option<String>) -> Self
pub fn set_license_model(self, input: Option<String>) -> Self
The license model for the DB instance.
Valid values: license-included | bring-your-own-license | general-public-license
sourcepub fn set_iops(self, input: Option<i32>) -> Self
pub fn set_iops(self, input: Option<i32>) -> Self
The Provisioned IOPS value for 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
The database identifier 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
The database identifier for the DB instance.
sourcepub fn storage_type(self, input: impl Into<String>) -> Self
pub fn storage_type(self, input: impl Into<String>) -> Self
The storage type of the DB instance.
sourcepub fn set_storage_type(self, input: Option<String>) -> Self
pub fn set_storage_type(self, input: Option<String>) -> Self
The storage type of the DB instance.
sourcepub fn ca_certificate_identifier(self, input: impl Into<String>) -> Self
pub fn ca_certificate_identifier(self, input: impl Into<String>) -> Self
The identifier of the CA certificate for the DB instance.
sourcepub fn set_ca_certificate_identifier(self, input: Option<String>) -> Self
pub fn set_ca_certificate_identifier(self, input: Option<String>) -> Self
The identifier of the CA certificate for the DB instance.
sourcepub fn db_subnet_group_name(self, input: impl Into<String>) -> Self
pub fn db_subnet_group_name(self, input: impl Into<String>) -> Self
The DB subnet group for the DB instance.
sourcepub fn set_db_subnet_group_name(self, input: Option<String>) -> Self
pub fn set_db_subnet_group_name(self, input: Option<String>) -> Self
The DB subnet group for the DB instance.
sourcepub fn pending_cloudwatch_logs_exports(
self,
input: PendingCloudwatchLogsExports
) -> Self
pub fn pending_cloudwatch_logs_exports(
self,
input: PendingCloudwatchLogsExports
) -> Self
A list of the log types whose configuration is still pending. In other words, these log types are in the process of being activated or deactivated.
sourcepub fn set_pending_cloudwatch_logs_exports(
self,
input: Option<PendingCloudwatchLogsExports>
) -> Self
pub fn set_pending_cloudwatch_logs_exports(
self,
input: Option<PendingCloudwatchLogsExports>
) -> Self
A list of the log types whose configuration is still pending. In other words, these log types are in the process of being activated or deactivated.
sourcepub fn processor_features(self, input: ProcessorFeature) -> Self
pub fn processor_features(self, input: ProcessorFeature) -> 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<ProcessorFeature>>) -> Self
pub fn set_processor_features(self, input: Option<Vec<ProcessorFeature>>) -> Self
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.
sourcepub fn iam_database_authentication_enabled(self, input: bool) -> Self
pub fn iam_database_authentication_enabled(self, input: bool) -> Self
Whether mapping of Amazon Web Services Identity and Access Management (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 Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled.
sourcepub fn automation_mode(self, input: AutomationMode) -> Self
pub fn automation_mode(self, input: AutomationMode) -> Self
The automation mode of the RDS Custom DB instance: full or all-paused. If full, the DB instance automates monitoring and instance recovery. If all-paused, the instance pauses automation for the duration set by --resume-full-automation-mode-minutes.
sourcepub fn set_automation_mode(self, input: Option<AutomationMode>) -> Self
pub fn set_automation_mode(self, input: Option<AutomationMode>) -> Self
The automation mode of the RDS Custom DB instance: full or all-paused. If full, the DB instance automates monitoring and instance recovery. If all-paused, the instance pauses automation for the duration set by --resume-full-automation-mode-minutes.
sourcepub fn resume_full_automation_mode_time(self, input: DateTime) -> Self
pub fn resume_full_automation_mode_time(self, input: DateTime) -> Self
The number of minutes to pause the automation. When the time period ends, RDS Custom resumes full automation. The minimum value is 60 (default). The maximum value is 1,440.
sourcepub fn set_resume_full_automation_mode_time(
self,
input: Option<DateTime>
) -> Self
pub fn set_resume_full_automation_mode_time(
self,
input: Option<DateTime>
) -> Self
The number of minutes to pause the automation. When the time period ends, RDS Custom resumes full automation. The minimum value is 60 (default). The maximum value is 1,440.
sourcepub fn build(self) -> PendingModifiedValues
pub fn build(self) -> PendingModifiedValues
Consumes the builder and constructs a PendingModifiedValues.