#[non_exhaustive]pub struct StartImportOutputBuilder { /* private fields */ }Expand description
A builder for StartImportOutput.
Implementations§
source§impl StartImportOutputBuilder
impl StartImportOutputBuilder
sourcepub fn set_import_id(self, input: Option<String>) -> Self
pub fn set_import_id(self, input: Option<String>) -> Self
A unique identifier for the import.
sourcepub fn get_import_id(&self) -> &Option<String>
pub fn get_import_id(&self) -> &Option<String>
A unique identifier for the import.
sourcepub fn resource_specification(self, input: ImportResourceSpecification) -> Self
pub fn resource_specification(self, input: ImportResourceSpecification) -> Self
The parameters used when importing the resource.
sourcepub fn set_resource_specification(
self,
input: Option<ImportResourceSpecification>,
) -> Self
pub fn set_resource_specification( self, input: Option<ImportResourceSpecification>, ) -> Self
The parameters used when importing the resource.
sourcepub fn get_resource_specification(&self) -> &Option<ImportResourceSpecification>
pub fn get_resource_specification(&self) -> &Option<ImportResourceSpecification>
The parameters used when importing the resource.
sourcepub fn merge_strategy(self, input: MergeStrategy) -> Self
pub fn merge_strategy(self, input: MergeStrategy) -> Self
The strategy used when there was a name conflict between the imported resource and an existing resource. When the merge strategy is FailOnConflict existing resources are not overwritten and the import fails.
sourcepub fn set_merge_strategy(self, input: Option<MergeStrategy>) -> Self
pub fn set_merge_strategy(self, input: Option<MergeStrategy>) -> Self
The strategy used when there was a name conflict between the imported resource and an existing resource. When the merge strategy is FailOnConflict existing resources are not overwritten and the import fails.
sourcepub fn get_merge_strategy(&self) -> &Option<MergeStrategy>
pub fn get_merge_strategy(&self) -> &Option<MergeStrategy>
The strategy used when there was a name conflict between the imported resource and an existing resource. When the merge strategy is FailOnConflict existing resources are not overwritten and the import fails.
sourcepub fn import_status(self, input: ImportStatus) -> Self
pub fn import_status(self, input: ImportStatus) -> Self
The current status of the import. When the status is Complete the bot, bot alias, or custom vocabulary is ready to use.
sourcepub fn set_import_status(self, input: Option<ImportStatus>) -> Self
pub fn set_import_status(self, input: Option<ImportStatus>) -> Self
The current status of the import. When the status is Complete the bot, bot alias, or custom vocabulary is ready to use.
sourcepub fn get_import_status(&self) -> &Option<ImportStatus>
pub fn get_import_status(&self) -> &Option<ImportStatus>
The current status of the import. When the status is Complete the bot, bot alias, or custom vocabulary is ready to use.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The date and time that the import request was created.
sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The date and time that the import request was created.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
The date and time that the import request was created.
sourcepub fn build(self) -> StartImportOutput
pub fn build(self) -> StartImportOutput
Consumes the builder and constructs a StartImportOutput.
Trait Implementations§
source§impl Clone for StartImportOutputBuilder
impl Clone for StartImportOutputBuilder
source§fn clone(&self) -> StartImportOutputBuilder
fn clone(&self) -> StartImportOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StartImportOutputBuilder
impl Debug for StartImportOutputBuilder
source§impl Default for StartImportOutputBuilder
impl Default for StartImportOutputBuilder
source§fn default() -> StartImportOutputBuilder
fn default() -> StartImportOutputBuilder
source§impl PartialEq for StartImportOutputBuilder
impl PartialEq for StartImportOutputBuilder
source§fn eq(&self, other: &StartImportOutputBuilder) -> bool
fn eq(&self, other: &StartImportOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StartImportOutputBuilder
Auto Trait Implementations§
impl Freeze for StartImportOutputBuilder
impl RefUnwindSafe for StartImportOutputBuilder
impl Send for StartImportOutputBuilder
impl Sync for StartImportOutputBuilder
impl Unpin for StartImportOutputBuilder
impl UnwindSafe for StartImportOutputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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