#[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 ==
.impl StructuralPartialEq for CreateExportInputBuilder
Auto Trait Implementations§
impl Freeze for CreateExportInputBuilder
impl RefUnwindSafe for CreateExportInputBuilder
impl Send for CreateExportInputBuilder
impl Sync for CreateExportInputBuilder
impl Unpin for CreateExportInputBuilder
impl UnwindSafe for CreateExportInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more