#[non_exhaustive]pub struct MigrationProjectBuilder { /* private fields */ }
Expand description
A builder for MigrationProject
.
Implementations§
source§impl MigrationProjectBuilder
impl MigrationProjectBuilder
sourcepub fn migration_project_name(self, input: impl Into<String>) -> Self
pub fn migration_project_name(self, input: impl Into<String>) -> Self
The name of 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
The name of the migration project.
sourcepub fn get_migration_project_name(&self) -> &Option<String>
pub fn get_migration_project_name(&self) -> &Option<String>
The name of the migration project.
sourcepub fn migration_project_arn(self, input: impl Into<String>) -> Self
pub fn migration_project_arn(self, input: impl Into<String>) -> Self
The ARN string that uniquely identifies the migration project.
sourcepub fn set_migration_project_arn(self, input: Option<String>) -> Self
pub fn set_migration_project_arn(self, input: Option<String>) -> Self
The ARN string that uniquely identifies the migration project.
sourcepub fn get_migration_project_arn(&self) -> &Option<String>
pub fn get_migration_project_arn(&self) -> &Option<String>
The ARN string that uniquely identifies the migration project.
sourcepub fn migration_project_creation_time(self, input: DateTime) -> Self
pub fn migration_project_creation_time(self, input: DateTime) -> Self
The time when the migration project was created.
sourcepub fn set_migration_project_creation_time(
self,
input: Option<DateTime>
) -> Self
pub fn set_migration_project_creation_time( self, input: Option<DateTime> ) -> Self
The time when the migration project was created.
sourcepub fn get_migration_project_creation_time(&self) -> &Option<DateTime>
pub fn get_migration_project_creation_time(&self) -> &Option<DateTime>
The time when the migration project was created.
sourcepub fn source_data_provider_descriptors(
self,
input: DataProviderDescriptor
) -> Self
pub fn source_data_provider_descriptors( self, input: DataProviderDescriptor ) -> 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 or ARN, and Secrets Manager parameters.
sourcepub fn set_source_data_provider_descriptors(
self,
input: Option<Vec<DataProviderDescriptor>>
) -> Self
pub fn set_source_data_provider_descriptors( self, input: Option<Vec<DataProviderDescriptor>> ) -> Self
Information about the source data provider, including the name or ARN, and Secrets Manager parameters.
sourcepub fn get_source_data_provider_descriptors(
&self
) -> &Option<Vec<DataProviderDescriptor>>
pub fn get_source_data_provider_descriptors( &self ) -> &Option<Vec<DataProviderDescriptor>>
Information about the source data provider, including the name or ARN, and Secrets Manager parameters.
sourcepub fn target_data_provider_descriptors(
self,
input: DataProviderDescriptor
) -> Self
pub fn target_data_provider_descriptors( self, input: DataProviderDescriptor ) -> 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 or ARN, and Secrets Manager parameters.
sourcepub fn set_target_data_provider_descriptors(
self,
input: Option<Vec<DataProviderDescriptor>>
) -> Self
pub fn set_target_data_provider_descriptors( self, input: Option<Vec<DataProviderDescriptor>> ) -> Self
Information about the target data provider, including the name or ARN, and Secrets Manager parameters.
sourcepub fn get_target_data_provider_descriptors(
&self
) -> &Option<Vec<DataProviderDescriptor>>
pub fn get_target_data_provider_descriptors( &self ) -> &Option<Vec<DataProviderDescriptor>>
Information about the target data provider, including the name or ARN, and Secrets Manager parameters.
sourcepub fn instance_profile_arn(self, input: impl Into<String>) -> Self
pub fn instance_profile_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the instance profile for your migration project.
sourcepub fn set_instance_profile_arn(self, input: Option<String>) -> Self
pub fn set_instance_profile_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the instance profile for your migration project.
sourcepub fn get_instance_profile_arn(&self) -> &Option<String>
pub fn get_instance_profile_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the instance profile for your migration project.
sourcepub fn instance_profile_name(self, input: impl Into<String>) -> Self
pub fn instance_profile_name(self, input: impl Into<String>) -> Self
The name of the associated instance profile.
sourcepub fn set_instance_profile_name(self, input: Option<String>) -> Self
pub fn set_instance_profile_name(self, input: Option<String>) -> Self
The name of the associated instance profile.
sourcepub fn get_instance_profile_name(&self) -> &Option<String>
pub fn get_instance_profile_name(&self) -> &Option<String>
The name of the associated 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.
sourcepub fn build(self) -> MigrationProject
pub fn build(self) -> MigrationProject
Consumes the builder and constructs a MigrationProject
.
Trait Implementations§
source§impl Clone for MigrationProjectBuilder
impl Clone for MigrationProjectBuilder
source§fn clone(&self) -> MigrationProjectBuilder
fn clone(&self) -> MigrationProjectBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MigrationProjectBuilder
impl Debug for MigrationProjectBuilder
source§impl Default for MigrationProjectBuilder
impl Default for MigrationProjectBuilder
source§fn default() -> MigrationProjectBuilder
fn default() -> MigrationProjectBuilder
source§impl PartialEq for MigrationProjectBuilder
impl PartialEq for MigrationProjectBuilder
source§fn eq(&self, other: &MigrationProjectBuilder) -> bool
fn eq(&self, other: &MigrationProjectBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.