Interface PiiEntitiesDetectionJobProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PiiEntitiesDetectionJobProperties.Builder,
,PiiEntitiesDetectionJobProperties> SdkBuilder<PiiEntitiesDetectionJobProperties.Builder,
,PiiEntitiesDetectionJobProperties> SdkPojo
- Enclosing class:
PiiEntitiesDetectionJobProperties
-
Method Summary
Modifier and TypeMethodDescriptiondataAccessRoleArn
(String dataAccessRoleArn) The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.The time that the PII entities detection job completed.inputDataConfig
(Consumer<InputDataConfig.Builder> inputDataConfig) The input properties for a PII entities detection job.inputDataConfig
(InputDataConfig inputDataConfig) The input properties for a PII entities detection job.The Amazon Resource Name (ARN) of the PII entities detection job.The identifier assigned to the PII entities detection job.The name that you assigned the PII entities detection job.The current status of the PII entities detection job.The current status of the PII entities detection job.languageCode
(String languageCode) The language code of the input documents.languageCode
(LanguageCode languageCode) The language code of the input documents.A description of the status of a job.Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.mode
(PiiEntitiesDetectionMode mode) Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.outputDataConfig
(Consumer<PiiOutputDataConfig.Builder> outputDataConfig) The output data configuration that you supplied when you created the PII entities detection job.outputDataConfig
(PiiOutputDataConfig outputDataConfig) The output data configuration that you supplied when you created the PII entities detection job.redactionConfig
(Consumer<RedactionConfig.Builder> redactionConfig) Provides configuration parameters for PII entity redaction.redactionConfig
(RedactionConfig redactionConfig) Provides configuration parameters for PII entity redaction.submitTime
(Instant submitTime) The time that the PII entities detection job was submitted for processing.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
jobId
The identifier assigned to the PII entities detection job.
- Parameters:
jobId
- The identifier assigned to the PII entities detection job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobName
The name that you assigned the PII entities detection job.
- Parameters:
jobName
- The name that you assigned the PII entities detection job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobStatus
The current status of the PII entities detection job. If the status is
FAILED
, theMessage
field shows the reason for the failure.- Parameters:
jobStatus
- The current status of the PII entities detection job. If the status isFAILED
, theMessage
field shows the reason for the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobStatus
The current status of the PII entities detection job. If the status is
FAILED
, theMessage
field shows the reason for the failure.- Parameters:
jobStatus
- The current status of the PII entities detection job. If the status isFAILED
, theMessage
field shows the reason for the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
A description of the status of a job.
- Parameters:
message
- A description of the status of a job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
submitTime
The time that the PII entities detection job was submitted for processing.
- Parameters:
submitTime
- The time that the PII entities detection job was submitted for processing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The time that the PII entities detection job completed.
- Parameters:
endTime
- The time that the PII entities detection job completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDataConfig
The input properties for a PII entities detection job.
- Parameters:
inputDataConfig
- The input properties for a PII entities detection job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDataConfig
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 viaInputDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputDataConfig(InputDataConfig)
.- Parameters:
inputDataConfig
- a consumer that will call methods onInputDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputDataConfig
The output data configuration that you supplied when you created the PII entities detection job.
- Parameters:
outputDataConfig
- The output data configuration that you supplied when you created the PII entities detection job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputDataConfig
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 viaPiiOutputDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputDataConfig(PiiOutputDataConfig)
.- Parameters:
outputDataConfig
- a consumer that will call methods onPiiOutputDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
redactionConfig
Provides configuration parameters for PII entity redaction.
This parameter is required if you set the
Mode
parameter toONLY_REDACTION
. In that case, you must provide aRedactionConfig
definition that includes thePiiEntityTypes
parameter.- Parameters:
redactionConfig
- Provides configuration parameters for PII entity redaction.This parameter is required if you set the
Mode
parameter toONLY_REDACTION
. In that case, you must provide aRedactionConfig
definition that includes thePiiEntityTypes
parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redactionConfig
default PiiEntitiesDetectionJobProperties.Builder redactionConfig(Consumer<RedactionConfig.Builder> redactionConfig) Provides configuration parameters for PII entity redaction.
This parameter is required if you set the
This is a convenience method that creates an instance of theMode
parameter toONLY_REDACTION
. In that case, you must provide aRedactionConfig
definition that includes thePiiEntityTypes
parameter.RedactionConfig.Builder
avoiding the need to create one manually viaRedactionConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toredactionConfig(RedactionConfig)
.- Parameters:
redactionConfig
- a consumer that will call methods onRedactionConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
languageCode
The language code of the input documents.
- Parameters:
languageCode
- The language code of the input documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
languageCode
The language code of the input documents.
- Parameters:
languageCode
- The language code of the input documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataAccessRoleArn
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
- Parameters:
dataAccessRoleArn
- The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mode
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.
- Parameters:
mode
- Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mode
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.
- Parameters:
mode
- Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-