Interface CreateBucketConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CreateBucketConfiguration.Builder,,CreateBucketConfiguration> SdkBuilder<CreateBucketConfiguration.Builder,,CreateBucketConfiguration> SdkPojo
- Enclosing class:
CreateBucketConfiguration
public static interface CreateBucketConfiguration.Builder
extends SdkPojo, CopyableBuilder<CreateBucketConfiguration.Builder,CreateBucketConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionlocationConstraint(String locationConstraint) Specifies the Region where the bucket will be created.locationConstraint(BucketLocationConstraint locationConstraint) Specifies the Region where the bucket will be created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
locationConstraint
Specifies the Region where the bucket will be created. If you are creating a bucket on the US East (N. Virginia) Region (us-east-1), you do not need to specify the location.
This is not supported by Amazon S3 on Outposts buckets.
- Parameters:
locationConstraint- Specifies the Region where the bucket will be created. If you are creating a bucket on the US East (N. Virginia) Region (us-east-1), you do not need to specify the location.This is not supported by Amazon S3 on Outposts buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
locationConstraint
Specifies the Region where the bucket will be created. If you are creating a bucket on the US East (N. Virginia) Region (us-east-1), you do not need to specify the location.
This is not supported by Amazon S3 on Outposts buckets.
- Parameters:
locationConstraint- Specifies the Region where the bucket will be created. If you are creating a bucket on the US East (N. Virginia) Region (us-east-1), you do not need to specify the location.This is not supported by Amazon S3 on Outposts buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-