Interface GetBucketStatisticsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetBucketStatisticsResponse.Builder,GetBucketStatisticsResponse>, Macie2Response.Builder, SdkBuilder<GetBucketStatisticsResponse.Builder,GetBucketStatisticsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetBucketStatisticsResponse

public static interface GetBucketStatisticsResponse.Builder extends Macie2Response.Builder, SdkPojo, CopyableBuilder<GetBucketStatisticsResponse.Builder,GetBucketStatisticsResponse>
  • Method Details

    • 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.
    • bucketCountByEffectivePermission

      default GetBucketStatisticsResponse.Builder bucketCountByEffectivePermission(Consumer<BucketCountByEffectivePermission.Builder> bucketCountByEffectivePermission)

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

      This is a convenience method that creates an instance of the BucketCountByEffectivePermission.Builder avoiding the need to create one manually via BucketCountByEffectivePermission.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to bucketCountByEffectivePermission(BucketCountByEffectivePermission).

      Parameters:
      bucketCountByEffectivePermission - a consumer that will call methods on BucketCountByEffectivePermission.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • bucketCountByEncryptionType

      default GetBucketStatisticsResponse.Builder bucketCountByEncryptionType(Consumer<BucketCountByEncryptionType.Builder> 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.

      This is a convenience method that creates an instance of the BucketCountByEncryptionType.Builder avoiding the need to create one manually via BucketCountByEncryptionType.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to bucketCountByEncryptionType(BucketCountByEncryptionType).

      Parameters:
      bucketCountByEncryptionType - a consumer that will call methods on BucketCountByEncryptionType.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • bucketCountByObjectEncryptionRequirement

      default GetBucketStatisticsResponse.Builder bucketCountByObjectEncryptionRequirement(Consumer<BucketCountPolicyAllowsUnencryptedObjectUploads.Builder> 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.

      This is a convenience method that creates an instance of the BucketCountPolicyAllowsUnencryptedObjectUploads.Builder avoiding the need to create one manually via BucketCountPolicyAllowsUnencryptedObjectUploads.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to bucketCountByObjectEncryptionRequirement(BucketCountPolicyAllowsUnencryptedObjectUploads).

      Parameters:
      bucketCountByObjectEncryptionRequirement - a consumer that will call methods on BucketCountPolicyAllowsUnencryptedObjectUploads.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • bucketCountBySharedAccessType

      default GetBucketStatisticsResponse.Builder bucketCountBySharedAccessType(Consumer<BucketCountBySharedAccessType.Builder> 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).

      This is a convenience method that creates an instance of the BucketCountBySharedAccessType.Builder avoiding the need to create one manually via BucketCountBySharedAccessType.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to bucketCountBySharedAccessType(BucketCountBySharedAccessType).

      Parameters:
      bucketCountBySharedAccessType - a consumer that will call methods on BucketCountBySharedAccessType.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 each statistic 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 each statistic is 0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bucketStatisticsBySensitivity

      default GetBucketStatisticsResponse.Builder bucketStatisticsBySensitivity(Consumer<BucketStatisticsBySensitivity.Builder> 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.

      This is a convenience method that creates an instance of the BucketStatisticsBySensitivity.Builder avoiding the need to create one manually via BucketStatisticsBySensitivity.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to bucketStatisticsBySensitivity(BucketStatisticsBySensitivity).

      Parameters:
      bucketStatisticsBySensitivity - a consumer that will call methods on BucketStatisticsBySensitivity.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • unclassifiableObjectCount

      default GetBucketStatisticsResponse.Builder unclassifiableObjectCount(Consumer<ObjectLevelStatistics.Builder> 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.

      This is a convenience method that creates an instance of the ObjectLevelStatistics.Builder avoiding the need to create one manually via ObjectLevelStatistics.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to unclassifiableObjectCount(ObjectLevelStatistics).

      Parameters:
      unclassifiableObjectCount - a consumer that will call methods on ObjectLevelStatistics.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • unclassifiableObjectSizeInBytes

      default GetBucketStatisticsResponse.Builder unclassifiableObjectSizeInBytes(Consumer<ObjectLevelStatistics.Builder> 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.

      This is a convenience method that creates an instance of the ObjectLevelStatistics.Builder avoiding the need to create one manually via ObjectLevelStatistics.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to unclassifiableObjectSizeInBytes(ObjectLevelStatistics).

      Parameters:
      unclassifiableObjectSizeInBytes - a consumer that will call methods on ObjectLevelStatistics.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: