Struct aws_sdk_lexmodelsv2::operation::describe_import::builders::DescribeImportOutputBuilder
source · #[non_exhaustive]pub struct DescribeImportOutputBuilder { /* private fields */ }Expand description
A builder for DescribeImportOutput.
Implementations§
source§impl DescribeImportOutputBuilder
impl DescribeImportOutputBuilder
sourcepub fn import_id(self, input: impl Into<String>) -> Self
pub fn import_id(self, input: impl Into<String>) -> Self
The unique identifier of the described import.
sourcepub fn set_import_id(self, input: Option<String>) -> Self
pub fn set_import_id(self, input: Option<String>) -> Self
The unique identifier of the described import.
sourcepub fn get_import_id(&self) -> &Option<String>
pub fn get_import_id(&self) -> &Option<String>
The unique identifier of the described import.
sourcepub fn resource_specification(self, input: ImportResourceSpecification) -> Self
pub fn resource_specification(self, input: ImportResourceSpecification) -> Self
The specifications of the imported bot, bot locale, or custom vocabulary.
sourcepub fn set_resource_specification(
self,
input: Option<ImportResourceSpecification>,
) -> Self
pub fn set_resource_specification( self, input: Option<ImportResourceSpecification>, ) -> Self
The specifications of the imported bot, bot locale, or custom vocabulary.
sourcepub fn get_resource_specification(&self) -> &Option<ImportResourceSpecification>
pub fn get_resource_specification(&self) -> &Option<ImportResourceSpecification>
The specifications of the imported bot, bot locale, or custom vocabulary.
sourcepub fn imported_resource_id(self, input: impl Into<String>) -> Self
pub fn imported_resource_id(self, input: impl Into<String>) -> Self
The unique identifier that Amazon Lex assigned to the resource created by the import.
sourcepub fn set_imported_resource_id(self, input: Option<String>) -> Self
pub fn set_imported_resource_id(self, input: Option<String>) -> Self
The unique identifier that Amazon Lex assigned to the resource created by the import.
sourcepub fn get_imported_resource_id(&self) -> &Option<String>
pub fn get_imported_resource_id(&self) -> &Option<String>
The unique identifier that Amazon Lex assigned to the resource created by the import.
sourcepub fn imported_resource_name(self, input: impl Into<String>) -> Self
pub fn imported_resource_name(self, input: impl Into<String>) -> Self
The name of the imported resource.
sourcepub fn set_imported_resource_name(self, input: Option<String>) -> Self
pub fn set_imported_resource_name(self, input: Option<String>) -> Self
The name of the imported resource.
sourcepub fn get_imported_resource_name(&self) -> &Option<String>
pub fn get_imported_resource_name(&self) -> &Option<String>
The name of the imported 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 status of the import process. When the status is Completed the resource is imported and ready for use.
sourcepub fn set_import_status(self, input: Option<ImportStatus>) -> Self
pub fn set_import_status(self, input: Option<ImportStatus>) -> Self
The status of the import process. When the status is Completed the resource is imported and ready for use.
sourcepub fn get_import_status(&self) -> &Option<ImportStatus>
pub fn get_import_status(&self) -> &Option<ImportStatus>
The status of the import process. When the status is Completed the resource is imported and ready for use.
sourcepub fn failure_reasons(self, input: impl Into<String>) -> Self
pub fn failure_reasons(self, input: impl Into<String>) -> Self
Appends an item to failure_reasons.
To override the contents of this collection use set_failure_reasons.
If the importStatus field is Failed, this provides one or more reasons for the failure.
sourcepub fn set_failure_reasons(self, input: Option<Vec<String>>) -> Self
pub fn set_failure_reasons(self, input: Option<Vec<String>>) -> Self
If the importStatus field is Failed, this provides one or more reasons for the failure.
sourcepub fn get_failure_reasons(&self) -> &Option<Vec<String>>
pub fn get_failure_reasons(&self) -> &Option<Vec<String>>
If the importStatus field is Failed, this provides one or more reasons for the failure.
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 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 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 was created.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
The date and time that the import was last updated.
sourcepub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
The date and time that the import was last updated.
sourcepub fn get_last_updated_date_time(&self) -> &Option<DateTime>
pub fn get_last_updated_date_time(&self) -> &Option<DateTime>
The date and time that the import was last updated.
sourcepub fn build(self) -> DescribeImportOutput
pub fn build(self) -> DescribeImportOutput
Consumes the builder and constructs a DescribeImportOutput.
Trait Implementations§
source§impl Clone for DescribeImportOutputBuilder
impl Clone for DescribeImportOutputBuilder
source§fn clone(&self) -> DescribeImportOutputBuilder
fn clone(&self) -> DescribeImportOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeImportOutputBuilder
impl Debug for DescribeImportOutputBuilder
source§impl Default for DescribeImportOutputBuilder
impl Default for DescribeImportOutputBuilder
source§fn default() -> DescribeImportOutputBuilder
fn default() -> DescribeImportOutputBuilder
impl StructuralPartialEq for DescribeImportOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeImportOutputBuilder
impl RefUnwindSafe for DescribeImportOutputBuilder
impl Send for DescribeImportOutputBuilder
impl Sync for DescribeImportOutputBuilder
impl Unpin for DescribeImportOutputBuilder
impl UnwindSafe for DescribeImportOutputBuilder
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