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 ==
.