public static interface StartPiiEntitiesDetectionJobRequest.Builder extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<StartPiiEntitiesDetectionJobRequest.Builder,StartPiiEntitiesDetectionJobRequest>
| Modifier and Type | Method and Description |
|---|---|
StartPiiEntitiesDetectionJobRequest.Builder |
clientRequestToken(String clientRequestToken)
A unique identifier for the request.
|
StartPiiEntitiesDetectionJobRequest.Builder |
dataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
|
default StartPiiEntitiesDetectionJobRequest.Builder |
inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)
The input properties for a PII entities detection job.
|
StartPiiEntitiesDetectionJobRequest.Builder |
inputDataConfig(InputDataConfig inputDataConfig)
The input properties for a PII entities detection job.
|
StartPiiEntitiesDetectionJobRequest.Builder |
jobName(String jobName)
The identifier of the job.
|
StartPiiEntitiesDetectionJobRequest.Builder |
languageCode(LanguageCode languageCode)
The language of the input documents.
|
StartPiiEntitiesDetectionJobRequest.Builder |
languageCode(String languageCode)
The language of the input documents.
|
StartPiiEntitiesDetectionJobRequest.Builder |
mode(PiiEntitiesDetectionMode mode)
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities
are redacted.
|
StartPiiEntitiesDetectionJobRequest.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 StartPiiEntitiesDetectionJobRequest.Builder |
outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)
Provides configuration parameters for the output of PII entity detection jobs.
|
StartPiiEntitiesDetectionJobRequest.Builder |
outputDataConfig(OutputDataConfig outputDataConfig)
Provides configuration parameters for the output of PII entity detection jobs.
|
StartPiiEntitiesDetectionJobRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StartPiiEntitiesDetectionJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default StartPiiEntitiesDetectionJobRequest.Builder |
redactionConfig(Consumer<RedactionConfig.Builder> redactionConfig)
Provides configuration parameters for PII entity redaction.
|
StartPiiEntitiesDetectionJobRequest.Builder |
redactionConfig(RedactionConfig redactionConfig)
Provides configuration parameters for PII entity redaction.
|
StartPiiEntitiesDetectionJobRequest.Builder |
tags(Collection<Tag> tags)
Tags to associate with the PII entities detection job.
|
StartPiiEntitiesDetectionJobRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Tags to associate with the PII entities detection job.
|
StartPiiEntitiesDetectionJobRequest.Builder |
tags(Tag... tags)
Tags to associate with the PII entities detection job.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartPiiEntitiesDetectionJobRequest.Builder inputDataConfig(InputDataConfig inputDataConfig)
The input properties for a PII entities detection job.
inputDataConfig - The input properties for a PII entities detection job.default StartPiiEntitiesDetectionJobRequest.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)StartPiiEntitiesDetectionJobRequest.Builder outputDataConfig(OutputDataConfig outputDataConfig)
Provides configuration parameters for the output of PII entity detection jobs.
outputDataConfig - Provides configuration parameters for the output of PII entity detection jobs.default StartPiiEntitiesDetectionJobRequest.Builder outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)
Provides configuration parameters for the output of PII entity detection jobs.
This is a convenience method that creates an instance of theOutputDataConfig.Builder avoiding the
need to create one manually via OutputDataConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to outputDataConfig(OutputDataConfig).
outputDataConfig - a consumer that will call methods on OutputDataConfig.BuilderoutputDataConfig(OutputDataConfig)StartPiiEntitiesDetectionJobRequest.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,
PiiEntitiesDetectionModeStartPiiEntitiesDetectionJobRequest.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,
PiiEntitiesDetectionModeStartPiiEntitiesDetectionJobRequest.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 StartPiiEntitiesDetectionJobRequest.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)StartPiiEntitiesDetectionJobRequest.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.StartPiiEntitiesDetectionJobRequest.Builder jobName(String jobName)
The identifier of the job.
jobName - The identifier of the job.StartPiiEntitiesDetectionJobRequest.Builder languageCode(String languageCode)
The language of the input documents. Currently, English is the only valid language.
languageCode - The language of the input documents. Currently, English is the only valid language.LanguageCode,
LanguageCodeStartPiiEntitiesDetectionJobRequest.Builder languageCode(LanguageCode languageCode)
The language of the input documents. Currently, English is the only valid language.
languageCode - The language of the input documents. Currently, English is the only valid language.LanguageCode,
LanguageCodeStartPiiEntitiesDetectionJobRequest.Builder clientRequestToken(String clientRequestToken)
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
clientRequestToken - A unique identifier for the request. If you don't set the client request token, Amazon Comprehend
generates one.StartPiiEntitiesDetectionJobRequest.Builder tags(Collection<Tag> tags)
Tags to associate with the PII entities detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
tags - Tags to associate with the PII entities detection job. A tag is a key-value pair that adds metadata to
a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a
resource to indicate its use by the sales department.StartPiiEntitiesDetectionJobRequest.Builder tags(Tag... tags)
Tags to associate with the PII entities detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
tags - Tags to associate with the PII entities detection job. A tag is a key-value pair that adds metadata to
a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a
resource to indicate its use by the sales department.StartPiiEntitiesDetectionJobRequest.Builder tags(Consumer<Tag.Builder>... tags)
Tags to associate with the PII entities detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) StartPiiEntitiesDetectionJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStartPiiEntitiesDetectionJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.