#[non_exhaustive]pub struct CreateExportInputBuilder { /* private fields */ }
Expand description
A builder for CreateExportInput
.
Implementations§
source§impl CreateExportInputBuilder
impl CreateExportInputBuilder
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.
This field is required.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 get_resource_specification(&self) -> &Option<ExportResourceSpecification>
pub fn get_resource_specification(&self) -> &Option<ExportResourceSpecification>
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.
This field is required.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 get_file_format(&self) -> &Option<ImportExportFileFormat>
pub fn get_file_format(&self) -> &Option<ImportExportFileFormat>
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 get_file_password(&self) -> &Option<String>
pub fn get_file_password(&self) -> &Option<String>
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
.
source§impl CreateExportInputBuilder
impl CreateExportInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateExportOutput, SdkError<CreateExportError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateExportOutput, SdkError<CreateExportError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateExportInputBuilder
impl Clone for CreateExportInputBuilder
source§fn clone(&self) -> CreateExportInputBuilder
fn clone(&self) -> CreateExportInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateExportInputBuilder
impl Debug for CreateExportInputBuilder
source§impl Default for CreateExportInputBuilder
impl Default for CreateExportInputBuilder
source§fn default() -> CreateExportInputBuilder
fn default() -> CreateExportInputBuilder
source§impl PartialEq for CreateExportInputBuilder
impl PartialEq for CreateExportInputBuilder
source§fn eq(&self, other: &CreateExportInputBuilder) -> bool
fn eq(&self, other: &CreateExportInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.