Struct aws_sdk_databasemigration::operation::create_migration_project::builders::CreateMigrationProjectInputBuilder
source · #[non_exhaustive]pub struct CreateMigrationProjectInputBuilder { /* private fields */ }
Expand description
A builder for CreateMigrationProjectInput
.
Implementations§
source§impl CreateMigrationProjectInputBuilder
impl CreateMigrationProjectInputBuilder
sourcepub fn migration_project_name(self, input: impl Into<String>) -> Self
pub fn migration_project_name(self, input: impl Into<String>) -> Self
A user-friendly name for the migration project.
sourcepub fn set_migration_project_name(self, input: Option<String>) -> Self
pub fn set_migration_project_name(self, input: Option<String>) -> Self
A user-friendly name for the migration project.
sourcepub fn get_migration_project_name(&self) -> &Option<String>
pub fn get_migration_project_name(&self) -> &Option<String>
A user-friendly name for the migration project.
sourcepub fn source_data_provider_descriptors(
self,
input: DataProviderDescriptorDefinition
) -> Self
pub fn source_data_provider_descriptors( self, input: DataProviderDescriptorDefinition ) -> Self
Appends an item to source_data_provider_descriptors
.
To override the contents of this collection use set_source_data_provider_descriptors
.
Information about the source data provider, including the name, ARN, and Secrets Manager parameters.
sourcepub fn set_source_data_provider_descriptors(
self,
input: Option<Vec<DataProviderDescriptorDefinition>>
) -> Self
pub fn set_source_data_provider_descriptors( self, input: Option<Vec<DataProviderDescriptorDefinition>> ) -> Self
Information about the source data provider, including the name, ARN, and Secrets Manager parameters.
sourcepub fn get_source_data_provider_descriptors(
&self
) -> &Option<Vec<DataProviderDescriptorDefinition>>
pub fn get_source_data_provider_descriptors( &self ) -> &Option<Vec<DataProviderDescriptorDefinition>>
Information about the source data provider, including the name, ARN, and Secrets Manager parameters.
sourcepub fn target_data_provider_descriptors(
self,
input: DataProviderDescriptorDefinition
) -> Self
pub fn target_data_provider_descriptors( self, input: DataProviderDescriptorDefinition ) -> Self
Appends an item to target_data_provider_descriptors
.
To override the contents of this collection use set_target_data_provider_descriptors
.
Information about the target data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.
sourcepub fn set_target_data_provider_descriptors(
self,
input: Option<Vec<DataProviderDescriptorDefinition>>
) -> Self
pub fn set_target_data_provider_descriptors( self, input: Option<Vec<DataProviderDescriptorDefinition>> ) -> Self
Information about the target data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.
sourcepub fn get_target_data_provider_descriptors(
&self
) -> &Option<Vec<DataProviderDescriptorDefinition>>
pub fn get_target_data_provider_descriptors( &self ) -> &Option<Vec<DataProviderDescriptorDefinition>>
Information about the target data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.
sourcepub fn instance_profile_identifier(self, input: impl Into<String>) -> Self
pub fn instance_profile_identifier(self, input: impl Into<String>) -> Self
The identifier of the associated instance profile. 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_instance_profile_identifier(self, input: Option<String>) -> Self
pub fn set_instance_profile_identifier(self, input: Option<String>) -> Self
The identifier of the associated instance profile. 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_instance_profile_identifier(&self) -> &Option<String>
pub fn get_instance_profile_identifier(&self) -> &Option<String>
The identifier of the associated instance profile. 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 transformation_rules(self, input: impl Into<String>) -> Self
pub fn transformation_rules(self, input: impl Into<String>) -> Self
The settings in JSON format for migration rules. Migration rules make it possible for you to change the object names according to the rules that you specify. For example, you can change an object name to lowercase or uppercase, add or remove a prefix or suffix, or rename objects.
sourcepub fn set_transformation_rules(self, input: Option<String>) -> Self
pub fn set_transformation_rules(self, input: Option<String>) -> Self
The settings in JSON format for migration rules. Migration rules make it possible for you to change the object names according to the rules that you specify. For example, you can change an object name to lowercase or uppercase, add or remove a prefix or suffix, or rename objects.
sourcepub fn get_transformation_rules(&self) -> &Option<String>
pub fn get_transformation_rules(&self) -> &Option<String>
The settings in JSON format for migration rules. Migration rules make it possible for you to change the object names according to the rules that you specify. For example, you can change an object name to lowercase or uppercase, add or remove a prefix or suffix, or rename objects.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A user-friendly description of the migration project.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A user-friendly description of the migration project.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A user-friendly description of the migration project.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
One or more tags to be assigned to the migration project.
One or more tags to be assigned to the migration project.
One or more tags to be assigned to the migration project.
sourcepub fn schema_conversion_application_attributes(
self,
input: ScApplicationAttributes
) -> Self
pub fn schema_conversion_application_attributes( self, input: ScApplicationAttributes ) -> Self
The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.
sourcepub fn set_schema_conversion_application_attributes(
self,
input: Option<ScApplicationAttributes>
) -> Self
pub fn set_schema_conversion_application_attributes( self, input: Option<ScApplicationAttributes> ) -> Self
The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.
sourcepub fn get_schema_conversion_application_attributes(
&self
) -> &Option<ScApplicationAttributes>
pub fn get_schema_conversion_application_attributes( &self ) -> &Option<ScApplicationAttributes>
The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.
sourcepub fn build(self) -> Result<CreateMigrationProjectInput, BuildError>
pub fn build(self) -> Result<CreateMigrationProjectInput, BuildError>
Consumes the builder and constructs a CreateMigrationProjectInput
.
source§impl CreateMigrationProjectInputBuilder
impl CreateMigrationProjectInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateMigrationProjectOutput, SdkError<CreateMigrationProjectError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateMigrationProjectOutput, SdkError<CreateMigrationProjectError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateMigrationProjectInputBuilder
impl Clone for CreateMigrationProjectInputBuilder
source§fn clone(&self) -> CreateMigrationProjectInputBuilder
fn clone(&self) -> CreateMigrationProjectInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateMigrationProjectInputBuilder
impl Default for CreateMigrationProjectInputBuilder
source§fn default() -> CreateMigrationProjectInputBuilder
fn default() -> CreateMigrationProjectInputBuilder
source§impl PartialEq for CreateMigrationProjectInputBuilder
impl PartialEq for CreateMigrationProjectInputBuilder
source§fn eq(&self, other: &CreateMigrationProjectInputBuilder) -> bool
fn eq(&self, other: &CreateMigrationProjectInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.