@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceStatistics extends Object implements Serializable, Cloneable, StructuredPojo
Provides statistical data for sensitive data discovery metrics that apply to an S3 bucket that Amazon Macie monitors and analyzes for your account. The statistics capture the results of automated sensitive data discovery activities that Macie has performed for the bucket. The data is available only if automated sensitive data discovery is currently enabled for your account.
Constructor and Description |
---|
ResourceStatistics() |
Modifier and Type | Method and Description |
---|---|
ResourceStatistics |
clone() |
boolean |
equals(Object obj) |
Long |
getTotalBytesClassified()
The total amount of data, in bytes, that Amazon Macie has analyzed in the bucket.
|
Long |
getTotalDetections()
The total number of occurrences of sensitive data that Amazon Macie has found in the bucket's objects.
|
Long |
getTotalDetectionsSuppressed()
The total number of occurrences of sensitive data that are currently suppressed by the sensitivity scoring
settings for the bucket.
|
Long |
getTotalItemsClassified()
The total number of objects that Amazon Macie has analyzed in the bucket.
|
Long |
getTotalItemsSensitive()
The total number of the bucket's objects that Amazon Macie has found sensitive data in.
|
Long |
getTotalItemsSkipped()
The total number of objects that Amazon Macie hasn't analyzed in the bucket due to an error or issue.
|
Long |
getTotalItemsSkippedInvalidEncryption()
The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted
with a key that Macie isn't allowed to use.
|
Long |
getTotalItemsSkippedInvalidKms()
The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted
with an KMS key that was disabled or deleted.
|
Long |
getTotalItemsSkippedPermissionDenied()
The total number of objects that Amazon Macie hasn't analyzed in the bucket because Macie isn't allowed to access
the objects.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTotalBytesClassified(Long totalBytesClassified)
The total amount of data, in bytes, that Amazon Macie has analyzed in the bucket.
|
void |
setTotalDetections(Long totalDetections)
The total number of occurrences of sensitive data that Amazon Macie has found in the bucket's objects.
|
void |
setTotalDetectionsSuppressed(Long totalDetectionsSuppressed)
The total number of occurrences of sensitive data that are currently suppressed by the sensitivity scoring
settings for the bucket.
|
void |
setTotalItemsClassified(Long totalItemsClassified)
The total number of objects that Amazon Macie has analyzed in the bucket.
|
void |
setTotalItemsSensitive(Long totalItemsSensitive)
The total number of the bucket's objects that Amazon Macie has found sensitive data in.
|
void |
setTotalItemsSkipped(Long totalItemsSkipped)
The total number of objects that Amazon Macie hasn't analyzed in the bucket due to an error or issue.
|
void |
setTotalItemsSkippedInvalidEncryption(Long totalItemsSkippedInvalidEncryption)
The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted
with a key that Macie isn't allowed to use.
|
void |
setTotalItemsSkippedInvalidKms(Long totalItemsSkippedInvalidKms)
The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted
with an KMS key that was disabled or deleted.
|
void |
setTotalItemsSkippedPermissionDenied(Long totalItemsSkippedPermissionDenied)
The total number of objects that Amazon Macie hasn't analyzed in the bucket because Macie isn't allowed to access
the objects.
|
String |
toString()
Returns a string representation of this object.
|
ResourceStatistics |
withTotalBytesClassified(Long totalBytesClassified)
The total amount of data, in bytes, that Amazon Macie has analyzed in the bucket.
|
ResourceStatistics |
withTotalDetections(Long totalDetections)
The total number of occurrences of sensitive data that Amazon Macie has found in the bucket's objects.
|
ResourceStatistics |
withTotalDetectionsSuppressed(Long totalDetectionsSuppressed)
The total number of occurrences of sensitive data that are currently suppressed by the sensitivity scoring
settings for the bucket.
|
ResourceStatistics |
withTotalItemsClassified(Long totalItemsClassified)
The total number of objects that Amazon Macie has analyzed in the bucket.
|
ResourceStatistics |
withTotalItemsSensitive(Long totalItemsSensitive)
The total number of the bucket's objects that Amazon Macie has found sensitive data in.
|
ResourceStatistics |
withTotalItemsSkipped(Long totalItemsSkipped)
The total number of objects that Amazon Macie hasn't analyzed in the bucket due to an error or issue.
|
ResourceStatistics |
withTotalItemsSkippedInvalidEncryption(Long totalItemsSkippedInvalidEncryption)
The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted
with a key that Macie isn't allowed to use.
|
ResourceStatistics |
withTotalItemsSkippedInvalidKms(Long totalItemsSkippedInvalidKms)
The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted
with an KMS key that was disabled or deleted.
|
ResourceStatistics |
withTotalItemsSkippedPermissionDenied(Long totalItemsSkippedPermissionDenied)
The total number of objects that Amazon Macie hasn't analyzed in the bucket because Macie isn't allowed to access
the objects.
|
public void setTotalBytesClassified(Long totalBytesClassified)
The total amount of data, in bytes, that Amazon Macie has analyzed in the bucket.
totalBytesClassified
- The total amount of data, in bytes, that Amazon Macie has analyzed in the bucket.public Long getTotalBytesClassified()
The total amount of data, in bytes, that Amazon Macie has analyzed in the bucket.
public ResourceStatistics withTotalBytesClassified(Long totalBytesClassified)
The total amount of data, in bytes, that Amazon Macie has analyzed in the bucket.
totalBytesClassified
- The total amount of data, in bytes, that Amazon Macie has analyzed in the bucket.public void setTotalDetections(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).
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).public Long getTotalDetections()
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).
public ResourceStatistics withTotalDetections(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).
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).public void setTotalDetectionsSuppressed(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.
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.public Long getTotalDetectionsSuppressed()
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.
public ResourceStatistics withTotalDetectionsSuppressed(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.
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.public void setTotalItemsClassified(Long totalItemsClassified)
The total number of objects that Amazon Macie has analyzed in the bucket.
totalItemsClassified
- The total number of objects that Amazon Macie has analyzed in the bucket.public Long getTotalItemsClassified()
The total number of objects that Amazon Macie has analyzed in the bucket.
public ResourceStatistics withTotalItemsClassified(Long totalItemsClassified)
The total number of objects that Amazon Macie has analyzed in the bucket.
totalItemsClassified
- The total number of objects that Amazon Macie has analyzed in the bucket.public void setTotalItemsSensitive(Long totalItemsSensitive)
The total number of the bucket's objects that Amazon Macie has found sensitive data in.
totalItemsSensitive
- The total number of the bucket's objects that Amazon Macie has found sensitive data in.public Long getTotalItemsSensitive()
The total number of the bucket's objects that Amazon Macie has found sensitive data in.
public ResourceStatistics withTotalItemsSensitive(Long totalItemsSensitive)
The total number of the bucket's objects that Amazon Macie has found sensitive data in.
totalItemsSensitive
- The total number of the bucket's objects that Amazon Macie has found sensitive data in.public void setTotalItemsSkipped(Long totalItemsSkipped)
The total number of objects that Amazon Macie hasn't analyzed in the bucket due to an error or issue. For example, the object is a malformed file. This value includes objects that Macie hasn't analyzed for reasons reported by other statistics in the ResourceStatistics object.
totalItemsSkipped
- The total number of objects that Amazon Macie hasn't analyzed in the bucket due to an error or issue. For
example, the object is a malformed file. This value includes objects that Macie hasn't analyzed for
reasons reported by other statistics in the ResourceStatistics object.public Long getTotalItemsSkipped()
The total number of objects that Amazon Macie hasn't analyzed in the bucket due to an error or issue. For example, the object is a malformed file. This value includes objects that Macie hasn't analyzed for reasons reported by other statistics in the ResourceStatistics object.
public ResourceStatistics withTotalItemsSkipped(Long totalItemsSkipped)
The total number of objects that Amazon Macie hasn't analyzed in the bucket due to an error or issue. For example, the object is a malformed file. This value includes objects that Macie hasn't analyzed for reasons reported by other statistics in the ResourceStatistics object.
totalItemsSkipped
- The total number of objects that Amazon Macie hasn't analyzed in the bucket due to an error or issue. For
example, the object is a malformed file. This value includes objects that Macie hasn't analyzed for
reasons reported by other statistics in the ResourceStatistics object.public void setTotalItemsSkippedInvalidEncryption(Long totalItemsSkippedInvalidEncryption)
The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted with a key that Macie isn't allowed to use.
totalItemsSkippedInvalidEncryption
- The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are
encrypted with a key that Macie isn't allowed to use.public Long getTotalItemsSkippedInvalidEncryption()
The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted with a key that Macie isn't allowed to use.
public ResourceStatistics withTotalItemsSkippedInvalidEncryption(Long totalItemsSkippedInvalidEncryption)
The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted with a key that Macie isn't allowed to use.
totalItemsSkippedInvalidEncryption
- The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are
encrypted with a key that Macie isn't allowed to use.public void setTotalItemsSkippedInvalidKms(Long totalItemsSkippedInvalidKms)
The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted with an KMS key that was disabled or deleted.
totalItemsSkippedInvalidKms
- The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are
encrypted with an KMS key that was disabled or deleted.public Long getTotalItemsSkippedInvalidKms()
The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted with an KMS key that was disabled or deleted.
public ResourceStatistics withTotalItemsSkippedInvalidKms(Long totalItemsSkippedInvalidKms)
The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted with an KMS key that was disabled or deleted.
totalItemsSkippedInvalidKms
- The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are
encrypted with an KMS key that was disabled or deleted.public void setTotalItemsSkippedPermissionDenied(Long totalItemsSkippedPermissionDenied)
The total number of objects that Amazon Macie hasn't analyzed in the bucket because Macie isn't allowed to access the objects.
totalItemsSkippedPermissionDenied
- The total number of objects that Amazon Macie hasn't analyzed in the bucket because Macie isn't allowed to
access the objects.public Long getTotalItemsSkippedPermissionDenied()
The total number of objects that Amazon Macie hasn't analyzed in the bucket because Macie isn't allowed to access the objects.
public ResourceStatistics withTotalItemsSkippedPermissionDenied(Long totalItemsSkippedPermissionDenied)
The total number of objects that Amazon Macie hasn't analyzed in the bucket because Macie isn't allowed to access the objects.
totalItemsSkippedPermissionDenied
- The total number of objects that Amazon Macie hasn't analyzed in the bucket because Macie isn't allowed to
access the objects.public String toString()
toString
in class Object
Object.toString()
public ResourceStatistics clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.