@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetBucketStatisticsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetBucketStatisticsResult() |
Modifier and Type | Method and Description |
---|---|
GetBucketStatisticsResult |
clone() |
boolean |
equals(Object obj) |
Long |
getBucketCount()
The total number of buckets.
|
BucketCountByEffectivePermission |
getBucketCountByEffectivePermission()
The total number of buckets that are publicly accessible due to a combination of permissions settings for each
bucket.
|
BucketCountByEncryptionType |
getBucketCountByEncryptionType()
The total number of buckets whose settings do or don't specify default server-side encryption behavior for
objects that are added to the buckets.
|
BucketCountPolicyAllowsUnencryptedObjectUploads |
getBucketCountByObjectEncryptionRequirement()
The total number of buckets whose bucket policies do or don't require server-side encryption of objects when
objects are added to the buckets.
|
BucketCountBySharedAccessType |
getBucketCountBySharedAccessType()
The total number of buckets that are or aren't shared with other Amazon Web Services accounts, Amazon CloudFront
origin access identities (OAIs), or CloudFront origin access controls (OACs).
|
BucketStatisticsBySensitivity |
getBucketStatisticsBySensitivity()
The aggregated sensitive data discovery statistics for the buckets.
|
Long |
getClassifiableObjectCount()
The total number of objects that Amazon Macie can analyze in the buckets.
|
Long |
getClassifiableSizeInBytes()
The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets.
|
Date |
getLastUpdated()
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved bucket or
object metadata from Amazon S3 for the buckets.
|
Long |
getObjectCount()
The total number of objects in the buckets.
|
Long |
getSizeInBytes()
The total storage size, in bytes, of the buckets.
|
Long |
getSizeInBytesCompressed()
The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets.
|
ObjectLevelStatistics |
getUnclassifiableObjectCount()
The total number of objects that Amazon Macie can't analyze in the buckets.
|
ObjectLevelStatistics |
getUnclassifiableObjectSizeInBytes()
The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the buckets.
|
int |
hashCode() |
void |
setBucketCount(Long bucketCount)
The total number of buckets.
|
void |
setBucketCountByEffectivePermission(BucketCountByEffectivePermission bucketCountByEffectivePermission)
The total number of buckets that are publicly accessible due to a combination of permissions settings for each
bucket.
|
void |
setBucketCountByEncryptionType(BucketCountByEncryptionType bucketCountByEncryptionType)
The total number of buckets whose settings do or don't specify default server-side encryption behavior for
objects that are added to the buckets.
|
void |
setBucketCountByObjectEncryptionRequirement(BucketCountPolicyAllowsUnencryptedObjectUploads bucketCountByObjectEncryptionRequirement)
The total number of buckets whose bucket policies do or don't require server-side encryption of objects when
objects are added to the buckets.
|
void |
setBucketCountBySharedAccessType(BucketCountBySharedAccessType bucketCountBySharedAccessType)
The total number of buckets that are or aren't shared with other Amazon Web Services accounts, Amazon CloudFront
origin access identities (OAIs), or CloudFront origin access controls (OACs).
|
void |
setBucketStatisticsBySensitivity(BucketStatisticsBySensitivity bucketStatisticsBySensitivity)
The aggregated sensitive data discovery statistics for the buckets.
|
void |
setClassifiableObjectCount(Long classifiableObjectCount)
The total number of objects that Amazon Macie can analyze in the buckets.
|
void |
setClassifiableSizeInBytes(Long classifiableSizeInBytes)
The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets.
|
void |
setLastUpdated(Date lastUpdated)
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved bucket or
object metadata from Amazon S3 for the buckets.
|
void |
setObjectCount(Long objectCount)
The total number of objects in the buckets.
|
void |
setSizeInBytes(Long sizeInBytes)
The total storage size, in bytes, of the buckets.
|
void |
setSizeInBytesCompressed(Long sizeInBytesCompressed)
The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets.
|
void |
setUnclassifiableObjectCount(ObjectLevelStatistics unclassifiableObjectCount)
The total number of objects that Amazon Macie can't analyze in the buckets.
|
void |
setUnclassifiableObjectSizeInBytes(ObjectLevelStatistics unclassifiableObjectSizeInBytes)
The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the buckets.
|
String |
toString()
Returns a string representation of this object.
|
GetBucketStatisticsResult |
withBucketCount(Long bucketCount)
The total number of buckets.
|
GetBucketStatisticsResult |
withBucketCountByEffectivePermission(BucketCountByEffectivePermission bucketCountByEffectivePermission)
The total number of buckets that are publicly accessible due to a combination of permissions settings for each
bucket.
|
GetBucketStatisticsResult |
withBucketCountByEncryptionType(BucketCountByEncryptionType bucketCountByEncryptionType)
The total number of buckets whose settings do or don't specify default server-side encryption behavior for
objects that are added to the buckets.
|
GetBucketStatisticsResult |
withBucketCountByObjectEncryptionRequirement(BucketCountPolicyAllowsUnencryptedObjectUploads bucketCountByObjectEncryptionRequirement)
The total number of buckets whose bucket policies do or don't require server-side encryption of objects when
objects are added to the buckets.
|
GetBucketStatisticsResult |
withBucketCountBySharedAccessType(BucketCountBySharedAccessType bucketCountBySharedAccessType)
The total number of buckets that are or aren't shared with other Amazon Web Services accounts, Amazon CloudFront
origin access identities (OAIs), or CloudFront origin access controls (OACs).
|
GetBucketStatisticsResult |
withBucketStatisticsBySensitivity(BucketStatisticsBySensitivity bucketStatisticsBySensitivity)
The aggregated sensitive data discovery statistics for the buckets.
|
GetBucketStatisticsResult |
withClassifiableObjectCount(Long classifiableObjectCount)
The total number of objects that Amazon Macie can analyze in the buckets.
|
GetBucketStatisticsResult |
withClassifiableSizeInBytes(Long classifiableSizeInBytes)
The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets.
|
GetBucketStatisticsResult |
withLastUpdated(Date lastUpdated)
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved bucket or
object metadata from Amazon S3 for the buckets.
|
GetBucketStatisticsResult |
withObjectCount(Long objectCount)
The total number of objects in the buckets.
|
GetBucketStatisticsResult |
withSizeInBytes(Long sizeInBytes)
The total storage size, in bytes, of the buckets.
|
GetBucketStatisticsResult |
withSizeInBytesCompressed(Long sizeInBytesCompressed)
The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets.
|
GetBucketStatisticsResult |
withUnclassifiableObjectCount(ObjectLevelStatistics unclassifiableObjectCount)
The total number of objects that Amazon Macie can't analyze in the buckets.
|
GetBucketStatisticsResult |
withUnclassifiableObjectSizeInBytes(ObjectLevelStatistics unclassifiableObjectSizeInBytes)
The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the buckets.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBucketCount(Long bucketCount)
The total number of buckets.
bucketCount
- The total number of buckets.public Long getBucketCount()
The total number of buckets.
public GetBucketStatisticsResult withBucketCount(Long bucketCount)
The total number of buckets.
bucketCount
- The total number of buckets.public void setBucketCountByEffectivePermission(BucketCountByEffectivePermission bucketCountByEffectivePermission)
The total number of buckets that are publicly accessible due to a combination of permissions settings for each bucket.
bucketCountByEffectivePermission
- The total number of buckets that are publicly accessible due to a combination of permissions settings for
each bucket.public BucketCountByEffectivePermission getBucketCountByEffectivePermission()
The total number of buckets that are publicly accessible due to a combination of permissions settings for each bucket.
public GetBucketStatisticsResult withBucketCountByEffectivePermission(BucketCountByEffectivePermission bucketCountByEffectivePermission)
The total number of buckets that are publicly accessible due to a combination of permissions settings for each bucket.
bucketCountByEffectivePermission
- The total number of buckets that are publicly accessible due to a combination of permissions settings for
each bucket.public void setBucketCountByEncryptionType(BucketCountByEncryptionType bucketCountByEncryptionType)
The total number of buckets whose settings do or don't specify default server-side encryption behavior for objects that are added to the buckets.
bucketCountByEncryptionType
- The total number of buckets whose settings do or don't specify default server-side encryption behavior for
objects that are added to the buckets.public BucketCountByEncryptionType getBucketCountByEncryptionType()
The total number of buckets whose settings do or don't specify default server-side encryption behavior for objects that are added to the buckets.
public GetBucketStatisticsResult withBucketCountByEncryptionType(BucketCountByEncryptionType bucketCountByEncryptionType)
The total number of buckets whose settings do or don't specify default server-side encryption behavior for objects that are added to the buckets.
bucketCountByEncryptionType
- The total number of buckets whose settings do or don't specify default server-side encryption behavior for
objects that are added to the buckets.public void setBucketCountByObjectEncryptionRequirement(BucketCountPolicyAllowsUnencryptedObjectUploads bucketCountByObjectEncryptionRequirement)
The total number of buckets whose bucket policies do or don't require server-side encryption of objects when objects are added to the buckets.
bucketCountByObjectEncryptionRequirement
- The total number of buckets whose bucket policies do or don't require server-side encryption of objects
when objects are added to the buckets.public BucketCountPolicyAllowsUnencryptedObjectUploads getBucketCountByObjectEncryptionRequirement()
The total number of buckets whose bucket policies do or don't require server-side encryption of objects when objects are added to the buckets.
public GetBucketStatisticsResult withBucketCountByObjectEncryptionRequirement(BucketCountPolicyAllowsUnencryptedObjectUploads bucketCountByObjectEncryptionRequirement)
The total number of buckets whose bucket policies do or don't require server-side encryption of objects when objects are added to the buckets.
bucketCountByObjectEncryptionRequirement
- The total number of buckets whose bucket policies do or don't require server-side encryption of objects
when objects are added to the buckets.public void setBucketCountBySharedAccessType(BucketCountBySharedAccessType bucketCountBySharedAccessType)
The total number of buckets that are or aren't shared with other Amazon Web Services accounts, Amazon CloudFront origin access identities (OAIs), or CloudFront origin access controls (OACs).
bucketCountBySharedAccessType
- The total number of buckets that are or aren't shared with other Amazon Web Services accounts, Amazon
CloudFront origin access identities (OAIs), or CloudFront origin access controls (OACs).public BucketCountBySharedAccessType getBucketCountBySharedAccessType()
The total number of buckets that are or aren't shared with other Amazon Web Services accounts, Amazon CloudFront origin access identities (OAIs), or CloudFront origin access controls (OACs).
public GetBucketStatisticsResult withBucketCountBySharedAccessType(BucketCountBySharedAccessType bucketCountBySharedAccessType)
The total number of buckets that are or aren't shared with other Amazon Web Services accounts, Amazon CloudFront origin access identities (OAIs), or CloudFront origin access controls (OACs).
bucketCountBySharedAccessType
- The total number of buckets that are or aren't shared with other Amazon Web Services accounts, Amazon
CloudFront origin access identities (OAIs), or CloudFront origin access controls (OACs).public void setBucketStatisticsBySensitivity(BucketStatisticsBySensitivity bucketStatisticsBySensitivity)
The aggregated sensitive data discovery statistics for the buckets. If automated sensitive data discovery is currently disabled for your account, the value for each statistic is 0.
bucketStatisticsBySensitivity
- The aggregated sensitive data discovery statistics for the buckets. If automated sensitive data discovery
is currently disabled for your account, the value for each statistic is 0.public BucketStatisticsBySensitivity getBucketStatisticsBySensitivity()
The aggregated sensitive data discovery statistics for the buckets. If automated sensitive data discovery is currently disabled for your account, the value for each statistic is 0.
public GetBucketStatisticsResult withBucketStatisticsBySensitivity(BucketStatisticsBySensitivity bucketStatisticsBySensitivity)
The aggregated sensitive data discovery statistics for the buckets. If automated sensitive data discovery is currently disabled for your account, the value for each statistic is 0.
bucketStatisticsBySensitivity
- The aggregated sensitive data discovery statistics for the buckets. If automated sensitive data discovery
is currently disabled for your account, the value for each statistic is 0.public void setClassifiableObjectCount(Long classifiableObjectCount)
The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.
classifiableObjectCount
- The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported
storage class and have a file name extension for a supported file or storage format.public Long getClassifiableObjectCount()
The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.
public GetBucketStatisticsResult withClassifiableObjectCount(Long classifiableObjectCount)
The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.
classifiableObjectCount
- The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported
storage class and have a file name extension for a supported file or storage format.public void setClassifiableSizeInBytes(Long classifiableSizeInBytes)
The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.
If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.
classifiableSizeInBytes
- The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These
objects use a supported storage class and have a file name extension for a supported file or storage
format.
If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.
public Long getClassifiableSizeInBytes()
The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.
If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.
If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.
public GetBucketStatisticsResult withClassifiableSizeInBytes(Long classifiableSizeInBytes)
The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.
If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.
classifiableSizeInBytes
- The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These
objects use a supported storage class and have a file name extension for a supported file or storage
format.
If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.
public void setLastUpdated(Date lastUpdated)
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved bucket or object metadata from Amazon S3 for the buckets.
lastUpdated
- The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved bucket
or object metadata from Amazon S3 for the buckets.public Date getLastUpdated()
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved bucket or object metadata from Amazon S3 for the buckets.
public GetBucketStatisticsResult withLastUpdated(Date lastUpdated)
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved bucket or object metadata from Amazon S3 for the buckets.
lastUpdated
- The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved bucket
or object metadata from Amazon S3 for the buckets.public void setObjectCount(Long objectCount)
The total number of objects in the buckets.
objectCount
- The total number of objects in the buckets.public Long getObjectCount()
The total number of objects in the buckets.
public GetBucketStatisticsResult withObjectCount(Long objectCount)
The total number of objects in the buckets.
objectCount
- The total number of objects in the buckets.public void setSizeInBytes(Long sizeInBytes)
The total storage size, in bytes, of the buckets.
If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each object in the buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.
sizeInBytes
- The total storage size, in bytes, of the buckets.
If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each object in the buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.
public Long getSizeInBytes()
The total storage size, in bytes, of the buckets.
If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each object in the buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.
If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each object in the buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.
public GetBucketStatisticsResult withSizeInBytes(Long sizeInBytes)
The total storage size, in bytes, of the buckets.
If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each object in the buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.
sizeInBytes
- The total storage size, in bytes, of the buckets.
If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each object in the buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.
public void setSizeInBytesCompressed(Long sizeInBytesCompressed)
The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets.
If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.
sizeInBytesCompressed
- The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the
buckets.
If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.
public Long getSizeInBytesCompressed()
The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets.
If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.
If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.
public GetBucketStatisticsResult withSizeInBytesCompressed(Long sizeInBytesCompressed)
The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets.
If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.
sizeInBytesCompressed
- The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the
buckets.
If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.
public void setUnclassifiableObjectCount(ObjectLevelStatistics unclassifiableObjectCount)
The total number of objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.
unclassifiableObjectCount
- The total number of objects that Amazon Macie can't analyze in the buckets. These objects don't use a
supported storage class or don't have a file name extension for a supported file or storage format.public ObjectLevelStatistics getUnclassifiableObjectCount()
The total number of objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.
public GetBucketStatisticsResult withUnclassifiableObjectCount(ObjectLevelStatistics unclassifiableObjectCount)
The total number of objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.
unclassifiableObjectCount
- The total number of objects that Amazon Macie can't analyze in the buckets. These objects don't use a
supported storage class or don't have a file name extension for a supported file or storage format.public void setUnclassifiableObjectSizeInBytes(ObjectLevelStatistics unclassifiableObjectSizeInBytes)
The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.
unclassifiableObjectSizeInBytes
- The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the buckets. These
objects don't use a supported storage class or don't have a file name extension for a supported file or
storage format.public ObjectLevelStatistics getUnclassifiableObjectSizeInBytes()
The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.
public GetBucketStatisticsResult withUnclassifiableObjectSizeInBytes(ObjectLevelStatistics unclassifiableObjectSizeInBytes)
The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.
unclassifiableObjectSizeInBytes
- The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the buckets. These
objects don't use a supported storage class or don't have a file name extension for a supported file or
storage format.public String toString()
toString
in class Object
Object.toString()
public GetBucketStatisticsResult clone()