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 ==
.impl StructuralPartialEq for StartMetadataModelImportInputBuilder
Auto Trait Implementations§
impl Freeze for StartMetadataModelImportInputBuilder
impl RefUnwindSafe for StartMetadataModelImportInputBuilder
impl Send for StartMetadataModelImportInputBuilder
impl Sync for StartMetadataModelImportInputBuilder
impl Unpin for StartMetadataModelImportInputBuilder
impl UnwindSafe for StartMetadataModelImportInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more