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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateBucketConfiguration.BuilderlocationConstraint(String locationConstraint)Specifies the Region where the bucket will be created.CreateBucketConfiguration.BuilderlocationConstraint(BucketLocationConstraint locationConstraint)Specifies the Region where the bucket will be created.-
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
-
locationConstraint
CreateBucketConfiguration.Builder locationConstraint(String 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:
BucketLocationConstraint,BucketLocationConstraint
-
locationConstraint
CreateBucketConfiguration.Builder locationConstraint(BucketLocationConstraint 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:
BucketLocationConstraint,BucketLocationConstraint
-
-