Struct aws_sdk_databasemigration::operation::modify_replication_config::builders::ModifyReplicationConfigFluentBuilder
source · pub struct ModifyReplicationConfigFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ModifyReplicationConfig
.
Modifies an existing DMS Serverless replication configuration that you can use to start a replication. This command includes input validation and logic to check the state of any replication that uses this configuration. You can only modify a replication configuration before any replication that uses it has started. As soon as you have initially started a replication with a given configuiration, you can't modify that configuration, even if you stop it.
Other run statuses that allow you to run this command include FAILED and CREATED. A provisioning state that allows you to run this command is FAILED_PROVISION.
Implementations§
source§impl ModifyReplicationConfigFluentBuilder
impl ModifyReplicationConfigFluentBuilder
sourcepub fn as_input(&self) -> &ModifyReplicationConfigInputBuilder
pub fn as_input(&self) -> &ModifyReplicationConfigInputBuilder
Access the ModifyReplicationConfig as a reference.
sourcepub async fn send(
self
) -> Result<ModifyReplicationConfigOutput, SdkError<ModifyReplicationConfigError, HttpResponse>>
pub async fn send( self ) -> Result<ModifyReplicationConfigOutput, SdkError<ModifyReplicationConfigError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ModifyReplicationConfigOutput, ModifyReplicationConfigError>, SdkError<ModifyReplicationConfigError>>
pub async fn customize( self ) -> Result<CustomizableOperation<ModifyReplicationConfigOutput, ModifyReplicationConfigError>, SdkError<ModifyReplicationConfigError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn replication_config_arn(self, input: impl Into<String>) -> Self
pub fn replication_config_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name of the replication to modify.
sourcepub fn set_replication_config_arn(self, input: Option<String>) -> Self
pub fn set_replication_config_arn(self, input: Option<String>) -> Self
The Amazon Resource Name of the replication to modify.
sourcepub fn get_replication_config_arn(&self) -> &Option<String>
pub fn get_replication_config_arn(&self) -> &Option<String>
The Amazon Resource Name of the replication to modify.
sourcepub fn replication_config_identifier(self, input: impl Into<String>) -> Self
pub fn replication_config_identifier(self, input: impl Into<String>) -> Self
The new replication config to apply to the replication.
sourcepub fn set_replication_config_identifier(self, input: Option<String>) -> Self
pub fn set_replication_config_identifier(self, input: Option<String>) -> Self
The new replication config to apply to the replication.
sourcepub fn get_replication_config_identifier(&self) -> &Option<String>
pub fn get_replication_config_identifier(&self) -> &Option<String>
The new replication config to apply to the replication.
sourcepub fn replication_type(self, input: MigrationTypeValue) -> Self
pub fn replication_type(self, input: MigrationTypeValue) -> Self
The type of replication.
sourcepub fn set_replication_type(self, input: Option<MigrationTypeValue>) -> Self
pub fn set_replication_type(self, input: Option<MigrationTypeValue>) -> Self
The type of replication.
sourcepub fn get_replication_type(&self) -> &Option<MigrationTypeValue>
pub fn get_replication_type(&self) -> &Option<MigrationTypeValue>
The type of replication.
sourcepub fn table_mappings(self, input: impl Into<String>) -> Self
pub fn table_mappings(self, input: impl Into<String>) -> Self
Table mappings specified in the replication.
sourcepub fn set_table_mappings(self, input: Option<String>) -> Self
pub fn set_table_mappings(self, input: Option<String>) -> Self
Table mappings specified in the replication.
sourcepub fn get_table_mappings(&self) -> &Option<String>
pub fn get_table_mappings(&self) -> &Option<String>
Table mappings specified in the replication.
sourcepub fn replication_settings(self, input: impl Into<String>) -> Self
pub fn replication_settings(self, input: impl Into<String>) -> Self
The settings for the replication.
sourcepub fn set_replication_settings(self, input: Option<String>) -> Self
pub fn set_replication_settings(self, input: Option<String>) -> Self
The settings for the replication.
sourcepub fn get_replication_settings(&self) -> &Option<String>
pub fn get_replication_settings(&self) -> &Option<String>
The settings for the replication.
sourcepub fn supplemental_settings(self, input: impl Into<String>) -> Self
pub fn supplemental_settings(self, input: impl Into<String>) -> Self
Additional settings for the replication.
sourcepub fn set_supplemental_settings(self, input: Option<String>) -> Self
pub fn set_supplemental_settings(self, input: Option<String>) -> Self
Additional settings for the replication.
sourcepub fn get_supplemental_settings(&self) -> &Option<String>
pub fn get_supplemental_settings(&self) -> &Option<String>
Additional settings for the replication.
sourcepub fn compute_config(self, input: ComputeConfig) -> Self
pub fn compute_config(self, input: ComputeConfig) -> Self
Configuration parameters for provisioning an DMS Serverless replication.
sourcepub fn set_compute_config(self, input: Option<ComputeConfig>) -> Self
pub fn set_compute_config(self, input: Option<ComputeConfig>) -> Self
Configuration parameters for provisioning an DMS Serverless replication.
sourcepub fn get_compute_config(&self) -> &Option<ComputeConfig>
pub fn get_compute_config(&self) -> &Option<ComputeConfig>
Configuration parameters for provisioning an DMS Serverless replication.
sourcepub fn source_endpoint_arn(self, input: impl Into<String>) -> Self
pub fn source_endpoint_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless replication configuration.
sourcepub fn set_source_endpoint_arn(self, input: Option<String>) -> Self
pub fn set_source_endpoint_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless replication configuration.
sourcepub fn get_source_endpoint_arn(&self) -> &Option<String>
pub fn get_source_endpoint_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless replication configuration.
sourcepub fn target_endpoint_arn(self, input: impl Into<String>) -> Self
pub fn target_endpoint_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless replication configuration.
sourcepub fn set_target_endpoint_arn(self, input: Option<String>) -> Self
pub fn set_target_endpoint_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless replication configuration.
sourcepub fn get_target_endpoint_arn(&self) -> &Option<String>
pub fn get_target_endpoint_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless replication configuration.
Trait Implementations§
source§impl Clone for ModifyReplicationConfigFluentBuilder
impl Clone for ModifyReplicationConfigFluentBuilder
source§fn clone(&self) -> ModifyReplicationConfigFluentBuilder
fn clone(&self) -> ModifyReplicationConfigFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more