Struct aws_sdk_databasemigration::operation::create_data_provider::builders::CreateDataProviderInputBuilder
source · #[non_exhaustive]pub struct CreateDataProviderInputBuilder { /* private fields */ }
Expand description
A builder for CreateDataProviderInput
.
Implementations§
source§impl CreateDataProviderInputBuilder
impl CreateDataProviderInputBuilder
sourcepub fn data_provider_name(self, input: impl Into<String>) -> Self
pub fn data_provider_name(self, input: impl Into<String>) -> Self
A user-friendly name for 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
A user-friendly name for the data provider.
sourcepub fn get_data_provider_name(&self) -> &Option<String>
pub fn get_data_provider_name(&self) -> &Option<String>
A user-friendly name for 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 settings(self, input: DataProviderSettings) -> Self
pub fn settings(self, input: DataProviderSettings) -> Self
The settings in JSON format for a data provider.
This field is required.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.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
One or more tags to be assigned to the data provider.
One or more tags to be assigned to the data provider.
One or more tags to be assigned to the data provider.
sourcepub fn build(self) -> Result<CreateDataProviderInput, BuildError>
pub fn build(self) -> Result<CreateDataProviderInput, BuildError>
Consumes the builder and constructs a CreateDataProviderInput
.
source§impl CreateDataProviderInputBuilder
impl CreateDataProviderInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDataProviderOutput, SdkError<CreateDataProviderError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDataProviderOutput, SdkError<CreateDataProviderError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDataProviderInputBuilder
impl Clone for CreateDataProviderInputBuilder
source§fn clone(&self) -> CreateDataProviderInputBuilder
fn clone(&self) -> CreateDataProviderInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateDataProviderInputBuilder
impl Default for CreateDataProviderInputBuilder
source§fn default() -> CreateDataProviderInputBuilder
fn default() -> CreateDataProviderInputBuilder
source§impl PartialEq for CreateDataProviderInputBuilder
impl PartialEq for CreateDataProviderInputBuilder
source§fn eq(&self, other: &CreateDataProviderInputBuilder) -> bool
fn eq(&self, other: &CreateDataProviderInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.