#[non_exhaustive]pub struct PiiOutputDataConfigBuilder { /* private fields */ }Expand description
A builder for PiiOutputDataConfig.
Implementations§
source§impl PiiOutputDataConfigBuilder
impl PiiOutputDataConfigBuilder
sourcepub fn s3_uri(self, input: impl Into<String>) -> Self
pub fn s3_uri(self, input: impl Into<String>) -> Self
When you use the PiiOutputDataConfig object with asynchronous operations, you specify the Amazon S3 location where you want to write the output data.
For a PII entity detection job, the output file is plain text, not a compressed archive. The output file name is the same as the input file, with .out appended at the end.
sourcepub fn set_s3_uri(self, input: Option<String>) -> Self
pub fn set_s3_uri(self, input: Option<String>) -> Self
When you use the PiiOutputDataConfig object with asynchronous operations, you specify the Amazon S3 location where you want to write the output data.
For a PII entity detection job, the output file is plain text, not a compressed archive. The output file name is the same as the input file, with .out appended at the end.
sourcepub fn get_s3_uri(&self) -> &Option<String>
pub fn get_s3_uri(&self) -> &Option<String>
When you use the PiiOutputDataConfig object with asynchronous operations, you specify the Amazon S3 location where you want to write the output data.
For a PII entity detection job, the output file is plain text, not a compressed archive. The output file name is the same as the input file, with .out appended at the end.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job.
sourcepub fn build(self) -> Result<PiiOutputDataConfig, BuildError>
pub fn build(self) -> Result<PiiOutputDataConfig, BuildError>
Consumes the builder and constructs a PiiOutputDataConfig.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PiiOutputDataConfigBuilder
impl Clone for PiiOutputDataConfigBuilder
source§fn clone(&self) -> PiiOutputDataConfigBuilder
fn clone(&self) -> PiiOutputDataConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PiiOutputDataConfigBuilder
impl Debug for PiiOutputDataConfigBuilder
source§impl Default for PiiOutputDataConfigBuilder
impl Default for PiiOutputDataConfigBuilder
source§fn default() -> PiiOutputDataConfigBuilder
fn default() -> PiiOutputDataConfigBuilder
source§impl PartialEq for PiiOutputDataConfigBuilder
impl PartialEq for PiiOutputDataConfigBuilder
source§fn eq(&self, other: &PiiOutputDataConfigBuilder) -> bool
fn eq(&self, other: &PiiOutputDataConfigBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PiiOutputDataConfigBuilder
Auto Trait Implementations§
impl Freeze for PiiOutputDataConfigBuilder
impl RefUnwindSafe for PiiOutputDataConfigBuilder
impl Send for PiiOutputDataConfigBuilder
impl Sync for PiiOutputDataConfigBuilder
impl Unpin for PiiOutputDataConfigBuilder
impl UnwindSafe for PiiOutputDataConfigBuilder
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