Interface PiiEntitiesDetectionJobProperties.Builder

    • Method Detail

      • jobId

        PiiEntitiesDetectionJobProperties.Builder jobId​(String 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

        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

        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

        PiiEntitiesDetectionJobProperties.Builder jobName​(String 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

        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.

        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, JobStatus
      • jobStatus

        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.

        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, JobStatus
      • message

        PiiEntitiesDetectionJobProperties.Builder message​(String 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

        PiiEntitiesDetectionJobProperties.Builder submitTime​(Instant 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

        PiiEntitiesDetectionJobProperties.Builder endTime​(Instant 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

        PiiEntitiesDetectionJobProperties.Builder inputDataConfig​(InputDataConfig 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.
      • outputDataConfig

        PiiEntitiesDetectionJobProperties.Builder outputDataConfig​(PiiOutputDataConfig 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.
      • redactionConfig

        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.

        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.
      • 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

        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.

        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:
        PiiEntitiesDetectionMode, PiiEntitiesDetectionMode