Struct aws_sdk_lexmodelsv2::input::StartImportInput
source · [−]#[non_exhaustive]pub struct StartImportInput {
pub import_id: Option<String>,
pub resource_specification: Option<ImportResourceSpecification>,
pub merge_strategy: Option<MergeStrategy>,
pub file_password: Option<String>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.import_id: Option<String>The unique identifier for the import. It is included in the response from the CreateUploadUrl operation.
resource_specification: Option<ImportResourceSpecification>Parameters for creating the bot, bot locale or custom vocabulary.
merge_strategy: Option<MergeStrategy>The strategy to use when there is 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.
file_password: Option<String>The password used to encrypt the zip archive that contains the resource definition. You should always encrypt the zip archive to protect it during transit between your site and Amazon Lex.
Implementations
sourceimpl StartImportInput
impl StartImportInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartImport, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartImport, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StartImport>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartImportInput
sourceimpl StartImportInput
impl StartImportInput
sourcepub fn import_id(&self) -> Option<&str>
pub fn import_id(&self) -> Option<&str>
The unique identifier for the import. It is included in the response from the CreateUploadUrl operation.
sourcepub fn resource_specification(&self) -> Option<&ImportResourceSpecification>
pub fn resource_specification(&self) -> Option<&ImportResourceSpecification>
Parameters for creating the bot, bot locale or custom vocabulary.
sourcepub fn merge_strategy(&self) -> Option<&MergeStrategy>
pub fn merge_strategy(&self) -> Option<&MergeStrategy>
The strategy to use when there is 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 file_password(&self) -> Option<&str>
pub fn file_password(&self) -> Option<&str>
The password used to encrypt the zip archive that contains the resource definition. You should always encrypt the zip archive to protect it during transit between your site and Amazon Lex.
Trait Implementations
sourceimpl Clone for StartImportInput
impl Clone for StartImportInput
sourcefn clone(&self) -> StartImportInput
fn clone(&self) -> StartImportInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for StartImportInput
impl Debug for StartImportInput
sourceimpl PartialEq<StartImportInput> for StartImportInput
impl PartialEq<StartImportInput> for StartImportInput
sourcefn eq(&self, other: &StartImportInput) -> bool
fn eq(&self, other: &StartImportInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &StartImportInput) -> bool
fn ne(&self, other: &StartImportInput) -> bool
This method tests for !=.
impl StructuralPartialEq for StartImportInput
Auto Trait Implementations
impl RefUnwindSafe for StartImportInput
impl Send for StartImportInput
impl Sync for StartImportInput
impl Unpin for StartImportInput
impl UnwindSafe for StartImportInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more