Struct aws_sdk_translate::operation::create_parallel_data::builders::CreateParallelDataInputBuilder
source · #[non_exhaustive]pub struct CreateParallelDataInputBuilder { /* private fields */ }
Expand description
A builder for CreateParallelDataInput
.
Implementations§
source§impl CreateParallelDataInputBuilder
impl CreateParallelDataInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A custom name for the parallel data resource in Amazon Translate. You must assign a name that is unique in the account and region.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A custom name for the parallel data resource in Amazon Translate. You must assign a name that is unique in the account and region.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
A custom name for the parallel data resource in Amazon Translate. You must assign a name that is unique in the account and region.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A custom description for the parallel data resource in Amazon Translate.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A custom description for the parallel data resource in Amazon Translate.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A custom description for the parallel data resource in Amazon Translate.
sourcepub fn parallel_data_config(self, input: ParallelDataConfig) -> Self
pub fn parallel_data_config(self, input: ParallelDataConfig) -> Self
Specifies the format and S3 location of the parallel data input file.
This field is required.sourcepub fn set_parallel_data_config(self, input: Option<ParallelDataConfig>) -> Self
pub fn set_parallel_data_config(self, input: Option<ParallelDataConfig>) -> Self
Specifies the format and S3 location of the parallel data input file.
sourcepub fn get_parallel_data_config(&self) -> &Option<ParallelDataConfig>
pub fn get_parallel_data_config(&self) -> &Option<ParallelDataConfig>
Specifies the format and S3 location of the parallel data input file.
sourcepub fn encryption_key(self, input: EncryptionKey) -> Self
pub fn encryption_key(self, input: EncryptionKey) -> Self
The encryption key used to encrypt this object.
sourcepub fn set_encryption_key(self, input: Option<EncryptionKey>) -> Self
pub fn set_encryption_key(self, input: Option<EncryptionKey>) -> Self
The encryption key used to encrypt this object.
sourcepub fn get_encryption_key(&self) -> &Option<EncryptionKey>
pub fn get_encryption_key(&self) -> &Option<EncryptionKey>
The encryption key used to encrypt this object.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.
This field is required.sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.
Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.
Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.
sourcepub fn build(self) -> Result<CreateParallelDataInput, BuildError>
pub fn build(self) -> Result<CreateParallelDataInput, BuildError>
Consumes the builder and constructs a CreateParallelDataInput
.
source§impl CreateParallelDataInputBuilder
impl CreateParallelDataInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateParallelDataOutput, SdkError<CreateParallelDataError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateParallelDataOutput, SdkError<CreateParallelDataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateParallelDataInputBuilder
impl Clone for CreateParallelDataInputBuilder
source§fn clone(&self) -> CreateParallelDataInputBuilder
fn clone(&self) -> CreateParallelDataInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateParallelDataInputBuilder
impl Default for CreateParallelDataInputBuilder
source§fn default() -> CreateParallelDataInputBuilder
fn default() -> CreateParallelDataInputBuilder
source§impl PartialEq for CreateParallelDataInputBuilder
impl PartialEq for CreateParallelDataInputBuilder
source§fn eq(&self, other: &CreateParallelDataInputBuilder) -> bool
fn eq(&self, other: &CreateParallelDataInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateParallelDataInputBuilder
Auto Trait Implementations§
impl Freeze for CreateParallelDataInputBuilder
impl RefUnwindSafe for CreateParallelDataInputBuilder
impl Send for CreateParallelDataInputBuilder
impl Sync for CreateParallelDataInputBuilder
impl Unpin for CreateParallelDataInputBuilder
impl UnwindSafe for CreateParallelDataInputBuilder
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