Struct aws_sdk_databasemigration::operation::modify_data_provider::builders::ModifyDataProviderFluentBuilder
source · pub struct ModifyDataProviderFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ModifyDataProvider
.
Modifies the specified data provider using the provided settings.
You must remove the data provider from all migration projects before you can modify it.
Implementations§
source§impl ModifyDataProviderFluentBuilder
impl ModifyDataProviderFluentBuilder
sourcepub fn as_input(&self) -> &ModifyDataProviderInputBuilder
pub fn as_input(&self) -> &ModifyDataProviderInputBuilder
Access the ModifyDataProvider as a reference.
sourcepub async fn send(
self
) -> Result<ModifyDataProviderOutput, SdkError<ModifyDataProviderError, HttpResponse>>
pub async fn send( self ) -> Result<ModifyDataProviderOutput, SdkError<ModifyDataProviderError, 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 fn customize(
self
) -> CustomizableOperation<ModifyDataProviderOutput, ModifyDataProviderError, Self>
pub fn customize( self ) -> CustomizableOperation<ModifyDataProviderOutput, ModifyDataProviderError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn data_provider_identifier(self, input: impl Into<String>) -> Self
pub fn data_provider_identifier(self, input: impl Into<String>) -> Self
The identifier of the data provider. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.
sourcepub fn set_data_provider_identifier(self, input: Option<String>) -> Self
pub fn set_data_provider_identifier(self, input: Option<String>) -> Self
The identifier of the data provider. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.
sourcepub fn get_data_provider_identifier(&self) -> &Option<String>
pub fn get_data_provider_identifier(&self) -> &Option<String>
The identifier of the data provider. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.
sourcepub fn data_provider_name(self, input: impl Into<String>) -> Self
pub fn data_provider_name(self, input: impl Into<String>) -> Self
The name of the data provider.
sourcepub fn set_data_provider_name(self, input: Option<String>) -> Self
pub fn set_data_provider_name(self, input: Option<String>) -> Self
The name of the data provider.
sourcepub fn get_data_provider_name(&self) -> &Option<String>
pub fn get_data_provider_name(&self) -> &Option<String>
The name of the data provider.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A user-friendly description of the data provider.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A user-friendly description of the data provider.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A user-friendly description of the data provider.
sourcepub fn engine(self, input: impl Into<String>) -> Self
pub fn engine(self, input: impl Into<String>) -> Self
The type of database engine for the data provider. Valid values include "aurora"
, "aurora-postgresql"
, "mysql"
, "oracle"
, "postgres"
, "sqlserver"
, redshift
, mariadb
, mongodb
, and docdb
. A value of "aurora"
represents Amazon Aurora MySQL-Compatible Edition.
sourcepub fn set_engine(self, input: Option<String>) -> Self
pub fn set_engine(self, input: Option<String>) -> Self
The type of database engine for the data provider. Valid values include "aurora"
, "aurora-postgresql"
, "mysql"
, "oracle"
, "postgres"
, "sqlserver"
, redshift
, mariadb
, mongodb
, and docdb
. A value of "aurora"
represents Amazon Aurora MySQL-Compatible Edition.
sourcepub fn get_engine(&self) -> &Option<String>
pub fn get_engine(&self) -> &Option<String>
The type of database engine for the data provider. Valid values include "aurora"
, "aurora-postgresql"
, "mysql"
, "oracle"
, "postgres"
, "sqlserver"
, redshift
, mariadb
, mongodb
, and docdb
. A value of "aurora"
represents Amazon Aurora MySQL-Compatible Edition.
sourcepub fn exact_settings(self, input: bool) -> Self
pub fn exact_settings(self, input: bool) -> Self
If this attribute is Y, the current call to ModifyDataProvider
replaces all existing data provider settings with the exact settings that you specify in this call. If this attribute is N, the current call to ModifyDataProvider
does two things:
-
It replaces any data provider settings that already exist with new values, for settings with the same names.
-
It creates new data provider settings that you specify in the call, for settings with different names.
sourcepub fn set_exact_settings(self, input: Option<bool>) -> Self
pub fn set_exact_settings(self, input: Option<bool>) -> Self
If this attribute is Y, the current call to ModifyDataProvider
replaces all existing data provider settings with the exact settings that you specify in this call. If this attribute is N, the current call to ModifyDataProvider
does two things:
-
It replaces any data provider settings that already exist with new values, for settings with the same names.
-
It creates new data provider settings that you specify in the call, for settings with different names.
sourcepub fn get_exact_settings(&self) -> &Option<bool>
pub fn get_exact_settings(&self) -> &Option<bool>
If this attribute is Y, the current call to ModifyDataProvider
replaces all existing data provider settings with the exact settings that you specify in this call. If this attribute is N, the current call to ModifyDataProvider
does two things:
-
It replaces any data provider settings that already exist with new values, for settings with the same names.
-
It creates new data provider settings that you specify in the call, for settings with different names.
sourcepub fn settings(self, input: DataProviderSettings) -> Self
pub fn settings(self, input: DataProviderSettings) -> Self
The settings in JSON format for a data provider.
sourcepub fn set_settings(self, input: Option<DataProviderSettings>) -> Self
pub fn set_settings(self, input: Option<DataProviderSettings>) -> Self
The settings in JSON format for a data provider.
sourcepub fn get_settings(&self) -> &Option<DataProviderSettings>
pub fn get_settings(&self) -> &Option<DataProviderSettings>
The settings in JSON format for a data provider.
Trait Implementations§
source§impl Clone for ModifyDataProviderFluentBuilder
impl Clone for ModifyDataProviderFluentBuilder
source§fn clone(&self) -> ModifyDataProviderFluentBuilder
fn clone(&self) -> ModifyDataProviderFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more