public static interface PiiEntitiesDetectionJobProperties.Builder extends SdkPojo, CopyableBuilder<PiiEntitiesDetectionJobProperties.Builder,PiiEntitiesDetectionJobProperties>
| Modifier and Type | Method and Description |
|---|---|
PiiEntitiesDetectionJobProperties.Builder |
dataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
|
PiiEntitiesDetectionJobProperties.Builder |
endTime(Instant endTime)
The time that the PII entities detection job completed.
|
default PiiEntitiesDetectionJobProperties.Builder |
inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)
The input properties for a PII entities detection job.
|
PiiEntitiesDetectionJobProperties.Builder |
inputDataConfig(InputDataConfig inputDataConfig)
The input properties for a PII entities detection job.
|
PiiEntitiesDetectionJobProperties.Builder |
jobArn(String jobArn)
The Amazon Resource Name (ARN) of the PII entities detection job.
|
PiiEntitiesDetectionJobProperties.Builder |
jobId(String jobId)
The identifier assigned to the PII entities detection job.
|
PiiEntitiesDetectionJobProperties.Builder |
jobName(String jobName)
The name that you assigned the PII entities detection job.
|
PiiEntitiesDetectionJobProperties.Builder |
jobStatus(JobStatus jobStatus)
The current status of the PII entities detection job.
|
PiiEntitiesDetectionJobProperties.Builder |
jobStatus(String jobStatus)
The current status of the PII entities detection job.
|
PiiEntitiesDetectionJobProperties.Builder |
languageCode(LanguageCode languageCode)
The language code of the input documents
|
PiiEntitiesDetectionJobProperties.Builder |
languageCode(String languageCode)
The language code of the input documents
|
PiiEntitiesDetectionJobProperties.Builder |
message(String message)
A description of the status of a job.
|
PiiEntitiesDetectionJobProperties.Builder |
mode(PiiEntitiesDetectionMode mode)
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities
are redacted.
|
PiiEntitiesDetectionJobProperties.Builder |
mode(String mode)
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities
are redacted.
|
default PiiEntitiesDetectionJobProperties.Builder |
outputDataConfig(Consumer<PiiOutputDataConfig.Builder> outputDataConfig)
The output data configuration that you supplied when you created the PII entities detection job.
|
PiiEntitiesDetectionJobProperties.Builder |
outputDataConfig(PiiOutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the PII entities detection job.
|
default PiiEntitiesDetectionJobProperties.Builder |
redactionConfig(Consumer<RedactionConfig.Builder> redactionConfig)
Provides configuration parameters for PII entity redaction.
|
PiiEntitiesDetectionJobProperties.Builder |
redactionConfig(RedactionConfig redactionConfig)
Provides configuration parameters for PII entity redaction.
|
PiiEntitiesDetectionJobProperties.Builder |
submitTime(Instant submitTime)
The time that the PII entities detection job was submitted for processing.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPiiEntitiesDetectionJobProperties.Builder jobId(String jobId)
The identifier assigned to the PII entities detection job.
jobId - The identifier assigned to the PII entities detection job.PiiEntitiesDetectionJobProperties.Builder jobArn(String jobArn)
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:<partition>:comprehend:<region>:<account-id>:pii-entities-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:pii-entities-detection-job/1234abcd12ab34cd56ef1234567890ab
jobArn - 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:<partition>:comprehend:<region>:<account-id>:pii-entities-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:pii-entities-detection-job/1234abcd12ab34cd56ef1234567890ab
PiiEntitiesDetectionJobProperties.Builder jobName(String jobName)
The name that you assigned the PII entities detection job.
jobName - The name that you assigned the PII entities detection job.PiiEntitiesDetectionJobProperties.Builder jobStatus(String jobStatus)
The current status of the PII entities detection job. If the status is FAILED, the
Message field shows the reason for the failure.
PiiEntitiesDetectionJobProperties.Builder jobStatus(JobStatus jobStatus)
The current status of the PII entities detection job. If the status is FAILED, the
Message field shows the reason for the failure.
PiiEntitiesDetectionJobProperties.Builder message(String message)
A description of the status of a job.
message - A description of the status of a job.PiiEntitiesDetectionJobProperties.Builder submitTime(Instant submitTime)
The time that the PII entities detection job was submitted for processing.
submitTime - The time that the PII entities detection job was submitted for processing.PiiEntitiesDetectionJobProperties.Builder endTime(Instant endTime)
The time that the PII entities detection job completed.
endTime - The time that the PII entities detection job completed.PiiEntitiesDetectionJobProperties.Builder inputDataConfig(InputDataConfig inputDataConfig)
The input properties for a PII entities detection job.
inputDataConfig - The input properties for a PII entities detection job.default PiiEntitiesDetectionJobProperties.Builder inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)
The input properties for a PII entities detection job.
This is a convenience method that creates an instance of theInputDataConfig.Builder avoiding the
need to create one manually via InputDataConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to inputDataConfig(InputDataConfig).
inputDataConfig - a consumer that will call methods on InputDataConfig.BuilderinputDataConfig(InputDataConfig)PiiEntitiesDetectionJobProperties.Builder outputDataConfig(PiiOutputDataConfig outputDataConfig)
The output data configuration that you supplied when you created the PII entities detection job.
outputDataConfig - The output data configuration that you supplied when you created the PII entities detection job.default PiiEntitiesDetectionJobProperties.Builder outputDataConfig(Consumer<PiiOutputDataConfig.Builder> outputDataConfig)
The output data configuration that you supplied when you created the PII entities detection job.
This is a convenience method that creates an instance of thePiiOutputDataConfig.Builder avoiding the
need to create one manually via PiiOutputDataConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to outputDataConfig(PiiOutputDataConfig).
outputDataConfig - a consumer that will call methods on PiiOutputDataConfig.BuilderoutputDataConfig(PiiOutputDataConfig)PiiEntitiesDetectionJobProperties.Builder redactionConfig(RedactionConfig 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.
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.
default PiiEntitiesDetectionJobProperties.Builder redactionConfig(Consumer<RedactionConfig.Builder> 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.
RedactionConfig.Builder avoiding the
need to create one manually via RedactionConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to redactionConfig(RedactionConfig).
redactionConfig - a consumer that will call methods on RedactionConfig.BuilderredactionConfig(RedactionConfig)PiiEntitiesDetectionJobProperties.Builder languageCode(String languageCode)
The language code of the input documents
languageCode - The language code of the input documentsLanguageCode,
LanguageCodePiiEntitiesDetectionJobProperties.Builder languageCode(LanguageCode languageCode)
The language code of the input documents
languageCode - The language code of the input documentsLanguageCode,
LanguageCodePiiEntitiesDetectionJobProperties.Builder dataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
dataAccessRoleArn - The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input
data.PiiEntitiesDetectionJobProperties.Builder mode(String mode)
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.
mode - Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII
entities are redacted.PiiEntitiesDetectionMode,
PiiEntitiesDetectionModePiiEntitiesDetectionJobProperties.Builder mode(PiiEntitiesDetectionMode mode)
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.
mode - Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII
entities are redacted.PiiEntitiesDetectionMode,
PiiEntitiesDetectionModeCopyright © 2023. All rights reserved.