Struct aws_sdk_translate::operation::update_parallel_data::builders::UpdateParallelDataFluentBuilder
source · pub struct UpdateParallelDataFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateParallelData
.
Updates a previously created parallel data resource by importing a new input file from Amazon S3.
Implementations§
source§impl UpdateParallelDataFluentBuilder
impl UpdateParallelDataFluentBuilder
sourcepub fn as_input(&self) -> &UpdateParallelDataInputBuilder
pub fn as_input(&self) -> &UpdateParallelDataInputBuilder
Access the UpdateParallelData as a reference.
sourcepub async fn send(
self
) -> Result<UpdateParallelDataOutput, SdkError<UpdateParallelDataError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateParallelDataOutput, SdkError<UpdateParallelDataError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateParallelDataOutput, UpdateParallelDataError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateParallelDataOutput, UpdateParallelDataError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
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.
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.
Trait Implementations§
source§impl Clone for UpdateParallelDataFluentBuilder
impl Clone for UpdateParallelDataFluentBuilder
source§fn clone(&self) -> UpdateParallelDataFluentBuilder
fn clone(&self) -> UpdateParallelDataFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateParallelDataFluentBuilder
impl !RefUnwindSafe for UpdateParallelDataFluentBuilder
impl Send for UpdateParallelDataFluentBuilder
impl Sync for UpdateParallelDataFluentBuilder
impl Unpin for UpdateParallelDataFluentBuilder
impl !UnwindSafe for UpdateParallelDataFluentBuilder
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