@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 based on a combination of permissions settings for each
bucket.
|
BucketCountByEncryptionType |
getBucketCountByEncryptionType()
The total number of buckets that use certain types of server-side encryption to encrypt new objects by default.
|
BucketCountPolicyAllowsUnencryptedObjectUploads |
getBucketCountByObjectEncryptionRequirement()
The total number of buckets whose bucket policies do or don't require server-side encryption of objects when
objects are uploaded to the buckets.
|
BucketCountBySharedAccessType |
getBucketCountBySharedAccessType()
The total number of buckets that are or aren't shared with another Amazon Web Services account.
|
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 both bucket and
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 based on a combination of permissions settings for each
bucket.
|
void |
setBucketCountByEncryptionType(BucketCountByEncryptionType bucketCountByEncryptionType)
The total number of buckets that use certain types of server-side encryption to encrypt new objects by default.
|
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 uploaded to the buckets.
|
void |
setBucketCountBySharedAccessType(BucketCountBySharedAccessType bucketCountBySharedAccessType)
The total number of buckets that are or aren't shared with another Amazon Web Services account.
|
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 both bucket and
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 based on a combination of permissions settings for each
bucket.
|
GetBucketStatisticsResult |
withBucketCountByEncryptionType(BucketCountByEncryptionType bucketCountByEncryptionType)
The total number of buckets that use certain types of server-side encryption to encrypt new objects by default.
|
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 uploaded to the buckets.
|
GetBucketStatisticsResult |
withBucketCountBySharedAccessType(BucketCountBySharedAccessType bucketCountBySharedAccessType)
The total number of buckets that are or aren't shared with another Amazon Web Services account.
|
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 both bucket and
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 based on a combination of permissions settings for each bucket.
bucketCountByEffectivePermission
- The total number of buckets that are publicly accessible based on a combination of permissions settings
for each bucket.public BucketCountByEffectivePermission getBucketCountByEffectivePermission()
The total number of buckets that are publicly accessible based on a combination of permissions settings for each bucket.
public GetBucketStatisticsResult withBucketCountByEffectivePermission(BucketCountByEffectivePermission bucketCountByEffectivePermission)
The total number of buckets that are publicly accessible based on a combination of permissions settings for each bucket.
bucketCountByEffectivePermission
- The total number of buckets that are publicly accessible based on a combination of permissions settings
for each bucket.public void setBucketCountByEncryptionType(BucketCountByEncryptionType bucketCountByEncryptionType)
The total number of buckets that use certain types of server-side encryption to encrypt new objects by default. This object also reports the total number of buckets that don't encrypt new objects by default.
bucketCountByEncryptionType
- The total number of buckets that use certain types of server-side encryption to encrypt new objects by
default. This object also reports the total number of buckets that don't encrypt new objects by default.public BucketCountByEncryptionType getBucketCountByEncryptionType()
The total number of buckets that use certain types of server-side encryption to encrypt new objects by default. This object also reports the total number of buckets that don't encrypt new objects by default.
public GetBucketStatisticsResult withBucketCountByEncryptionType(BucketCountByEncryptionType bucketCountByEncryptionType)
The total number of buckets that use certain types of server-side encryption to encrypt new objects by default. This object also reports the total number of buckets that don't encrypt new objects by default.
bucketCountByEncryptionType
- The total number of buckets that use certain types of server-side encryption to encrypt new objects by
default. This object also reports the total number of buckets that don't encrypt new objects by default.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 uploaded 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 uploaded 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 uploaded 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 uploaded 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 uploaded to the buckets.public void setBucketCountBySharedAccessType(BucketCountBySharedAccessType bucketCountBySharedAccessType)
The total number of buckets that are or aren't shared with another Amazon Web Services account.
bucketCountBySharedAccessType
- The total number of buckets that are or aren't shared with another Amazon Web Services account.public BucketCountBySharedAccessType getBucketCountBySharedAccessType()
The total number of buckets that are or aren't shared with another Amazon Web Services account.
public GetBucketStatisticsResult withBucketCountBySharedAccessType(BucketCountBySharedAccessType bucketCountBySharedAccessType)
The total number of buckets that are or aren't shared with another Amazon Web Services account.
bucketCountBySharedAccessType
- The total number of buckets that are or aren't shared with another Amazon Web Services account.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, Macie calculates this value based on the size of the latest version of each applicable object in those 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, Macie calculates this value based on the size of the latest version of each applicable object in those 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, Macie calculates this value based on the size of the latest version of each applicable object in those 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, Macie calculates this value based on the size of the latest version of each applicable object in those 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, Macie calculates this value based on the size of the latest version of each applicable object in those 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, Macie calculates this value based on the size of the latest version of each applicable object in those 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 both bucket and 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 both
bucket and 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 both bucket and 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 both bucket and 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 both
bucket and 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, Amazon Macie calculates this value based on the size of the latest version of each object in those 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, Amazon Macie calculates this value based on the size of the latest version of each object in those 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, Amazon Macie calculates this value based on the size of the latest version of each object in those 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, Amazon Macie calculates this value based on the size of the latest version of each object in those 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, Amazon Macie calculates this value based on the size of the latest version of each object in those 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, Amazon Macie calculates this value based on the size of the latest version of each object in those 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, Amazon Macie calculates this value based on the size of the latest version of each applicable object in those 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, Amazon Macie calculates this value based on the size of the latest version of each applicable object in those 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, Amazon Macie calculates this value based on the size of the latest version of each applicable object in those 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, Amazon Macie calculates this value based on the size of the latest version of each applicable object in those 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, Amazon Macie calculates this value based on the size of the latest version of each applicable object in those 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, Amazon Macie calculates this value based on the size of the latest version of each applicable object in those 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()