Interface ClassificationDetails.Builder

    • Method Detail

      • detailedResultsLocation

        ClassificationDetails.Builder detailedResultsLocation​(String detailedResultsLocation)

        The path to the folder or file in Amazon S3 that contains the corresponding sensitive data discovery result for the finding. If a finding applies to a large archive or compressed file, this value is the path to a folder. Otherwise, this value is the path to a file.

        Parameters:
        detailedResultsLocation - The path to the folder or file in Amazon S3 that contains the corresponding sensitive data discovery result for the finding. If a finding applies to a large archive or compressed file, this value is the path to a folder. Otherwise, this value is the path to a file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobArn

        ClassificationDetails.Builder jobArn​(String jobArn)

        The Amazon Resource Name (ARN) of the classification job that produced the finding. This value is null if the origin of the finding (originType) is AUTOMATED_SENSITIVE_DATA_DISCOVERY.

        Parameters:
        jobArn - The Amazon Resource Name (ARN) of the classification job that produced the finding. This value is null if the origin of the finding (originType) is AUTOMATED_SENSITIVE_DATA_DISCOVERY.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobId

        ClassificationDetails.Builder jobId​(String jobId)

        The unique identifier for the classification job that produced the finding. This value is null if the origin of the finding (originType) is AUTOMATED_SENSITIVE_DATA_DISCOVERY.

        Parameters:
        jobId - The unique identifier for the classification job that produced the finding. This value is null if the origin of the finding (originType) is AUTOMATED_SENSITIVE_DATA_DISCOVERY.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • originType

        ClassificationDetails.Builder originType​(String originType)

        Specifies how Amazon Macie found the sensitive data that produced the finding. Possible values are: SENSITIVE_DATA_DISCOVERY_JOB, for a classification job; and, AUTOMATED_SENSITIVE_DATA_DISCOVERY, for automated sensitive data discovery.

        Parameters:
        originType - Specifies how Amazon Macie found the sensitive data that produced the finding. Possible values are: SENSITIVE_DATA_DISCOVERY_JOB, for a classification job; and, AUTOMATED_SENSITIVE_DATA_DISCOVERY, for automated sensitive data discovery.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OriginType, OriginType
      • originType

        ClassificationDetails.Builder originType​(OriginType originType)

        Specifies how Amazon Macie found the sensitive data that produced the finding. Possible values are: SENSITIVE_DATA_DISCOVERY_JOB, for a classification job; and, AUTOMATED_SENSITIVE_DATA_DISCOVERY, for automated sensitive data discovery.

        Parameters:
        originType - Specifies how Amazon Macie found the sensitive data that produced the finding. Possible values are: SENSITIVE_DATA_DISCOVERY_JOB, for a classification job; and, AUTOMATED_SENSITIVE_DATA_DISCOVERY, for automated sensitive data discovery.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OriginType, OriginType
      • result

        ClassificationDetails.Builder result​(ClassificationResult result)

        The status and other details of the finding.

        Parameters:
        result - The status and other details of the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.