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 SummaryModifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the S3 bucket.bucketRegion(String bucketRegion) BucketRegionindicates 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
nameThe 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.
 
- 
creationDateDate 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.
 
- 
bucketRegionBucketRegionindicates 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-- BucketRegionindicates 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.
 
- 
bucketArnThe 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.
 
 
-