Struct aws_sdk_lexmodelsv2::output::start_import_output::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for StartImportOutput.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 build(self) -> StartImportOutput
pub fn build(self) -> StartImportOutput
Consumes the builder and constructs a StartImportOutput.