Struct aws_sdk_databasemigration::operation::modify_migration_project::builders::ModifyMigrationProjectFluentBuilder
source · pub struct ModifyMigrationProjectFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ModifyMigrationProject
.
Modifies the specified migration project using the provided parameters.
The migration project must be closed before you can modify it.
Implementations§
source§impl ModifyMigrationProjectFluentBuilder
impl ModifyMigrationProjectFluentBuilder
sourcepub fn as_input(&self) -> &ModifyMigrationProjectInputBuilder
pub fn as_input(&self) -> &ModifyMigrationProjectInputBuilder
Access the ModifyMigrationProject as a reference.
sourcepub async fn send(
self
) -> Result<ModifyMigrationProjectOutput, SdkError<ModifyMigrationProjectError, HttpResponse>>
pub async fn send( self ) -> Result<ModifyMigrationProjectOutput, SdkError<ModifyMigrationProjectError, 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<ModifyMigrationProjectOutput, ModifyMigrationProjectError, Self>
pub fn customize( self ) -> CustomizableOperation<ModifyMigrationProjectOutput, ModifyMigrationProjectError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn migration_project_identifier(self, input: impl Into<String>) -> Self
pub fn migration_project_identifier(self, input: impl Into<String>) -> Self
The identifier of the migration project. 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_migration_project_identifier(self, input: Option<String>) -> Self
pub fn set_migration_project_identifier(self, input: Option<String>) -> Self
The identifier of the migration project. 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_migration_project_identifier(&self) -> &Option<String>
pub fn get_migration_project_identifier(&self) -> &Option<String>
The identifier of the migration project. 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 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 SourceDataProviderDescriptors
.
To override the contents of this collection use set_source_data_provider_descriptors
.
Information about the source data provider, including the name, ARN, and Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 TargetDataProviderDescriptors
.
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 name or Amazon Resource Name (ARN) for the instance profile.
sourcepub fn set_instance_profile_identifier(self, input: Option<String>) -> Self
pub fn set_instance_profile_identifier(self, input: Option<String>) -> Self
The name or Amazon Resource Name (ARN) for the instance profile.
sourcepub fn get_instance_profile_identifier(&self) -> &Option<String>
pub fn get_instance_profile_identifier(&self) -> &Option<String>
The name or Amazon Resource Name (ARN) for the instance profile.
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.
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.
Trait Implementations§
source§impl Clone for ModifyMigrationProjectFluentBuilder
impl Clone for ModifyMigrationProjectFluentBuilder
source§fn clone(&self) -> ModifyMigrationProjectFluentBuilder
fn clone(&self) -> ModifyMigrationProjectFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more