Interface Bucket.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Bucket.Builder,
,Bucket> SdkBuilder<Bucket.Builder,
,Bucket> SdkPojo
- Enclosing class:
Bucket
-
Method Summary
Modifier and TypeMethodDescriptionbucketRegion
(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, 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.
-