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's associated with 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 |
lastUpdated(Instant lastUpdated)
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie last analyzed the bucket.
|
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.
|
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's associated with the bucket.
accountId - The unique identifier for the AWS account that's associated with 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 file format, file extension, or content type that Amazon Macie supports.
classifiableObjectCount - The total number of objects that Amazon Macie can analyze in the bucket. These objects use a file
format, file extension, or content type that Amazon Macie supports.BucketMetadata.Builder lastUpdated(Instant lastUpdated)
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie last analyzed the bucket.
lastUpdated - The date and time, in UTC and extended ISO 8601 format, when Amazon Macie last analyzed the bucket.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. Valid 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.
sharedAccess - Specifies whether the bucket is shared with another AWS account. Valid 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.
SharedAccess,
SharedAccessBucketMetadata.Builder sharedAccess(SharedAccess sharedAccess)
Specifies whether the bucket is shared with another AWS account. Valid 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.
sharedAccess - Specifies whether the bucket is shared with another AWS account. Valid 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.
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 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.