Struct aws_sdk_translate::operation::update_parallel_data::builders::UpdateParallelDataInputBuilder
source · #[non_exhaustive]pub struct UpdateParallelDataInputBuilder { /* private fields */ }Expand description
A builder for UpdateParallelDataInput.
Implementations§
source§impl UpdateParallelDataInputBuilder
impl UpdateParallelDataInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the parallel data resource being updated.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the parallel data resource being updated.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the parallel data resource being updated.
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 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.
sourcepub fn build(self) -> Result<UpdateParallelDataInput, BuildError>
pub fn build(self) -> Result<UpdateParallelDataInput, BuildError>
Consumes the builder and constructs a UpdateParallelDataInput.
source§impl UpdateParallelDataInputBuilder
impl UpdateParallelDataInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateParallelDataOutput, SdkError<UpdateParallelDataError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateParallelDataOutput, SdkError<UpdateParallelDataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateParallelDataInputBuilder
impl Clone for UpdateParallelDataInputBuilder
source§fn clone(&self) -> UpdateParallelDataInputBuilder
fn clone(&self) -> UpdateParallelDataInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateParallelDataInputBuilder
impl Default for UpdateParallelDataInputBuilder
source§fn default() -> UpdateParallelDataInputBuilder
fn default() -> UpdateParallelDataInputBuilder
source§impl PartialEq for UpdateParallelDataInputBuilder
impl PartialEq for UpdateParallelDataInputBuilder
source§fn eq(&self, other: &UpdateParallelDataInputBuilder) -> bool
fn eq(&self, other: &UpdateParallelDataInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateParallelDataInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateParallelDataInputBuilder
impl RefUnwindSafe for UpdateParallelDataInputBuilder
impl Send for UpdateParallelDataInputBuilder
impl Sync for UpdateParallelDataInputBuilder
impl Unpin for UpdateParallelDataInputBuilder
impl UnwindSafe for UpdateParallelDataInputBuilder
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