public static interface BucketMetadata.Builder extends SdkPojo, CopyableBuilder<BucketMetadata.Builder,BucketMetadata>
| Modifier and Type | Method and Description |
|---|---|
BucketMetadata.Builder |
accountId(String accountId)
The unique identifier for the AWS account that owns the bucket.
|
BucketMetadata.Builder |
bucketArn(String bucketArn)
The Amazon Resource Name (ARN) of the bucket.
|
BucketMetadata.Builder |
bucketCreatedAt(Instant bucketCreatedAt)
The date and time, in UTC and extended ISO 8601 format, when the bucket was created.
|
BucketMetadata.Builder |
bucketName(String bucketName)
The name of the bucket.
|
BucketMetadata.Builder |
classifiableObjectCount(Long classifiableObjectCount)
The total number of objects that Amazon Macie can analyze in the bucket.
|
BucketMetadata.Builder |
classifiableSizeInBytes(Long classifiableSizeInBytes)
The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket.
|
default BucketMetadata.Builder |
jobDetails(Consumer<JobDetails.Builder> jobDetails)
Specifies whether any one-time or recurring classification jobs are configured to analyze data in the bucket,
and, if so, the details of the job that ran most recently.
|
BucketMetadata.Builder |
jobDetails(JobDetails jobDetails)
Specifies whether any one-time or recurring classification jobs are configured to analyze data in the bucket,
and, if so, the details of the job that ran most recently.
|
BucketMetadata.Builder |
lastUpdated(Instant lastUpdated)
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved data about
the bucket from Amazon S3.
|
BucketMetadata.Builder |
objectCount(Long objectCount)
The total number of objects in the bucket.
|
default BucketMetadata.Builder |
objectCountByEncryptionType(Consumer<ObjectCountByEncryptionType.Builder> objectCountByEncryptionType)
The total number of objects that are in the bucket, grouped by server-side encryption type.
|
BucketMetadata.Builder |
objectCountByEncryptionType(ObjectCountByEncryptionType objectCountByEncryptionType)
The total number of objects that are in the bucket, grouped by server-side encryption type.
|
BucketMetadata.Builder |
publicAccess(BucketPublicAccess publicAccess)
Specifies whether the bucket is publicly accessible.
|
default BucketMetadata.Builder |
publicAccess(Consumer<BucketPublicAccess.Builder> publicAccess)
Specifies whether the bucket is publicly accessible.
|
BucketMetadata.Builder |
region(String region)
The AWS Region that hosts the bucket.
|
default BucketMetadata.Builder |
replicationDetails(Consumer<ReplicationDetails.Builder> replicationDetails)
Specifies whether the bucket is configured to replicate one or more objects to buckets for other AWS accounts
and, if so, which accounts.
|
BucketMetadata.Builder |
replicationDetails(ReplicationDetails replicationDetails)
Specifies whether the bucket is configured to replicate one or more objects to buckets for other AWS accounts
and, if so, which accounts.
|
BucketMetadata.Builder |
sharedAccess(SharedAccess sharedAccess)
Specifies whether the bucket is shared with another AWS account.
|
BucketMetadata.Builder |
sharedAccess(String sharedAccess)
Specifies whether the bucket is shared with another AWS account.
|
BucketMetadata.Builder |
sizeInBytes(Long sizeInBytes)
The total storage size, in bytes, of the bucket.
|
BucketMetadata.Builder |
sizeInBytesCompressed(Long sizeInBytesCompressed)
The total compressed storage size, in bytes, of the bucket.
|
BucketMetadata.Builder |
tags(Collection<KeyValuePair> tags)
An array that specifies the tags (keys and values) that are associated with the bucket.
|
BucketMetadata.Builder |
tags(Consumer<KeyValuePair.Builder>... tags)
An array that specifies the tags (keys and values) that are associated with the bucket.
|
BucketMetadata.Builder |
tags(KeyValuePair... tags)
An array that specifies the tags (keys and values) that are associated with the bucket.
|
default BucketMetadata.Builder |
unclassifiableObjectCount(Consumer<ObjectLevelStatistics.Builder> unclassifiableObjectCount)
The total number of objects that Amazon Macie can't analyze in the bucket.
|
BucketMetadata.Builder |
unclassifiableObjectCount(ObjectLevelStatistics unclassifiableObjectCount)
The total number of objects that Amazon Macie can't analyze in the bucket.
|
default BucketMetadata.Builder |
unclassifiableObjectSizeInBytes(Consumer<ObjectLevelStatistics.Builder> unclassifiableObjectSizeInBytes)
The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the bucket.
|
BucketMetadata.Builder |
unclassifiableObjectSizeInBytes(ObjectLevelStatistics unclassifiableObjectSizeInBytes)
The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the bucket.
|
BucketMetadata.Builder |
versioning(Boolean versioning)
Specifies whether versioning is enabled for the bucket.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildBucketMetadata.Builder accountId(String accountId)
The unique identifier for the AWS account that owns the bucket.
accountId - The unique identifier for the AWS account that owns the bucket.BucketMetadata.Builder bucketArn(String bucketArn)
The Amazon Resource Name (ARN) of the bucket.
bucketArn - The Amazon Resource Name (ARN) of the bucket.BucketMetadata.Builder bucketCreatedAt(Instant bucketCreatedAt)
The date and time, in UTC and extended ISO 8601 format, when the bucket was created.
bucketCreatedAt - The date and time, in UTC and extended ISO 8601 format, when the bucket was created.BucketMetadata.Builder bucketName(String bucketName)
The name of the bucket.
bucketName - The name of the bucket.BucketMetadata.Builder classifiableObjectCount(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.BucketMetadata.Builder classifiableSizeInBytes(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.
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.BucketMetadata.Builder jobDetails(JobDetails jobDetails)
Specifies whether any one-time or recurring classification jobs are configured to analyze data 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 data in the
bucket, and, if so, the details of the job that ran most recently.default BucketMetadata.Builder jobDetails(Consumer<JobDetails.Builder> jobDetails)
Specifies whether any one-time or recurring classification jobs are configured to analyze data in the bucket, and, if so, the details of the job that ran most recently.
This is a convenience that creates an instance of theJobDetails.Builder avoiding the need to create
one manually via JobDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to jobDetails(JobDetails).jobDetails - a consumer that will call methods on JobDetails.BuilderjobDetails(JobDetails)BucketMetadata.Builder lastUpdated(Instant lastUpdated)
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved data about the bucket from Amazon S3.
lastUpdated - The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved data
about the bucket from Amazon S3.BucketMetadata.Builder objectCount(Long objectCount)
The total number of objects in the bucket.
objectCount - The total number of objects in the bucket.BucketMetadata.Builder objectCountByEncryptionType(ObjectCountByEncryptionType objectCountByEncryptionType)
The total number of objects that are 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 that are 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.default BucketMetadata.Builder objectCountByEncryptionType(Consumer<ObjectCountByEncryptionType.Builder> objectCountByEncryptionType)
The total number of objects that are 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.
This is a convenience that creates an instance of theObjectCountByEncryptionType.Builder avoiding
the need to create one manually via ObjectCountByEncryptionType.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to objectCountByEncryptionType(ObjectCountByEncryptionType).objectCountByEncryptionType - a consumer that will call methods on ObjectCountByEncryptionType.BuilderobjectCountByEncryptionType(ObjectCountByEncryptionType)BucketMetadata.Builder publicAccess(BucketPublicAccess publicAccess)
Specifies whether the bucket is publicly accessible. If this value is true, an access control list (ACL), bucket policy, or block public access settings allow the bucket to be accessed by the general public.
publicAccess - Specifies whether the bucket is publicly accessible. If this value is true, an access control list
(ACL), bucket policy, or block public access settings allow the bucket to be accessed by the general
public.default BucketMetadata.Builder publicAccess(Consumer<BucketPublicAccess.Builder> publicAccess)
Specifies whether the bucket is publicly accessible. If this value is true, an access control list (ACL), bucket policy, or block public access settings allow the bucket to be accessed by the general public.
This is a convenience that creates an instance of theBucketPublicAccess.Builder avoiding the need to
create one manually via BucketPublicAccess.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to publicAccess(BucketPublicAccess).publicAccess - a consumer that will call methods on BucketPublicAccess.BuilderpublicAccess(BucketPublicAccess)BucketMetadata.Builder region(String region)
The AWS Region that hosts the bucket.
region - The AWS Region that hosts the bucket.BucketMetadata.Builder replicationDetails(ReplicationDetails replicationDetails)
Specifies whether the bucket is configured to replicate one or more objects to buckets for other AWS accounts and, if so, which accounts.
replicationDetails - Specifies whether the bucket is configured to replicate one or more objects to buckets for other AWS
accounts and, if so, which accounts.default BucketMetadata.Builder replicationDetails(Consumer<ReplicationDetails.Builder> replicationDetails)
Specifies whether the bucket is configured to replicate one or more objects to buckets for other AWS accounts and, if so, which accounts.
This is a convenience that creates an instance of theReplicationDetails.Builder avoiding the need to
create one manually via ReplicationDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to replicationDetails(ReplicationDetails).replicationDetails - a consumer that will call methods on ReplicationDetails.BuilderreplicationDetails(ReplicationDetails)BucketMetadata.Builder sharedAccess(String sharedAccess)
Specifies whether the bucket is shared with another AWS account. Possible values are:
EXTERNAL - The bucket is shared with an AWS account that isn't part of the same Amazon Macie organization.
INTERNAL - The bucket is shared with an AWS account that's part of the same Amazon Macie organization.
NOT_SHARED - The bucket isn't shared with other AWS accounts.
UNKNOWN - Amazon Macie wasn't able to evaluate the shared access settings for the bucket.
sharedAccess - Specifies whether the bucket is shared with another AWS account. Possible values are:
EXTERNAL - The bucket is shared with an AWS account that isn't part of the same Amazon Macie organization.
INTERNAL - The bucket is shared with an AWS account that's part of the same Amazon Macie organization.
NOT_SHARED - The bucket isn't shared with other AWS accounts.
UNKNOWN - Amazon Macie wasn't able to evaluate the shared access settings for the bucket.
SharedAccess,
SharedAccessBucketMetadata.Builder sharedAccess(SharedAccess sharedAccess)
Specifies whether the bucket is shared with another AWS account. Possible values are:
EXTERNAL - The bucket is shared with an AWS account that isn't part of the same Amazon Macie organization.
INTERNAL - The bucket is shared with an AWS account that's part of the same Amazon Macie organization.
NOT_SHARED - The bucket isn't shared with other AWS accounts.
UNKNOWN - Amazon Macie wasn't able to evaluate the shared access settings for the bucket.
sharedAccess - Specifies whether the bucket is shared with another AWS account. Possible values are:
EXTERNAL - The bucket is shared with an AWS account that isn't part of the same Amazon Macie organization.
INTERNAL - The bucket is shared with an AWS account that's part of the same Amazon Macie organization.
NOT_SHARED - The bucket isn't shared with other AWS accounts.
UNKNOWN - Amazon Macie wasn't able to evaluate the shared access settings for the bucket.
SharedAccess,
SharedAccessBucketMetadata.Builder sizeInBytes(Long sizeInBytes)
The total storage size, in bytes, of the bucket.
sizeInBytes - The total storage size, in bytes, of the bucket.BucketMetadata.Builder sizeInBytesCompressed(Long sizeInBytesCompressed)
The total compressed storage size, in bytes, of the bucket.
sizeInBytesCompressed - The total compressed storage size, in bytes, of the bucket.BucketMetadata.Builder tags(Collection<KeyValuePair> tags)
An array that specifies the tags (keys and values) that are associated with the bucket.
tags - An array that specifies the tags (keys and values) that are associated with the bucket.BucketMetadata.Builder tags(KeyValuePair... tags)
An array that specifies the tags (keys and values) that are associated with the bucket.
tags - An array that specifies the tags (keys and values) that are associated with the bucket.BucketMetadata.Builder tags(Consumer<KeyValuePair.Builder>... tags)
An array that specifies the tags (keys and values) that are associated with the bucket.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) BucketMetadata.Builder unclassifiableObjectCount(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.default BucketMetadata.Builder unclassifiableObjectCount(Consumer<ObjectLevelStatistics.Builder> 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.
This is a convenience that creates an instance of theObjectLevelStatistics.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).unclassifiableObjectCount - a consumer that will call methods on ObjectLevelStatistics.BuilderunclassifiableObjectCount(ObjectLevelStatistics)BucketMetadata.Builder unclassifiableObjectSizeInBytes(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.default BucketMetadata.Builder unclassifiableObjectSizeInBytes(Consumer<ObjectLevelStatistics.Builder> 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.
This is a convenience that creates an instance of theObjectLevelStatistics.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).unclassifiableObjectSizeInBytes - a consumer that will call methods on ObjectLevelStatistics.BuilderunclassifiableObjectSizeInBytes(ObjectLevelStatistics)BucketMetadata.Builder versioning(Boolean versioning)
Specifies whether versioning is enabled for the bucket.
versioning - Specifies whether versioning is enabled for the bucket.Copyright © 2020. All rights reserved.