Interface GetBucketStatisticsResponse.Builder

    • Method Detail

      • bucketCount

        GetBucketStatisticsResponse.Builder bucketCount​(Long bucketCount)

        The total number of buckets.

        Parameters:
        bucketCount - The total number of buckets.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bucketCountByEffectivePermission

        GetBucketStatisticsResponse.Builder bucketCountByEffectivePermission​(BucketCountByEffectivePermission bucketCountByEffectivePermission)

        The total number of buckets that are publicly accessible due to a combination of permissions settings for each bucket.

        Parameters:
        bucketCountByEffectivePermission - The total number of buckets that are publicly accessible due to a combination of permissions settings for each bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bucketCountByEncryptionType

        GetBucketStatisticsResponse.Builder bucketCountByEncryptionType​(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bucketCountByObjectEncryptionRequirement

        GetBucketStatisticsResponse.Builder bucketCountByObjectEncryptionRequirement​(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bucketCountBySharedAccessType

        GetBucketStatisticsResponse.Builder bucketCountBySharedAccessType​(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).

        Parameters:
        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).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bucketStatisticsBySensitivity

        GetBucketStatisticsResponse.Builder bucketStatisticsBySensitivity​(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 most statistics is 0.

        Parameters:
        bucketStatisticsBySensitivity - The aggregated sensitive data discovery statistics for the buckets. If automated sensitive data discovery is currently disabled for your account, the value for most statistics is 0.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • classifiableObjectCount

        GetBucketStatisticsResponse.Builder classifiableObjectCount​(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • classifiableSizeInBytes

        GetBucketStatisticsResponse.Builder classifiableSizeInBytes​(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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdated

        GetBucketStatisticsResponse.Builder lastUpdated​(Instant 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • objectCount

        GetBucketStatisticsResponse.Builder objectCount​(Long objectCount)

        The total number of objects in the buckets.

        Parameters:
        objectCount - The total number of objects in the buckets.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sizeInBytes

        GetBucketStatisticsResponse.Builder sizeInBytes​(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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sizeInBytesCompressed

        GetBucketStatisticsResponse.Builder sizeInBytesCompressed​(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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unclassifiableObjectCount

        GetBucketStatisticsResponse.Builder unclassifiableObjectCount​(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unclassifiableObjectSizeInBytes

        GetBucketStatisticsResponse.Builder unclassifiableObjectSizeInBytes​(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.