Struct aws_sdk_databasemigration::operation::modify_data_provider::builders::ModifyDataProviderInputBuilder
source · #[non_exhaustive]pub struct ModifyDataProviderInputBuilder { /* private fields */ }
Expand description
A builder for ModifyDataProviderInput
.
Implementations§
source§impl ModifyDataProviderInputBuilder
impl ModifyDataProviderInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<ModifyDataProviderInput, BuildError>
pub fn build(self) -> Result<ModifyDataProviderInput, BuildError>
Consumes the builder and constructs a ModifyDataProviderInput
.
source§impl ModifyDataProviderInputBuilder
impl ModifyDataProviderInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifyDataProviderOutput, SdkError<ModifyDataProviderError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifyDataProviderOutput, SdkError<ModifyDataProviderError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyDataProviderInputBuilder
impl Clone for ModifyDataProviderInputBuilder
source§fn clone(&self) -> ModifyDataProviderInputBuilder
fn clone(&self) -> ModifyDataProviderInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ModifyDataProviderInputBuilder
impl Default for ModifyDataProviderInputBuilder
source§fn default() -> ModifyDataProviderInputBuilder
fn default() -> ModifyDataProviderInputBuilder
source§impl PartialEq for ModifyDataProviderInputBuilder
impl PartialEq for ModifyDataProviderInputBuilder
source§fn eq(&self, other: &ModifyDataProviderInputBuilder) -> bool
fn eq(&self, other: &ModifyDataProviderInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.