Struct aws_sdk_translate::operation::import_terminology::builders::ImportTerminologyInputBuilder
source · #[non_exhaustive]pub struct ImportTerminologyInputBuilder { /* private fields */ }
Expand description
A builder for ImportTerminologyInput
.
Implementations§
source§impl ImportTerminologyInputBuilder
impl ImportTerminologyInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the custom terminology being imported.
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 custom terminology being imported.
sourcepub fn merge_strategy(self, input: MergeStrategy) -> Self
pub fn merge_strategy(self, input: MergeStrategy) -> Self
The merge strategy of the custom terminology being imported. Currently, only the OVERWRITE merge strategy is supported. In this case, the imported terminology will overwrite an existing terminology of the same name.
This field is required.sourcepub fn set_merge_strategy(self, input: Option<MergeStrategy>) -> Self
pub fn set_merge_strategy(self, input: Option<MergeStrategy>) -> Self
The merge strategy of the custom terminology being imported. Currently, only the OVERWRITE merge strategy is supported. In this case, the imported terminology will overwrite an existing terminology of the same name.
sourcepub fn get_merge_strategy(&self) -> &Option<MergeStrategy>
pub fn get_merge_strategy(&self) -> &Option<MergeStrategy>
The merge strategy of the custom terminology being imported. Currently, only the OVERWRITE merge strategy is supported. In this case, the imported terminology will overwrite an existing terminology of the same name.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the custom terminology being imported.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the custom terminology being imported.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the custom terminology being imported.
sourcepub fn terminology_data(self, input: TerminologyData) -> Self
pub fn terminology_data(self, input: TerminologyData) -> Self
The terminology data for the custom terminology being imported.
This field is required.sourcepub fn set_terminology_data(self, input: Option<TerminologyData>) -> Self
pub fn set_terminology_data(self, input: Option<TerminologyData>) -> Self
The terminology data for the custom terminology being imported.
sourcepub fn get_terminology_data(&self) -> &Option<TerminologyData>
pub fn get_terminology_data(&self) -> &Option<TerminologyData>
The terminology data for the custom terminology being imported.
sourcepub fn encryption_key(self, input: EncryptionKey) -> Self
pub fn encryption_key(self, input: EncryptionKey) -> Self
The encryption key for the custom terminology being imported.
sourcepub fn set_encryption_key(self, input: Option<EncryptionKey>) -> Self
pub fn set_encryption_key(self, input: Option<EncryptionKey>) -> Self
The encryption key for the custom terminology being imported.
sourcepub fn get_encryption_key(&self) -> &Option<EncryptionKey>
pub fn get_encryption_key(&self) -> &Option<EncryptionKey>
The encryption key for the custom terminology being imported.
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<ImportTerminologyInput, BuildError>
pub fn build(self) -> Result<ImportTerminologyInput, BuildError>
Consumes the builder and constructs a ImportTerminologyInput
.
source§impl ImportTerminologyInputBuilder
impl ImportTerminologyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ImportTerminologyOutput, SdkError<ImportTerminologyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ImportTerminologyOutput, SdkError<ImportTerminologyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ImportTerminologyInputBuilder
impl Clone for ImportTerminologyInputBuilder
source§fn clone(&self) -> ImportTerminologyInputBuilder
fn clone(&self) -> ImportTerminologyInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ImportTerminologyInputBuilder
impl Default for ImportTerminologyInputBuilder
source§fn default() -> ImportTerminologyInputBuilder
fn default() -> ImportTerminologyInputBuilder
source§impl PartialEq for ImportTerminologyInputBuilder
impl PartialEq for ImportTerminologyInputBuilder
source§fn eq(&self, other: &ImportTerminologyInputBuilder) -> bool
fn eq(&self, other: &ImportTerminologyInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImportTerminologyInputBuilder
Auto Trait Implementations§
impl Freeze for ImportTerminologyInputBuilder
impl RefUnwindSafe for ImportTerminologyInputBuilder
impl Send for ImportTerminologyInputBuilder
impl Sync for ImportTerminologyInputBuilder
impl Unpin for ImportTerminologyInputBuilder
impl UnwindSafe for ImportTerminologyInputBuilder
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