Interface ClassificationResult.Builder

    • Method Detail

      • additionalOccurrences

        ClassificationResult.Builder additionalOccurrences​(Boolean additionalOccurrences)

        Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data.

        This value can help you determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (classificationDetails.detailedResultsLocation).

        Parameters:
        additionalOccurrences - Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data.

        This value can help you determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (classificationDetails.detailedResultsLocation).

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customDataIdentifiers

        ClassificationResult.Builder customDataIdentifiers​(CustomDataIdentifiers customDataIdentifiers)

        The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.

        Parameters:
        customDataIdentifiers - The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mimeType

        ClassificationResult.Builder mimeType​(String mimeType)

        The type of content, as a MIME type, that the finding applies to. For example, application/gzip, for a GNU Gzip compressed archive file, or application/pdf, for an Adobe Portable Document Format file.

        Parameters:
        mimeType - The type of content, as a MIME type, that the finding applies to. For example, application/gzip, for a GNU Gzip compressed archive file, or application/pdf, for an Adobe Portable Document Format file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sensitiveData

        ClassificationResult.Builder sensitiveData​(Collection<SensitiveDataItem> sensitiveData)

        The category, types, and number of occurrences of the sensitive data that produced the finding.

        Parameters:
        sensitiveData - The category, types, and number of occurrences of the sensitive data that produced the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sensitiveData

        ClassificationResult.Builder sensitiveData​(SensitiveDataItem... sensitiveData)

        The category, types, and number of occurrences of the sensitive data that produced the finding.

        Parameters:
        sensitiveData - The category, types, and number of occurrences of the sensitive data that produced the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sizeClassified

        ClassificationResult.Builder sizeClassified​(Long sizeClassified)

        The total size, in bytes, of the data that the finding applies to.

        Parameters:
        sizeClassified - The total size, in bytes, of the data that the finding applies to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.