Interface Bucket.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Bucket.Builder,
,Bucket> SdkBuilder<Bucket.Builder,
,Bucket> SdkPojo
- Enclosing class:
Bucket
@Mutable
@NotThreadSafe
public static interface Bucket.Builder
extends SdkPojo, CopyableBuilder<Bucket.Builder,Bucket>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the S3 bucket.bucketRegion
(String bucketRegion) BucketRegion
indicates the Amazon Web Services region where the bucket is located.creationDate
(Instant creationDate) Date the bucket was created.The name of the 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, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the bucket.
- Parameters:
name
- The name of the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
Date the bucket was created. This date can change when making changes to your bucket, such as editing its bucket policy.
- Parameters:
creationDate
- Date the bucket was created. This date can change when making changes to your bucket, such as editing its bucket policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketRegion
BucketRegion
indicates the Amazon Web Services region where the bucket is located. If the request contains at least one valid parameter, it is included in the response.- Parameters:
bucketRegion
-BucketRegion
indicates the Amazon Web Services region where the bucket is located. If the request contains at least one valid parameter, it is included in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketArn
The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify Amazon Web Services resources across all of Amazon Web Services.
This parameter is only supported for S3 directory buckets. For more information, see Using tags with directory buckets.
- Parameters:
bucketArn
- The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify Amazon Web Services resources across all of Amazon Web Services.This parameter is only supported for S3 directory buckets. For more information, see Using tags with directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-