#[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>,
pub tags: Option<Vec<Tag>>,
}
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.
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.
Implementations§
source§impl 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.
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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateParallelDataInput
impl CreateParallelDataInput
sourcepub fn builder() -> CreateParallelDataInputBuilder
pub fn builder() -> CreateParallelDataInputBuilder
Creates a new builder-style object to manufacture CreateParallelDataInput
.
Trait Implementations§
source§impl Clone for CreateParallelDataInput
impl Clone for CreateParallelDataInput
source§fn clone(&self) -> CreateParallelDataInput
fn clone(&self) -> CreateParallelDataInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateParallelDataInput
impl Debug for CreateParallelDataInput
source§impl PartialEq for CreateParallelDataInput
impl PartialEq for CreateParallelDataInput
source§fn eq(&self, other: &CreateParallelDataInput) -> bool
fn eq(&self, other: &CreateParallelDataInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateParallelDataInput
Auto Trait Implementations§
impl Freeze for CreateParallelDataInput
impl RefUnwindSafe for CreateParallelDataInput
impl Send for CreateParallelDataInput
impl Sync for CreateParallelDataInput
impl Unpin for CreateParallelDataInput
impl UnwindSafe for CreateParallelDataInput
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