#[non_exhaustive]pub struct GetTerminologyOutputBuilder { /* private fields */ }
Expand description
A builder for GetTerminologyOutput
.
Implementations§
source§impl GetTerminologyOutputBuilder
impl GetTerminologyOutputBuilder
sourcepub fn terminology_properties(self, input: TerminologyProperties) -> Self
pub fn terminology_properties(self, input: TerminologyProperties) -> Self
The properties of the custom terminology being retrieved.
sourcepub fn set_terminology_properties(
self,
input: Option<TerminologyProperties>
) -> Self
pub fn set_terminology_properties( self, input: Option<TerminologyProperties> ) -> Self
The properties of the custom terminology being retrieved.
sourcepub fn get_terminology_properties(&self) -> &Option<TerminologyProperties>
pub fn get_terminology_properties(&self) -> &Option<TerminologyProperties>
The properties of the custom terminology being retrieved.
sourcepub fn terminology_data_location(self, input: TerminologyDataLocation) -> Self
pub fn terminology_data_location(self, input: TerminologyDataLocation) -> Self
The Amazon S3 location of the most recent custom terminology input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30-minute expiration.
Amazon Translate doesn't scan all input files for the risk of CSV injection attacks.
CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it.
Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.
sourcepub fn set_terminology_data_location(
self,
input: Option<TerminologyDataLocation>
) -> Self
pub fn set_terminology_data_location( self, input: Option<TerminologyDataLocation> ) -> Self
The Amazon S3 location of the most recent custom terminology input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30-minute expiration.
Amazon Translate doesn't scan all input files for the risk of CSV injection attacks.
CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it.
Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.
sourcepub fn get_terminology_data_location(&self) -> &Option<TerminologyDataLocation>
pub fn get_terminology_data_location(&self) -> &Option<TerminologyDataLocation>
The Amazon S3 location of the most recent custom terminology input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30-minute expiration.
Amazon Translate doesn't scan all input files for the risk of CSV injection attacks.
CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it.
Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.
sourcepub fn auxiliary_data_location(self, input: TerminologyDataLocation) -> Self
pub fn auxiliary_data_location(self, input: TerminologyDataLocation) -> Self
The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to create a terminology resource. The location is returned as a presigned URL to that has a 30-minute expiration.
sourcepub fn set_auxiliary_data_location(
self,
input: Option<TerminologyDataLocation>
) -> Self
pub fn set_auxiliary_data_location( self, input: Option<TerminologyDataLocation> ) -> Self
The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to create a terminology resource. The location is returned as a presigned URL to that has a 30-minute expiration.
sourcepub fn get_auxiliary_data_location(&self) -> &Option<TerminologyDataLocation>
pub fn get_auxiliary_data_location(&self) -> &Option<TerminologyDataLocation>
The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to create a terminology resource. The location is returned as a presigned URL to that has a 30-minute expiration.
sourcepub fn build(self) -> GetTerminologyOutput
pub fn build(self) -> GetTerminologyOutput
Consumes the builder and constructs a GetTerminologyOutput
.
Trait Implementations§
source§impl Clone for GetTerminologyOutputBuilder
impl Clone for GetTerminologyOutputBuilder
source§fn clone(&self) -> GetTerminologyOutputBuilder
fn clone(&self) -> GetTerminologyOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetTerminologyOutputBuilder
impl Debug for GetTerminologyOutputBuilder
source§impl Default for GetTerminologyOutputBuilder
impl Default for GetTerminologyOutputBuilder
source§fn default() -> GetTerminologyOutputBuilder
fn default() -> GetTerminologyOutputBuilder
source§impl PartialEq for GetTerminologyOutputBuilder
impl PartialEq for GetTerminologyOutputBuilder
source§fn eq(&self, other: &GetTerminologyOutputBuilder) -> bool
fn eq(&self, other: &GetTerminologyOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetTerminologyOutputBuilder
Auto Trait Implementations§
impl Freeze for GetTerminologyOutputBuilder
impl RefUnwindSafe for GetTerminologyOutputBuilder
impl Send for GetTerminologyOutputBuilder
impl Sync for GetTerminologyOutputBuilder
impl Unpin for GetTerminologyOutputBuilder
impl UnwindSafe for GetTerminologyOutputBuilder
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