Interface S3BucketDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<S3BucketDetail.Builder,S3BucketDetail>,SdkBuilder<S3BucketDetail.Builder,S3BucketDetail>,SdkPojo
- Enclosing class:
- S3BucketDetail
public static interface S3BucketDetail.Builder extends SdkPojo, CopyableBuilder<S3BucketDetail.Builder,S3BucketDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description S3BucketDetail.Builderarn(String arn)The Amazon Resource Name (ARN) of the S3 bucket.S3BucketDetail.BuildercreatedAt(Instant createdAt)The date and time the bucket was created at.default S3BucketDetail.BuilderdefaultServerSideEncryption(Consumer<DefaultServerSideEncryption.Builder> defaultServerSideEncryption)Describes the server side encryption method used in the S3 bucket.S3BucketDetail.BuilderdefaultServerSideEncryption(DefaultServerSideEncryption defaultServerSideEncryption)Describes the server side encryption method used in the S3 bucket.S3BucketDetail.Buildername(String name)The name of the S3 bucket.default S3BucketDetail.Builderowner(Consumer<Owner.Builder> owner)The owner of the S3 bucket.S3BucketDetail.Builderowner(Owner owner)The owner of the S3 bucket.default S3BucketDetail.BuilderpublicAccess(Consumer<PublicAccess.Builder> publicAccess)Describes the public access policies that apply to the S3 bucket.S3BucketDetail.BuilderpublicAccess(PublicAccess publicAccess)Describes the public access policies that apply to the S3 bucket.S3BucketDetail.Buildertags(Collection<Tag> tags)All tags attached to the S3 bucketS3BucketDetail.Buildertags(Consumer<Tag.Builder>... tags)All tags attached to the S3 bucketS3BucketDetail.Buildertags(Tag... tags)All tags attached to the S3 bucketS3BucketDetail.Buildertype(String type)Describes 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 Detail
-
arn
S3BucketDetail.Builder arn(String 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
S3BucketDetail.Builder name(String 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
S3BucketDetail.Builder type(String 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
S3BucketDetail.Builder createdAt(Instant 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
S3BucketDetail.Builder owner(Owner 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
default S3BucketDetail.Builder owner(Consumer<Owner.Builder> owner)
The owner of the S3 bucket.
This is a convenience method that creates an instance of theOwner.Builderavoiding the need to create one manually viaOwner.builder().When the
Consumercompletes,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:
owner(Owner)
-
tags
S3BucketDetail.Builder tags(Collection<Tag> 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
S3BucketDetail.Builder tags(Tag... 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
S3BucketDetail.Builder tags(Consumer<Tag.Builder>... tags)
All tags attached to the S3 bucket
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaDefaultServerSideEncryption.builder().When the
Consumercompletes,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:
defaultServerSideEncryption(DefaultServerSideEncryption)
-
publicAccess
S3BucketDetail.Builder publicAccess(PublicAccess 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
default S3BucketDetail.Builder publicAccess(Consumer<PublicAccess.Builder> publicAccess)
Describes the public access policies that apply to the S3 bucket.
This is a convenience method that creates an instance of thePublicAccess.Builderavoiding the need to create one manually viaPublicAccess.builder().When the
Consumercompletes,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:
publicAccess(PublicAccess)
-
-