Struct aws_sdk_lexmodelsv2::operation::describe_export::builders::DescribeExportOutputBuilder
source · #[non_exhaustive]pub struct DescribeExportOutputBuilder { /* private fields */ }Expand description
A builder for DescribeExportOutput.
Implementations§
source§impl DescribeExportOutputBuilder
impl DescribeExportOutputBuilder
sourcepub fn export_id(self, input: impl Into<String>) -> Self
pub fn export_id(self, input: impl Into<String>) -> Self
The unique identifier of the described export.
sourcepub fn set_export_id(self, input: Option<String>) -> Self
pub fn set_export_id(self, input: Option<String>) -> Self
The unique identifier of the described export.
sourcepub fn get_export_id(&self) -> &Option<String>
pub fn get_export_id(&self) -> &Option<String>
The unique identifier of the described export.
sourcepub fn resource_specification(self, input: ExportResourceSpecification) -> Self
pub fn resource_specification(self, input: ExportResourceSpecification) -> Self
The bot, bot ID, and optional locale ID of the exported bot or bot locale.
sourcepub fn set_resource_specification(
self,
input: Option<ExportResourceSpecification>
) -> Self
pub fn set_resource_specification( self, input: Option<ExportResourceSpecification> ) -> Self
The bot, bot ID, and optional locale ID of the exported bot or bot locale.
sourcepub fn get_resource_specification(&self) -> &Option<ExportResourceSpecification>
pub fn get_resource_specification(&self) -> &Option<ExportResourceSpecification>
The bot, bot ID, and optional locale ID of the exported bot or bot locale.
sourcepub fn file_format(self, input: ImportExportFileFormat) -> Self
pub fn file_format(self, input: ImportExportFileFormat) -> Self
The file format used in the files that describe the resource.
sourcepub fn set_file_format(self, input: Option<ImportExportFileFormat>) -> Self
pub fn set_file_format(self, input: Option<ImportExportFileFormat>) -> Self
The file format used in the files that describe the resource.
sourcepub fn get_file_format(&self) -> &Option<ImportExportFileFormat>
pub fn get_file_format(&self) -> &Option<ImportExportFileFormat>
The file format used in the files that describe the resource.
sourcepub fn export_status(self, input: ExportStatus) -> Self
pub fn export_status(self, input: ExportStatus) -> Self
The status of the export. When the status is Complete the export archive file is available for download.
sourcepub fn set_export_status(self, input: Option<ExportStatus>) -> Self
pub fn set_export_status(self, input: Option<ExportStatus>) -> Self
The status of the export. When the status is Complete the export archive file is available for download.
sourcepub fn get_export_status(&self) -> &Option<ExportStatus>
pub fn get_export_status(&self) -> &Option<ExportStatus>
The status of the export. When the status is Complete the export archive file is available for download.
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 exportStatus is failed, contains one or more reasons why the export could not be completed.
sourcepub fn set_failure_reasons(self, input: Option<Vec<String>>) -> Self
pub fn set_failure_reasons(self, input: Option<Vec<String>>) -> Self
If the exportStatus is failed, contains one or more reasons why the export could not be completed.
sourcepub fn get_failure_reasons(&self) -> &Option<Vec<String>>
pub fn get_failure_reasons(&self) -> &Option<Vec<String>>
If the exportStatus is failed, contains one or more reasons why the export could not be completed.
sourcepub fn download_url(self, input: impl Into<String>) -> Self
pub fn download_url(self, input: impl Into<String>) -> Self
A pre-signed S3 URL that points to the bot or bot locale archive. The URL is only available for 5 minutes after calling the DescribeExport operation.
sourcepub fn set_download_url(self, input: Option<String>) -> Self
pub fn set_download_url(self, input: Option<String>) -> Self
A pre-signed S3 URL that points to the bot or bot locale archive. The URL is only available for 5 minutes after calling the DescribeExport operation.
sourcepub fn get_download_url(&self) -> &Option<String>
pub fn get_download_url(&self) -> &Option<String>
A pre-signed S3 URL that points to the bot or bot locale archive. The URL is only available for 5 minutes after calling the DescribeExport operation.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The date and time that the export 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 export 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 export was created.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
The last date and time that the export was 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 last date and time that the export was updated.
sourcepub fn get_last_updated_date_time(&self) -> &Option<DateTime>
pub fn get_last_updated_date_time(&self) -> &Option<DateTime>
The last date and time that the export was updated.
sourcepub fn build(self) -> DescribeExportOutput
pub fn build(self) -> DescribeExportOutput
Consumes the builder and constructs a DescribeExportOutput.
Trait Implementations§
source§impl Clone for DescribeExportOutputBuilder
impl Clone for DescribeExportOutputBuilder
source§fn clone(&self) -> DescribeExportOutputBuilder
fn clone(&self) -> DescribeExportOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeExportOutputBuilder
impl Debug for DescribeExportOutputBuilder
source§impl Default for DescribeExportOutputBuilder
impl Default for DescribeExportOutputBuilder
source§fn default() -> DescribeExportOutputBuilder
fn default() -> DescribeExportOutputBuilder
source§impl PartialEq for DescribeExportOutputBuilder
impl PartialEq for DescribeExportOutputBuilder
source§fn eq(&self, other: &DescribeExportOutputBuilder) -> bool
fn eq(&self, other: &DescribeExportOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.