@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MatchingBucket extends Object implements Serializable, Cloneable, StructuredPojo
Provides statistical data and other information about an S3 bucket that Amazon Macie monitors and analyzes for your account. By default, object count and storage size values include data for object parts that are the result of incomplete multipart uploads. For more information, see How Macie monitors Amazon S3 data security in the Amazon Macie User Guide.
If an error occurs when Macie attempts to retrieve and process information about the bucket or the bucket's objects, the value for most of these properties is null. Key exceptions are accountId and bucketName. To identify the cause of the error, refer to the errorCode and errorMessage values.
Constructor and Description |
---|
MatchingBucket() |
Modifier and Type | Method and Description |
---|---|
MatchingBucket |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The unique identifier for the Amazon Web Services account that owns the bucket.
|
String |
getAutomatedDiscoveryMonitoringStatus()
Specifies whether automated sensitive data discovery is currently configured to analyze objects in the bucket.
|
String |
getBucketName()
The name of the bucket.
|
Long |
getClassifiableObjectCount()
The total number of objects that Amazon Macie can analyze in the bucket.
|
Long |
getClassifiableSizeInBytes()
The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket.
|
String |
getErrorCode()
The error code for an error that prevented Amazon Macie from retrieving and processing information about the
bucket and the bucket's objects.
|
String |
getErrorMessage()
A brief description of the error (errorCode) that prevented Amazon Macie from retrieving and processing
information about the bucket and the bucket's objects.
|
JobDetails |
getJobDetails()
Specifies whether any one-time or recurring classification jobs are configured to analyze objects in the bucket,
and, if so, the details of the job that ran most recently.
|
Date |
getLastAutomatedDiscoveryTime()
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently analyzed objects in the
bucket while performing automated sensitive data discovery.
|
Long |
getObjectCount()
The total number of objects in the bucket.
|
ObjectCountByEncryptionType |
getObjectCountByEncryptionType()
The total number of objects in the bucket, grouped by server-side encryption type.
|
Integer |
getSensitivityScore()
The sensitivity score for the bucket, ranging from -1 (classification error) to 100 (sensitive).
|
Long |
getSizeInBytes()
The total storage size, in bytes, of the bucket.
|
Long |
getSizeInBytesCompressed()
The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket.
|
ObjectLevelStatistics |
getUnclassifiableObjectCount()
The total number of objects that Amazon Macie can't analyze in the bucket.
|
ObjectLevelStatistics |
getUnclassifiableObjectSizeInBytes()
The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The unique identifier for the Amazon Web Services account that owns the bucket.
|
void |
setAutomatedDiscoveryMonitoringStatus(String automatedDiscoveryMonitoringStatus)
Specifies whether automated sensitive data discovery is currently configured to analyze objects in the bucket.
|
void |
setBucketName(String bucketName)
The name of the bucket.
|
void |
setClassifiableObjectCount(Long classifiableObjectCount)
The total number of objects that Amazon Macie can analyze in the bucket.
|
void |
setClassifiableSizeInBytes(Long classifiableSizeInBytes)
The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket.
|
void |
setErrorCode(String errorCode)
The error code for an error that prevented Amazon Macie from retrieving and processing information about the
bucket and the bucket's objects.
|
void |
setErrorMessage(String errorMessage)
A brief description of the error (errorCode) that prevented Amazon Macie from retrieving and processing
information about the bucket and the bucket's objects.
|
void |
setJobDetails(JobDetails jobDetails)
Specifies whether any one-time or recurring classification jobs are configured to analyze objects in the bucket,
and, if so, the details of the job that ran most recently.
|
void |
setLastAutomatedDiscoveryTime(Date lastAutomatedDiscoveryTime)
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently analyzed objects in the
bucket while performing automated sensitive data discovery.
|
void |
setObjectCount(Long objectCount)
The total number of objects in the bucket.
|
void |
setObjectCountByEncryptionType(ObjectCountByEncryptionType objectCountByEncryptionType)
The total number of objects in the bucket, grouped by server-side encryption type.
|
void |
setSensitivityScore(Integer sensitivityScore)
The sensitivity score for the bucket, ranging from -1 (classification error) to 100 (sensitive).
|
void |
setSizeInBytes(Long sizeInBytes)
The total storage size, in bytes, of the bucket.
|
void |
setSizeInBytesCompressed(Long sizeInBytesCompressed)
The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket.
|
void |
setUnclassifiableObjectCount(ObjectLevelStatistics unclassifiableObjectCount)
The total number of objects that Amazon Macie can't analyze in the bucket.
|
void |
setUnclassifiableObjectSizeInBytes(ObjectLevelStatistics unclassifiableObjectSizeInBytes)
The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the bucket.
|
String |
toString()
Returns a string representation of this object.
|
MatchingBucket |
withAccountId(String accountId)
The unique identifier for the Amazon Web Services account that owns the bucket.
|
MatchingBucket |
withAutomatedDiscoveryMonitoringStatus(AutomatedDiscoveryMonitoringStatus automatedDiscoveryMonitoringStatus)
Specifies whether automated sensitive data discovery is currently configured to analyze objects in the bucket.
|
MatchingBucket |
withAutomatedDiscoveryMonitoringStatus(String automatedDiscoveryMonitoringStatus)
Specifies whether automated sensitive data discovery is currently configured to analyze objects in the bucket.
|
MatchingBucket |
withBucketName(String bucketName)
The name of the bucket.
|
MatchingBucket |
withClassifiableObjectCount(Long classifiableObjectCount)
The total number of objects that Amazon Macie can analyze in the bucket.
|
MatchingBucket |
withClassifiableSizeInBytes(Long classifiableSizeInBytes)
The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket.
|
MatchingBucket |
withErrorCode(BucketMetadataErrorCode errorCode)
The error code for an error that prevented Amazon Macie from retrieving and processing information about the
bucket and the bucket's objects.
|
MatchingBucket |
withErrorCode(String errorCode)
The error code for an error that prevented Amazon Macie from retrieving and processing information about the
bucket and the bucket's objects.
|
MatchingBucket |
withErrorMessage(String errorMessage)
A brief description of the error (errorCode) that prevented Amazon Macie from retrieving and processing
information about the bucket and the bucket's objects.
|
MatchingBucket |
withJobDetails(JobDetails jobDetails)
Specifies whether any one-time or recurring classification jobs are configured to analyze objects in the bucket,
and, if so, the details of the job that ran most recently.
|
MatchingBucket |
withLastAutomatedDiscoveryTime(Date lastAutomatedDiscoveryTime)
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently analyzed objects in the
bucket while performing automated sensitive data discovery.
|
MatchingBucket |
withObjectCount(Long objectCount)
The total number of objects in the bucket.
|
MatchingBucket |
withObjectCountByEncryptionType(ObjectCountByEncryptionType objectCountByEncryptionType)
The total number of objects in the bucket, grouped by server-side encryption type.
|
MatchingBucket |
withSensitivityScore(Integer sensitivityScore)
The sensitivity score for the bucket, ranging from -1 (classification error) to 100 (sensitive).
|
MatchingBucket |
withSizeInBytes(Long sizeInBytes)
The total storage size, in bytes, of the bucket.
|
MatchingBucket |
withSizeInBytesCompressed(Long sizeInBytesCompressed)
The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket.
|
MatchingBucket |
withUnclassifiableObjectCount(ObjectLevelStatistics unclassifiableObjectCount)
The total number of objects that Amazon Macie can't analyze in the bucket.
|
MatchingBucket |
withUnclassifiableObjectSizeInBytes(ObjectLevelStatistics unclassifiableObjectSizeInBytes)
The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the bucket.
|
public void setAccountId(String accountId)
The unique identifier for the Amazon Web Services account that owns the bucket.
accountId
- The unique identifier for the Amazon Web Services account that owns the bucket.public String getAccountId()
The unique identifier for the Amazon Web Services account that owns the bucket.
public MatchingBucket withAccountId(String accountId)
The unique identifier for the Amazon Web Services account that owns the bucket.
accountId
- The unique identifier for the Amazon Web Services account that owns the bucket.public void setAutomatedDiscoveryMonitoringStatus(String automatedDiscoveryMonitoringStatus)
Specifies whether automated sensitive data discovery is currently configured to analyze objects in the bucket. Possible values are: MONITORED, the bucket is included in analyses; and, NOT_MONITORED, the bucket is excluded from analyses. If automated sensitive data discovery is disabled for your account, this value is NOT_MONITORED.
automatedDiscoveryMonitoringStatus
- Specifies whether automated sensitive data discovery is currently configured to analyze objects in the
bucket. Possible values are: MONITORED, the bucket is included in analyses; and, NOT_MONITORED, the bucket
is excluded from analyses. If automated sensitive data discovery is disabled for your account, this value
is NOT_MONITORED.AutomatedDiscoveryMonitoringStatus
public String getAutomatedDiscoveryMonitoringStatus()
Specifies whether automated sensitive data discovery is currently configured to analyze objects in the bucket. Possible values are: MONITORED, the bucket is included in analyses; and, NOT_MONITORED, the bucket is excluded from analyses. If automated sensitive data discovery is disabled for your account, this value is NOT_MONITORED.
AutomatedDiscoveryMonitoringStatus
public MatchingBucket withAutomatedDiscoveryMonitoringStatus(String automatedDiscoveryMonitoringStatus)
Specifies whether automated sensitive data discovery is currently configured to analyze objects in the bucket. Possible values are: MONITORED, the bucket is included in analyses; and, NOT_MONITORED, the bucket is excluded from analyses. If automated sensitive data discovery is disabled for your account, this value is NOT_MONITORED.
automatedDiscoveryMonitoringStatus
- Specifies whether automated sensitive data discovery is currently configured to analyze objects in the
bucket. Possible values are: MONITORED, the bucket is included in analyses; and, NOT_MONITORED, the bucket
is excluded from analyses. If automated sensitive data discovery is disabled for your account, this value
is NOT_MONITORED.AutomatedDiscoveryMonitoringStatus
public MatchingBucket withAutomatedDiscoveryMonitoringStatus(AutomatedDiscoveryMonitoringStatus automatedDiscoveryMonitoringStatus)
Specifies whether automated sensitive data discovery is currently configured to analyze objects in the bucket. Possible values are: MONITORED, the bucket is included in analyses; and, NOT_MONITORED, the bucket is excluded from analyses. If automated sensitive data discovery is disabled for your account, this value is NOT_MONITORED.
automatedDiscoveryMonitoringStatus
- Specifies whether automated sensitive data discovery is currently configured to analyze objects in the
bucket. Possible values are: MONITORED, the bucket is included in analyses; and, NOT_MONITORED, the bucket
is excluded from analyses. If automated sensitive data discovery is disabled for your account, this value
is NOT_MONITORED.AutomatedDiscoveryMonitoringStatus
public void setBucketName(String bucketName)
The name of the bucket.
bucketName
- The name of the bucket.public String getBucketName()
The name of the bucket.
public MatchingBucket withBucketName(String bucketName)
The name of the bucket.
bucketName
- The name of the bucket.public void setClassifiableObjectCount(Long classifiableObjectCount)
The total number of objects that Amazon Macie can analyze in the bucket. 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 bucket. 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 bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.
public MatchingBucket withClassifiableObjectCount(Long classifiableObjectCount)
The total number of objects that Amazon Macie can analyze in the bucket. 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 bucket. 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 the objects that Amazon Macie can analyze in the bucket. 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 the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
classifiableSizeInBytes
- The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket. 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 the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
public Long getClassifiableSizeInBytes()
The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket. 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 the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
If versioning is enabled for the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
public MatchingBucket withClassifiableSizeInBytes(Long classifiableSizeInBytes)
The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket. 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 the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
classifiableSizeInBytes
- The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket. 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 the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
public void setErrorCode(String errorCode)
The error code for an error that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. If this value is ACCESS_DENIED, Macie doesn't have permission to retrieve the information. For example, the bucket has a restrictive bucket policy and Amazon S3 denied the request. If this value is null, Macie was able to retrieve and process the information.
errorCode
- The error code for an error that prevented Amazon Macie from retrieving and processing information about
the bucket and the bucket's objects. If this value is ACCESS_DENIED, Macie doesn't have permission to
retrieve the information. For example, the bucket has a restrictive bucket policy and Amazon S3 denied the
request. If this value is null, Macie was able to retrieve and process the information.BucketMetadataErrorCode
public String getErrorCode()
The error code for an error that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. If this value is ACCESS_DENIED, Macie doesn't have permission to retrieve the information. For example, the bucket has a restrictive bucket policy and Amazon S3 denied the request. If this value is null, Macie was able to retrieve and process the information.
BucketMetadataErrorCode
public MatchingBucket withErrorCode(String errorCode)
The error code for an error that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. If this value is ACCESS_DENIED, Macie doesn't have permission to retrieve the information. For example, the bucket has a restrictive bucket policy and Amazon S3 denied the request. If this value is null, Macie was able to retrieve and process the information.
errorCode
- The error code for an error that prevented Amazon Macie from retrieving and processing information about
the bucket and the bucket's objects. If this value is ACCESS_DENIED, Macie doesn't have permission to
retrieve the information. For example, the bucket has a restrictive bucket policy and Amazon S3 denied the
request. If this value is null, Macie was able to retrieve and process the information.BucketMetadataErrorCode
public MatchingBucket withErrorCode(BucketMetadataErrorCode errorCode)
The error code for an error that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. If this value is ACCESS_DENIED, Macie doesn't have permission to retrieve the information. For example, the bucket has a restrictive bucket policy and Amazon S3 denied the request. If this value is null, Macie was able to retrieve and process the information.
errorCode
- The error code for an error that prevented Amazon Macie from retrieving and processing information about
the bucket and the bucket's objects. If this value is ACCESS_DENIED, Macie doesn't have permission to
retrieve the information. For example, the bucket has a restrictive bucket policy and Amazon S3 denied the
request. If this value is null, Macie was able to retrieve and process the information.BucketMetadataErrorCode
public void setErrorMessage(String errorMessage)
A brief description of the error (errorCode) that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. This value is null if Macie was able to retrieve and process the information.
errorMessage
- A brief description of the error (errorCode) that prevented Amazon Macie from retrieving and processing
information about the bucket and the bucket's objects. This value is null if Macie was able to retrieve
and process the information.public String getErrorMessage()
A brief description of the error (errorCode) that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. This value is null if Macie was able to retrieve and process the information.
public MatchingBucket withErrorMessage(String errorMessage)
A brief description of the error (errorCode) that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. This value is null if Macie was able to retrieve and process the information.
errorMessage
- A brief description of the error (errorCode) that prevented Amazon Macie from retrieving and processing
information about the bucket and the bucket's objects. This value is null if Macie was able to retrieve
and process the information.public void setJobDetails(JobDetails jobDetails)
Specifies whether any one-time or recurring classification jobs are configured to analyze objects in the bucket, and, if so, the details of the job that ran most recently.
jobDetails
- Specifies whether any one-time or recurring classification jobs are configured to analyze objects in the
bucket, and, if so, the details of the job that ran most recently.public JobDetails getJobDetails()
Specifies whether any one-time or recurring classification jobs are configured to analyze objects in the bucket, and, if so, the details of the job that ran most recently.
public MatchingBucket withJobDetails(JobDetails jobDetails)
Specifies whether any one-time or recurring classification jobs are configured to analyze objects in the bucket, and, if so, the details of the job that ran most recently.
jobDetails
- Specifies whether any one-time or recurring classification jobs are configured to analyze objects in the
bucket, and, if so, the details of the job that ran most recently.public void setLastAutomatedDiscoveryTime(Date lastAutomatedDiscoveryTime)
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently analyzed objects in the bucket while performing automated sensitive data discovery. This value is null if automated sensitive data discovery is disabled for your account.
lastAutomatedDiscoveryTime
- The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently analyzed objects
in the bucket while performing automated sensitive data discovery. This value is null if automated
sensitive data discovery is disabled for your account.public Date getLastAutomatedDiscoveryTime()
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently analyzed objects in the bucket while performing automated sensitive data discovery. This value is null if automated sensitive data discovery is disabled for your account.
public MatchingBucket withLastAutomatedDiscoveryTime(Date lastAutomatedDiscoveryTime)
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently analyzed objects in the bucket while performing automated sensitive data discovery. This value is null if automated sensitive data discovery is disabled for your account.
lastAutomatedDiscoveryTime
- The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently analyzed objects
in the bucket while performing automated sensitive data discovery. This value is null if automated
sensitive data discovery is disabled for your account.public void setObjectCount(Long objectCount)
The total number of objects in the bucket.
objectCount
- The total number of objects in the bucket.public Long getObjectCount()
The total number of objects in the bucket.
public MatchingBucket withObjectCount(Long objectCount)
The total number of objects in the bucket.
objectCount
- The total number of objects in the bucket.public void setObjectCountByEncryptionType(ObjectCountByEncryptionType objectCountByEncryptionType)
The total number of objects in the bucket, grouped by server-side encryption type. This includes a grouping that reports the total number of objects that aren't encrypted or use client-side encryption.
objectCountByEncryptionType
- The total number of objects in the bucket, grouped by server-side encryption type. This includes a
grouping that reports the total number of objects that aren't encrypted or use client-side encryption.public ObjectCountByEncryptionType getObjectCountByEncryptionType()
The total number of objects in the bucket, grouped by server-side encryption type. This includes a grouping that reports the total number of objects that aren't encrypted or use client-side encryption.
public MatchingBucket withObjectCountByEncryptionType(ObjectCountByEncryptionType objectCountByEncryptionType)
The total number of objects in the bucket, grouped by server-side encryption type. This includes a grouping that reports the total number of objects that aren't encrypted or use client-side encryption.
objectCountByEncryptionType
- The total number of objects in the bucket, grouped by server-side encryption type. This includes a
grouping that reports the total number of objects that aren't encrypted or use client-side encryption.public void setSensitivityScore(Integer sensitivityScore)
The sensitivity score for the bucket, ranging from -1 (classification error) to 100 (sensitive).
If automated sensitive data discovery has never been enabled for your account or it’s been disabled for your organization or your standalone account for more than 30 days, possible values are: 1, the bucket is empty; or, 50, the bucket stores objects but it’s been excluded from recent analyses.
sensitivityScore
- The sensitivity score for the bucket, ranging from -1 (classification error) to 100 (sensitive).
If automated sensitive data discovery has never been enabled for your account or it’s been disabled for your organization or your standalone account for more than 30 days, possible values are: 1, the bucket is empty; or, 50, the bucket stores objects but it’s been excluded from recent analyses.
public Integer getSensitivityScore()
The sensitivity score for the bucket, ranging from -1 (classification error) to 100 (sensitive).
If automated sensitive data discovery has never been enabled for your account or it’s been disabled for your organization or your standalone account for more than 30 days, possible values are: 1, the bucket is empty; or, 50, the bucket stores objects but it’s been excluded from recent analyses.
If automated sensitive data discovery has never been enabled for your account or it’s been disabled for your organization or your standalone account for more than 30 days, possible values are: 1, the bucket is empty; or, 50, the bucket stores objects but it’s been excluded from recent analyses.
public MatchingBucket withSensitivityScore(Integer sensitivityScore)
The sensitivity score for the bucket, ranging from -1 (classification error) to 100 (sensitive).
If automated sensitive data discovery has never been enabled for your account or it’s been disabled for your organization or your standalone account for more than 30 days, possible values are: 1, the bucket is empty; or, 50, the bucket stores objects but it’s been excluded from recent analyses.
sensitivityScore
- The sensitivity score for the bucket, ranging from -1 (classification error) to 100 (sensitive).
If automated sensitive data discovery has never been enabled for your account or it’s been disabled for your organization or your standalone account for more than 30 days, possible values are: 1, the bucket is empty; or, 50, the bucket stores objects but it’s been excluded from recent analyses.
public void setSizeInBytes(Long sizeInBytes)
The total storage size, in bytes, of the bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each object in the bucket. This value doesn't reflect the storage size of all versions of each object in the bucket.
sizeInBytes
- The total storage size, in bytes, of the bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each object in the bucket. This value doesn't reflect the storage size of all versions of each object in the bucket.
public Long getSizeInBytes()
The total storage size, in bytes, of the bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each object in the bucket. This value doesn't reflect the storage size of all versions of each object in the bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each object in the bucket. This value doesn't reflect the storage size of all versions of each object in the bucket.
public MatchingBucket withSizeInBytes(Long sizeInBytes)
The total storage size, in bytes, of the bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each object in the bucket. This value doesn't reflect the storage size of all versions of each object in the bucket.
sizeInBytes
- The total storage size, in bytes, of the bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each object in the bucket. This value doesn't reflect the storage size of all versions of each object in the bucket.
public void setSizeInBytesCompressed(Long sizeInBytesCompressed)
The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
sizeInBytesCompressed
- The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the
bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
public Long getSizeInBytesCompressed()
The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
public MatchingBucket withSizeInBytesCompressed(Long sizeInBytesCompressed)
The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
sizeInBytesCompressed
- The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the
bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
public void setUnclassifiableObjectCount(ObjectLevelStatistics unclassifiableObjectCount)
The total number of objects that Amazon Macie can't analyze in the bucket. 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 bucket. 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 bucket. 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 MatchingBucket withUnclassifiableObjectCount(ObjectLevelStatistics unclassifiableObjectCount)
The total number of objects that Amazon Macie can't analyze in the bucket. 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 bucket. 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 bucket. 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 bucket. 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 bucket. 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 MatchingBucket withUnclassifiableObjectSizeInBytes(ObjectLevelStatistics unclassifiableObjectSizeInBytes)
The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the bucket. 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 bucket. 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 MatchingBucket clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.