Struct aws_sdk_lexmodelsv2::output::create_export_output::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for CreateExportOutput.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn export_id(self, input: impl Into<String>) -> Self
pub fn export_id(self, input: impl Into<String>) -> Self
An identifier for a specific request to create an export.
sourcepub fn set_export_id(self, input: Option<String>) -> Self
pub fn set_export_id(self, input: Option<String>) -> Self
An identifier for a specific request to create an export.
sourcepub fn resource_specification(self, input: ExportResourceSpecification) -> Self
pub fn resource_specification(self, input: ExportResourceSpecification) -> Self
A description of the type of resource that was exported, either a bot or a bot locale.
sourcepub fn set_resource_specification(
self,
input: Option<ExportResourceSpecification>
) -> Self
pub fn set_resource_specification(
self,
input: Option<ExportResourceSpecification>
) -> Self
A description of the type of resource that was exported, either a bot or a bot locale.
sourcepub fn file_format(self, input: ImportExportFileFormat) -> Self
pub fn file_format(self, input: ImportExportFileFormat) -> Self
The file format used for the bot or bot locale definition files.
sourcepub fn set_file_format(self, input: Option<ImportExportFileFormat>) -> Self
pub fn set_file_format(self, input: Option<ImportExportFileFormat>) -> Self
The file format used for the bot or bot locale definition files.
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 Completed, you can use the DescribeExport operation to get the pre-signed S3 URL link to your exported bot or bot locale.
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 Completed, you can use the DescribeExport operation to get the pre-signed S3 URL link to your exported bot or bot locale.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The date and time that the request to export a bot 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 request to export a bot was created.
sourcepub fn build(self) -> CreateExportOutput
pub fn build(self) -> CreateExportOutput
Consumes the builder and constructs a CreateExportOutput.