Struct aws_sdk_databasemigration::operation::create_data_provider::builders::CreateDataProviderFluentBuilder
source · pub struct CreateDataProviderFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateDataProvider
.
Creates a data provider using the provided settings. A data provider stores a data store type and location information about your database.
Implementations§
source§impl CreateDataProviderFluentBuilder
impl CreateDataProviderFluentBuilder
sourcepub fn as_input(&self) -> &CreateDataProviderInputBuilder
pub fn as_input(&self) -> &CreateDataProviderInputBuilder
Access the CreateDataProvider as a reference.
sourcepub async fn send(
self
) -> Result<CreateDataProviderOutput, SdkError<CreateDataProviderError, HttpResponse>>
pub async fn send( self ) -> Result<CreateDataProviderOutput, SdkError<CreateDataProviderError, 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<CreateDataProviderOutput, CreateDataProviderError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateDataProviderOutput, CreateDataProviderError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
Trait Implementations§
source§impl Clone for CreateDataProviderFluentBuilder
impl Clone for CreateDataProviderFluentBuilder
source§fn clone(&self) -> CreateDataProviderFluentBuilder
fn clone(&self) -> CreateDataProviderFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more