#[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 ==
.