Struct aws_sdk_databasemigration::operation::start_metadata_model_import::builders::StartMetadataModelImportInputBuilder
source · #[non_exhaustive]pub struct StartMetadataModelImportInputBuilder { /* private fields */ }
Expand description
A builder for StartMetadataModelImportInput
.
Implementations§
source§impl StartMetadataModelImportInputBuilder
impl StartMetadataModelImportInputBuilder
sourcepub fn migration_project_identifier(self, input: impl Into<String>) -> Self
pub fn migration_project_identifier(self, input: impl Into<String>) -> Self
The migration project name or Amazon Resource Name (ARN).
This field is required.sourcepub fn set_migration_project_identifier(self, input: Option<String>) -> Self
pub fn set_migration_project_identifier(self, input: Option<String>) -> Self
The migration project name or Amazon Resource Name (ARN).
sourcepub fn get_migration_project_identifier(&self) -> &Option<String>
pub fn get_migration_project_identifier(&self) -> &Option<String>
The migration project name or Amazon Resource Name (ARN).
sourcepub fn selection_rules(self, input: impl Into<String>) -> Self
pub fn selection_rules(self, input: impl Into<String>) -> Self
A value that specifies the database objects to import.
This field is required.sourcepub fn set_selection_rules(self, input: Option<String>) -> Self
pub fn set_selection_rules(self, input: Option<String>) -> Self
A value that specifies the database objects to import.
sourcepub fn get_selection_rules(&self) -> &Option<String>
pub fn get_selection_rules(&self) -> &Option<String>
A value that specifies the database objects to import.
sourcepub fn origin(self, input: OriginTypeValue) -> Self
pub fn origin(self, input: OriginTypeValue) -> Self
Whether to load metadata to the source or target database.
This field is required.sourcepub fn set_origin(self, input: Option<OriginTypeValue>) -> Self
pub fn set_origin(self, input: Option<OriginTypeValue>) -> Self
Whether to load metadata to the source or target database.
sourcepub fn get_origin(&self) -> &Option<OriginTypeValue>
pub fn get_origin(&self) -> &Option<OriginTypeValue>
Whether to load metadata to the source or target database.
sourcepub fn refresh(self, input: bool) -> Self
pub fn refresh(self, input: bool) -> Self
If true
, DMS loads metadata for the specified objects from the source database.
sourcepub fn set_refresh(self, input: Option<bool>) -> Self
pub fn set_refresh(self, input: Option<bool>) -> Self
If true
, DMS loads metadata for the specified objects from the source database.
sourcepub fn get_refresh(&self) -> &Option<bool>
pub fn get_refresh(&self) -> &Option<bool>
If true
, DMS loads metadata for the specified objects from the source database.
sourcepub fn build(self) -> Result<StartMetadataModelImportInput, BuildError>
pub fn build(self) -> Result<StartMetadataModelImportInput, BuildError>
Consumes the builder and constructs a StartMetadataModelImportInput
.
source§impl StartMetadataModelImportInputBuilder
impl StartMetadataModelImportInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartMetadataModelImportOutput, SdkError<StartMetadataModelImportError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartMetadataModelImportOutput, SdkError<StartMetadataModelImportError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartMetadataModelImportInputBuilder
impl Clone for StartMetadataModelImportInputBuilder
source§fn clone(&self) -> StartMetadataModelImportInputBuilder
fn clone(&self) -> StartMetadataModelImportInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartMetadataModelImportInputBuilder
impl Default for StartMetadataModelImportInputBuilder
source§fn default() -> StartMetadataModelImportInputBuilder
fn default() -> StartMetadataModelImportInputBuilder
source§impl PartialEq for StartMetadataModelImportInputBuilder
impl PartialEq for StartMetadataModelImportInputBuilder
source§fn eq(&self, other: &StartMetadataModelImportInputBuilder) -> bool
fn eq(&self, other: &StartMetadataModelImportInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.