Class ResourceStatistics

    • Method Detail

      • totalBytesClassified

        public final Long totalBytesClassified()

        The total amount of data, in bytes, that Amazon Macie has analyzed in the bucket.

        Returns:
        The total amount of data, in bytes, that Amazon Macie has analyzed in the bucket.
      • totalDetections

        public final Long totalDetections()

        The total number of occurrences of sensitive data that Amazon Macie has found in the bucket's objects. This includes occurrences that are currently suppressed by the sensitivity scoring settings for the bucket (totalDetectionsSuppressed).

        Returns:
        The total number of occurrences of sensitive data that Amazon Macie has found in the bucket's objects. This includes occurrences that are currently suppressed by the sensitivity scoring settings for the bucket (totalDetectionsSuppressed).
      • totalDetectionsSuppressed

        public final Long totalDetectionsSuppressed()

        The total number of occurrences of sensitive data that are currently suppressed by the sensitivity scoring settings for the bucket. These represent occurrences of sensitive data that Amazon Macie found in the bucket's objects, but the occurrences were manually suppressed. By default, suppressed occurrences are excluded from the bucket's sensitivity score.

        Returns:
        The total number of occurrences of sensitive data that are currently suppressed by the sensitivity scoring settings for the bucket. These represent occurrences of sensitive data that Amazon Macie found in the bucket's objects, but the occurrences were manually suppressed. By default, suppressed occurrences are excluded from the bucket's sensitivity score.
      • totalItemsClassified

        public final Long totalItemsClassified()

        The total number of objects that Amazon Macie has analyzed in the bucket.

        Returns:
        The total number of objects that Amazon Macie has analyzed in the bucket.
      • totalItemsSensitive

        public final Long totalItemsSensitive()

        The total number of the bucket's objects that Amazon Macie has found sensitive data in.

        Returns:
        The total number of the bucket's objects that Amazon Macie has found sensitive data in.
      • totalItemsSkipped

        public final Long totalItemsSkipped()

        The total number of objects that Amazon Macie wasn't able to analyze in the bucket due to an object-level issue or error. For example, an object is a malformed file. This value includes objects that Macie wasn't able to analyze for reasons reported by other statistics in the ResourceStatistics object.

        Returns:
        The total number of objects that Amazon Macie wasn't able to analyze in the bucket due to an object-level issue or error. For example, an object is a malformed file. This value includes objects that Macie wasn't able to analyze for reasons reported by other statistics in the ResourceStatistics object.
      • totalItemsSkippedInvalidEncryption

        public final Long totalItemsSkippedInvalidEncryption()

        The total number of objects that Amazon Macie wasn't able to analyze in the bucket because the objects are encrypted with a key that Macie can't access. The objects use server-side encryption with customer-provided keys (SSE-C).

        Returns:
        The total number of objects that Amazon Macie wasn't able to analyze in the bucket because the objects are encrypted with a key that Macie can't access. The objects use server-side encryption with customer-provided keys (SSE-C).
      • totalItemsSkippedInvalidKms

        public final Long totalItemsSkippedInvalidKms()

        The total number of objects that Amazon Macie wasn't able to analyze in the bucket because the objects are encrypted with KMS keys that were disabled, are scheduled for deletion, or were deleted.

        Returns:
        The total number of objects that Amazon Macie wasn't able to analyze in the bucket because the objects are encrypted with KMS keys that were disabled, are scheduled for deletion, or were deleted.
      • totalItemsSkippedPermissionDenied

        public final Long totalItemsSkippedPermissionDenied()

        The total number of objects that Amazon Macie wasn't able to analyze in the bucket due to the permissions settings for the objects or the permissions settings for the keys that were used to encrypt the objects.

        Returns:
        The total number of objects that Amazon Macie wasn't able to analyze in the bucket due to the permissions settings for the objects or the permissions settings for the keys that were used to encrypt the objects.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)