#[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§
source§impl 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.
source§impl StartImportInput
impl StartImportInput
sourcepub fn builder() -> StartImportInputBuilder
pub fn builder() -> StartImportInputBuilder
Creates a new builder-style object to manufacture StartImportInput.
Trait Implementations§
source§impl Clone for StartImportInput
impl Clone for StartImportInput
source§fn clone(&self) -> StartImportInput
fn clone(&self) -> StartImportInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StartImportInput
impl Debug for StartImportInput
source§impl PartialEq for StartImportInput
impl PartialEq for StartImportInput
source§fn eq(&self, other: &StartImportInput) -> bool
fn eq(&self, other: &StartImportInput) -> bool
self and other values to be equal, and is used
by ==.