public static interface S3BucketDetail.Builder extends SdkPojo, CopyableBuilder<S3BucketDetail.Builder,S3BucketDetail>
Modifier and Type | Method and Description |
---|---|
S3BucketDetail.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the S3 bucket.
|
S3BucketDetail.Builder |
createdAt(Instant createdAt)
The date and time the bucket was created at.
|
default S3BucketDetail.Builder |
defaultServerSideEncryption(Consumer<DefaultServerSideEncryption.Builder> defaultServerSideEncryption)
Describes the server side encryption method used in the S3 bucket.
|
S3BucketDetail.Builder |
defaultServerSideEncryption(DefaultServerSideEncryption defaultServerSideEncryption)
Describes the server side encryption method used in the S3 bucket.
|
S3BucketDetail.Builder |
name(String name)
The name of the S3 bucket.
|
default S3BucketDetail.Builder |
owner(Consumer<Owner.Builder> owner)
The owner of the S3 bucket.
|
S3BucketDetail.Builder |
owner(Owner owner)
The owner of the S3 bucket.
|
default S3BucketDetail.Builder |
publicAccess(Consumer<PublicAccess.Builder> publicAccess)
Describes the public access policies that apply to the S3 bucket.
|
S3BucketDetail.Builder |
publicAccess(PublicAccess publicAccess)
Describes the public access policies that apply to the S3 bucket.
|
S3BucketDetail.Builder |
tags(Collection<Tag> tags)
All tags attached to the S3 bucket
|
S3BucketDetail.Builder |
tags(Consumer<Tag.Builder>... tags)
All tags attached to the S3 bucket
|
S3BucketDetail.Builder |
tags(Tag... tags)
All tags attached to the S3 bucket
|
S3BucketDetail.Builder |
type(String type)
Describes whether the bucket is a source or destination bucket.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
S3BucketDetail.Builder arn(String arn)
The Amazon Resource Name (ARN) of the S3 bucket.
arn
- The Amazon Resource Name (ARN) of the S3 bucket.S3BucketDetail.Builder name(String name)
The name of the S3 bucket.
name
- The name of the S3 bucket.S3BucketDetail.Builder type(String type)
Describes whether the bucket is a source or destination bucket.
type
- Describes whether the bucket is a source or destination bucket.S3BucketDetail.Builder createdAt(Instant createdAt)
The date and time the bucket was created at.
createdAt
- The date and time the bucket was created at.S3BucketDetail.Builder owner(Owner owner)
The owner of the S3 bucket.
owner
- The owner of the S3 bucket.default S3BucketDetail.Builder owner(Consumer<Owner.Builder> owner)
The owner of the S3 bucket.
This is a convenience that creates an instance of theOwner.Builder
avoiding the need to create one
manually via Owner.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to owner(Owner)
.owner
- a consumer that will call methods on Owner.Builder
owner(Owner)
S3BucketDetail.Builder tags(Collection<Tag> tags)
All tags attached to the S3 bucket
tags
- All tags attached to the S3 bucketS3BucketDetail.Builder tags(Tag... tags)
All tags attached to the S3 bucket
tags
- All tags attached to the S3 bucketS3BucketDetail.Builder tags(Consumer<Tag.Builder>... tags)
All tags attached to the S3 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)
S3BucketDetail.Builder defaultServerSideEncryption(DefaultServerSideEncryption defaultServerSideEncryption)
Describes the server side encryption method used in the S3 bucket.
defaultServerSideEncryption
- Describes the server side encryption method used in the S3 bucket.default S3BucketDetail.Builder defaultServerSideEncryption(Consumer<DefaultServerSideEncryption.Builder> defaultServerSideEncryption)
Describes the server side encryption method used in the S3 bucket.
This is a convenience that creates an instance of theDefaultServerSideEncryption.Builder
avoiding
the need to create one manually via DefaultServerSideEncryption.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to defaultServerSideEncryption(DefaultServerSideEncryption)
.defaultServerSideEncryption
- a consumer that will call methods on DefaultServerSideEncryption.Builder
defaultServerSideEncryption(DefaultServerSideEncryption)
S3BucketDetail.Builder publicAccess(PublicAccess publicAccess)
Describes the public access policies that apply to the S3 bucket.
publicAccess
- Describes the public access policies that apply to the S3 bucket.default S3BucketDetail.Builder publicAccess(Consumer<PublicAccess.Builder> publicAccess)
Describes the public access policies that apply to the S3 bucket.
This is a convenience that creates an instance of thePublicAccess.Builder
avoiding the need to
create one manually via PublicAccess.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to publicAccess(PublicAccess)
.publicAccess
- a consumer that will call methods on PublicAccess.Builder
publicAccess(PublicAccess)