Interface GetBucketStatisticsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetBucketStatisticsResponse.Builder,
,GetBucketStatisticsResponse> Macie2Response.Builder
,SdkBuilder<GetBucketStatisticsResponse.Builder,
,GetBucketStatisticsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetBucketStatisticsResponse
-
Method Summary
Modifier and TypeMethodDescriptionbucketCount
(Long bucketCount) The total number of buckets.bucketCountByEffectivePermission
(Consumer<BucketCountByEffectivePermission.Builder> bucketCountByEffectivePermission) The total number of buckets that are publicly accessible due to a combination of permissions settings for each bucket.bucketCountByEffectivePermission
(BucketCountByEffectivePermission bucketCountByEffectivePermission) The total number of buckets that are publicly accessible due to a combination of permissions settings for each bucket.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.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.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.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.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).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).bucketStatisticsBySensitivity
(Consumer<BucketStatisticsBySensitivity.Builder> bucketStatisticsBySensitivity) The aggregated sensitive data discovery statistics for the buckets.bucketStatisticsBySensitivity
(BucketStatisticsBySensitivity bucketStatisticsBySensitivity) The aggregated sensitive data discovery statistics for the buckets.classifiableObjectCount
(Long classifiableObjectCount) The total number of objects that Amazon Macie can analyze in the buckets.classifiableSizeInBytes
(Long classifiableSizeInBytes) The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets.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.objectCount
(Long objectCount) The total number of objects in the buckets.sizeInBytes
(Long sizeInBytes) The total storage size, in bytes, of the buckets.sizeInBytesCompressed
(Long sizeInBytesCompressed) The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets.unclassifiableObjectCount
(Consumer<ObjectLevelStatistics.Builder> unclassifiableObjectCount) The total number of objects that Amazon Macie can't analyze in the buckets.unclassifiableObjectCount
(ObjectLevelStatistics unclassifiableObjectCount) The total number of objects that Amazon Macie can't analyze in the buckets.unclassifiableObjectSizeInBytes
(Consumer<ObjectLevelStatistics.Builder> unclassifiableObjectSizeInBytes) The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the buckets.unclassifiableObjectSizeInBytes
(ObjectLevelStatistics unclassifiableObjectSizeInBytes) The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the buckets.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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 theBucketCountByEffectivePermission.Builder
avoiding the need to create one manually viaBucketCountByEffectivePermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobucketCountByEffectivePermission(BucketCountByEffectivePermission)
.- Parameters:
bucketCountByEffectivePermission
- a consumer that will call methods onBucketCountByEffectivePermission.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 theBucketCountByEncryptionType.Builder
avoiding the need to create one manually viaBucketCountByEncryptionType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobucketCountByEncryptionType(BucketCountByEncryptionType)
.- Parameters:
bucketCountByEncryptionType
- a consumer that will call methods onBucketCountByEncryptionType.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 theBucketCountPolicyAllowsUnencryptedObjectUploads.Builder
avoiding the need to create one manually viaBucketCountPolicyAllowsUnencryptedObjectUploads.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobucketCountByObjectEncryptionRequirement(BucketCountPolicyAllowsUnencryptedObjectUploads)
.- Parameters:
bucketCountByObjectEncryptionRequirement
- a consumer that will call methods onBucketCountPolicyAllowsUnencryptedObjectUploads.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 theBucketStatisticsBySensitivity.Builder
avoiding the need to create one manually viaBucketStatisticsBySensitivity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobucketStatisticsBySensitivity(BucketStatisticsBySensitivity)
.- Parameters:
bucketStatisticsBySensitivity
- a consumer that will call methods onBucketStatisticsBySensitivity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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
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 theObjectLevelStatistics.Builder
avoiding the need to create one manually viaObjectLevelStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tounclassifiableObjectCount(ObjectLevelStatistics)
.- Parameters:
unclassifiableObjectCount
- a consumer that will call methods onObjectLevelStatistics.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 theObjectLevelStatistics.Builder
avoiding the need to create one manually viaObjectLevelStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tounclassifiableObjectSizeInBytes(ObjectLevelStatistics)
.- Parameters:
unclassifiableObjectSizeInBytes
- a consumer that will call methods onObjectLevelStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-