Interface PiiEntitiesDetectionJobProperties.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PiiEntitiesDetectionJobProperties.Builder,PiiEntitiesDetectionJobProperties>, SdkBuilder<PiiEntitiesDetectionJobProperties.Builder,PiiEntitiesDetectionJobProperties>, SdkPojo
Enclosing class:
PiiEntitiesDetectionJobProperties

public static interface PiiEntitiesDetectionJobProperties.Builder extends SdkPojo, CopyableBuilder<PiiEntitiesDetectionJobProperties.Builder,PiiEntitiesDetectionJobProperties>
  • 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, the Message field shows the reason for the failure.

      Parameters:
      jobStatus - The current status of the PII entities detection job. If the status is FAILED, the Message 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, the Message field shows the reason for the failure.

      Parameters:
      jobStatus - The current status of the PII entities detection job. If the status is FAILED, the Message 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

      The input properties for a PII entities detection job.

      This is a convenience method that creates an instance of the InputDataConfig.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).

      Parameters:
      inputDataConfig - a consumer that will call methods on InputDataConfig.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

      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 the PiiOutputDataConfig.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).

      Parameters:
      outputDataConfig - a consumer that will call methods on PiiOutputDataConfig.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 to ONLY_REDACTION. In that case, you must provide a RedactionConfig definition that includes the PiiEntityTypes parameter.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      This is a convenience method that creates an instance of the 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).

      Parameters:
      redactionConfig - a consumer that will call methods on RedactionConfig.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

      PiiEntitiesDetectionJobProperties.Builder dataAccessRoleArn(String 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: