#[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 ==
.