Interface S3BucketDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3BucketDetail.Builder,
,S3BucketDetail> SdkBuilder<S3BucketDetail.Builder,
,S3BucketDetail> SdkPojo
- Enclosing class:
S3BucketDetail
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the S3 bucket.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.defaultServerSideEncryption
(DefaultServerSideEncryption defaultServerSideEncryption) Describes the server side encryption method used in the S3 bucket.The name of the S3 bucket.default S3BucketDetail.Builder
owner
(Consumer<Owner.Builder> owner) The owner of the S3 bucket.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.publicAccess
(PublicAccess publicAccess) Describes the public access policies that apply to the S3 bucket.tags
(Collection<Tag> tags) All tags attached to the S3 buckettags
(Consumer<Tag.Builder>... tags) All tags attached to the S3 bucketAll tags attached to the S3 bucketDescribes whether the bucket is a source or destination bucket.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the S3 bucket.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the S3 bucket.
- Parameters:
name
- The name of the S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Describes whether the bucket is a source or destination bucket.
- Parameters:
type
- Describes whether the bucket is a source or destination bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time the bucket was created at.
- Parameters:
createdAt
- The date and time the bucket was created at.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
The owner of the S3 bucket.
- Parameters:
owner
- The owner of the S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
The owner of the S3 bucket.
This is a convenience method that creates an instance of theOwner.Builder
avoiding the need to create one manually viaOwner.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toowner(Owner)
.- Parameters:
owner
- a consumer that will call methods onOwner.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
All tags attached to the S3 bucket
- Parameters:
tags
- All tags attached to the S3 bucket- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
All tags attached to the S3 bucket
- Parameters:
tags
- All tags attached to the S3 bucket- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
All tags attached to the S3 bucket
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultServerSideEncryption
S3BucketDetail.Builder defaultServerSideEncryption(DefaultServerSideEncryption defaultServerSideEncryption) Describes the server side encryption method used in the S3 bucket.
- Parameters:
defaultServerSideEncryption
- Describes the server side encryption method used in the S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultServerSideEncryption
default S3BucketDetail.Builder defaultServerSideEncryption(Consumer<DefaultServerSideEncryption.Builder> defaultServerSideEncryption) Describes the server side encryption method used in the S3 bucket.
This is a convenience method that creates an instance of theDefaultServerSideEncryption.Builder
avoiding the need to create one manually viaDefaultServerSideEncryption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefaultServerSideEncryption(DefaultServerSideEncryption)
.- Parameters:
defaultServerSideEncryption
- a consumer that will call methods onDefaultServerSideEncryption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
publicAccess
Describes the public access policies that apply to the S3 bucket.
- Parameters:
publicAccess
- Describes the public access policies that apply to the S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicAccess
Describes the public access policies that apply to the S3 bucket.
This is a convenience method that creates an instance of thePublicAccess.Builder
avoiding the need to create one manually viaPublicAccess.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topublicAccess(PublicAccess)
.- Parameters:
publicAccess
- a consumer that will call methods onPublicAccess.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-