Struct aws_sdk_translate::input::CreateParallelDataInput
source · [−]#[non_exhaustive]pub struct CreateParallelDataInput {
pub name: Option<String>,
pub description: Option<String>,
pub parallel_data_config: Option<ParallelDataConfig>,
pub encryption_key: Option<EncryptionKey>,
pub client_token: Option<String>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: 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.
description: Option<String>A custom description for the parallel data resource in Amazon Translate.
parallel_data_config: Option<ParallelDataConfig>Specifies the format and S3 location of the parallel data input file.
encryption_key: Option<EncryptionKey>The encryption key used to encrypt this object.
client_token: Option<String>A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.
Implementations
sourceimpl CreateParallelDataInput
impl CreateParallelDataInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateParallelData, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateParallelData, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateParallelData>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateParallelDataInput
sourceimpl CreateParallelDataInput
impl CreateParallelDataInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
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) -> Option<&str>
pub fn description(&self) -> Option<&str>
A custom description for the parallel data resource in Amazon Translate.
sourcepub fn parallel_data_config(&self) -> Option<&ParallelDataConfig>
pub fn parallel_data_config(&self) -> Option<&ParallelDataConfig>
Specifies the format and S3 location of the parallel data input file.
sourcepub fn encryption_key(&self) -> Option<&EncryptionKey>
pub fn encryption_key(&self) -> Option<&EncryptionKey>
The encryption key used to encrypt this object.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.
Trait Implementations
sourceimpl Clone for CreateParallelDataInput
impl Clone for CreateParallelDataInput
sourcefn clone(&self) -> CreateParallelDataInput
fn clone(&self) -> CreateParallelDataInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CreateParallelDataInput
impl Debug for CreateParallelDataInput
sourceimpl PartialEq<CreateParallelDataInput> for CreateParallelDataInput
impl PartialEq<CreateParallelDataInput> for CreateParallelDataInput
sourcefn eq(&self, other: &CreateParallelDataInput) -> bool
fn eq(&self, other: &CreateParallelDataInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CreateParallelDataInput) -> bool
fn ne(&self, other: &CreateParallelDataInput) -> bool
This method tests for !=.
impl StructuralPartialEq for CreateParallelDataInput
Auto Trait Implementations
impl RefUnwindSafe for CreateParallelDataInput
impl Send for CreateParallelDataInput
impl Sync for CreateParallelDataInput
impl Unpin for CreateParallelDataInput
impl UnwindSafe for CreateParallelDataInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more