Struct aws_sdk_lexmodelsv2::input::create_export_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for CreateExportInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn resource_specification(self, input: ExportResourceSpecification) -> Self
pub fn resource_specification(self, input: ExportResourceSpecification) -> Self
Specifies the type of resource to export, either a bot or a bot locale. You can only specify one type of resource to export.
sourcepub fn set_resource_specification(
self,
input: Option<ExportResourceSpecification>
) -> Self
pub fn set_resource_specification(
self,
input: Option<ExportResourceSpecification>
) -> Self
Specifies the type of resource to export, either a bot or a bot locale. You can only specify one type of resource to export.
sourcepub fn file_format(self, input: ImportExportFileFormat) -> Self
pub fn file_format(self, input: ImportExportFileFormat) -> Self
The file format of 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 of the bot or bot locale definition files.
sourcepub fn file_password(self, input: impl Into<String>) -> Self
pub fn file_password(self, input: impl Into<String>) -> Self
An password to use to encrypt the exported archive. Using a password is optional, but you should encrypt the archive to protect the data in transit between Amazon Lex and your local computer.
sourcepub fn set_file_password(self, input: Option<String>) -> Self
pub fn set_file_password(self, input: Option<String>) -> Self
An password to use to encrypt the exported archive. Using a password is optional, but you should encrypt the archive to protect the data in transit between Amazon Lex and your local computer.
sourcepub fn build(self) -> Result<CreateExportInput, BuildError>
pub fn build(self) -> Result<CreateExportInput, BuildError>
Consumes the builder and constructs a CreateExportInput.