#[non_exhaustive]pub struct PiiEntitiesDetectionJobPropertiesBuilder { /* private fields */ }Expand description
A builder for PiiEntitiesDetectionJobProperties.
Implementations§
source§impl PiiEntitiesDetectionJobPropertiesBuilder
impl PiiEntitiesDetectionJobPropertiesBuilder
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The identifier assigned to the PII entities detection job.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The identifier assigned to the PII entities detection job.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The identifier assigned to the PII entities detection job.
sourcepub fn job_arn(self, input: impl Into<String>) -> Self
pub fn job_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the PII entities detection job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
arn:
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:pii-entities-detection-job/1234abcd12ab34cd56ef1234567890ab
sourcepub fn set_job_arn(self, input: Option<String>) -> Self
pub fn set_job_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the PII entities detection job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
arn:
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:pii-entities-detection-job/1234abcd12ab34cd56ef1234567890ab
sourcepub fn get_job_arn(&self) -> &Option<String>
pub fn get_job_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the PII entities detection job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
arn:
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:pii-entities-detection-job/1234abcd12ab34cd56ef1234567890ab
sourcepub fn job_name(self, input: impl Into<String>) -> Self
pub fn job_name(self, input: impl Into<String>) -> Self
The name that you assigned the PII entities detection job.
sourcepub fn set_job_name(self, input: Option<String>) -> Self
pub fn set_job_name(self, input: Option<String>) -> Self
The name that you assigned the PII entities detection job.
sourcepub fn get_job_name(&self) -> &Option<String>
pub fn get_job_name(&self) -> &Option<String>
The name that you assigned the PII entities detection job.
sourcepub fn job_status(self, input: JobStatus) -> Self
pub fn job_status(self, input: JobStatus) -> Self
The current status of the PII entities detection job. If the status is FAILED, the Message field shows the reason for the failure.
sourcepub fn set_job_status(self, input: Option<JobStatus>) -> Self
pub fn set_job_status(self, input: Option<JobStatus>) -> Self
The current status of the PII entities detection job. If the status is FAILED, the Message field shows the reason for the failure.
sourcepub fn get_job_status(&self) -> &Option<JobStatus>
pub fn get_job_status(&self) -> &Option<JobStatus>
The current status of the PII entities detection job. If the status is FAILED, the Message field shows the reason for the failure.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
A description of the status of a job.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
A description of the status of a job.
sourcepub fn submit_time(self, input: DateTime) -> Self
pub fn submit_time(self, input: DateTime) -> Self
The time that the PII entities detection job was submitted for processing.
sourcepub fn set_submit_time(self, input: Option<DateTime>) -> Self
pub fn set_submit_time(self, input: Option<DateTime>) -> Self
The time that the PII entities detection job was submitted for processing.
sourcepub fn get_submit_time(&self) -> &Option<DateTime>
pub fn get_submit_time(&self) -> &Option<DateTime>
The time that the PII entities detection job was submitted for processing.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The time that the PII entities detection job completed.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The time that the PII entities detection job completed.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The time that the PII entities detection job completed.
sourcepub fn input_data_config(self, input: InputDataConfig) -> Self
pub fn input_data_config(self, input: InputDataConfig) -> Self
The input properties for a PII entities detection job.
sourcepub fn set_input_data_config(self, input: Option<InputDataConfig>) -> Self
pub fn set_input_data_config(self, input: Option<InputDataConfig>) -> Self
The input properties for a PII entities detection job.
sourcepub fn get_input_data_config(&self) -> &Option<InputDataConfig>
pub fn get_input_data_config(&self) -> &Option<InputDataConfig>
The input properties for a PII entities detection job.
sourcepub fn output_data_config(self, input: PiiOutputDataConfig) -> Self
pub fn output_data_config(self, input: PiiOutputDataConfig) -> Self
The output data configuration that you supplied when you created the PII entities detection job.
sourcepub fn set_output_data_config(self, input: Option<PiiOutputDataConfig>) -> Self
pub fn set_output_data_config(self, input: Option<PiiOutputDataConfig>) -> Self
The output data configuration that you supplied when you created the PII entities detection job.
sourcepub fn get_output_data_config(&self) -> &Option<PiiOutputDataConfig>
pub fn get_output_data_config(&self) -> &Option<PiiOutputDataConfig>
The output data configuration that you supplied when you created the PII entities detection job.
sourcepub fn redaction_config(self, input: RedactionConfig) -> Self
pub fn redaction_config(self, input: RedactionConfig) -> Self
Provides configuration parameters for PII entity redaction.
This parameter is required if you set the Mode parameter to ONLY_REDACTION. In that case, you must provide a RedactionConfig definition that includes the PiiEntityTypes parameter.
sourcepub fn set_redaction_config(self, input: Option<RedactionConfig>) -> Self
pub fn set_redaction_config(self, input: Option<RedactionConfig>) -> Self
Provides configuration parameters for PII entity redaction.
This parameter is required if you set the Mode parameter to ONLY_REDACTION. In that case, you must provide a RedactionConfig definition that includes the PiiEntityTypes parameter.
sourcepub fn get_redaction_config(&self) -> &Option<RedactionConfig>
pub fn get_redaction_config(&self) -> &Option<RedactionConfig>
Provides configuration parameters for PII entity redaction.
This parameter is required if you set the Mode parameter to ONLY_REDACTION. In that case, you must provide a RedactionConfig definition that includes the PiiEntityTypes parameter.
sourcepub fn language_code(self, input: LanguageCode) -> Self
pub fn language_code(self, input: LanguageCode) -> Self
The language code of the input documents
sourcepub fn set_language_code(self, input: Option<LanguageCode>) -> Self
pub fn set_language_code(self, input: Option<LanguageCode>) -> Self
The language code of the input documents
sourcepub fn get_language_code(&self) -> &Option<LanguageCode>
pub fn get_language_code(&self) -> &Option<LanguageCode>
The language code of the input documents
sourcepub fn data_access_role_arn(self, input: impl Into<String>) -> Self
pub fn data_access_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
sourcepub fn set_data_access_role_arn(self, input: Option<String>) -> Self
pub fn set_data_access_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
sourcepub fn get_data_access_role_arn(&self) -> &Option<String>
pub fn get_data_access_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
sourcepub fn mode(self, input: PiiEntitiesDetectionMode) -> Self
pub fn mode(self, input: PiiEntitiesDetectionMode) -> Self
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.
sourcepub fn set_mode(self, input: Option<PiiEntitiesDetectionMode>) -> Self
pub fn set_mode(self, input: Option<PiiEntitiesDetectionMode>) -> Self
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.
sourcepub fn get_mode(&self) -> &Option<PiiEntitiesDetectionMode>
pub fn get_mode(&self) -> &Option<PiiEntitiesDetectionMode>
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.
sourcepub fn build(self) -> PiiEntitiesDetectionJobProperties
pub fn build(self) -> PiiEntitiesDetectionJobProperties
Consumes the builder and constructs a PiiEntitiesDetectionJobProperties.
Trait Implementations§
source§impl Clone for PiiEntitiesDetectionJobPropertiesBuilder
impl Clone for PiiEntitiesDetectionJobPropertiesBuilder
source§fn clone(&self) -> PiiEntitiesDetectionJobPropertiesBuilder
fn clone(&self) -> PiiEntitiesDetectionJobPropertiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PiiEntitiesDetectionJobPropertiesBuilder
impl Default for PiiEntitiesDetectionJobPropertiesBuilder
source§fn default() -> PiiEntitiesDetectionJobPropertiesBuilder
fn default() -> PiiEntitiesDetectionJobPropertiesBuilder
source§impl PartialEq for PiiEntitiesDetectionJobPropertiesBuilder
impl PartialEq for PiiEntitiesDetectionJobPropertiesBuilder
source§fn eq(&self, other: &PiiEntitiesDetectionJobPropertiesBuilder) -> bool
fn eq(&self, other: &PiiEntitiesDetectionJobPropertiesBuilder) -> bool
self and other values to be equal, and is used
by ==.