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.Builder
locationConstraint(String locationConstraint)
Specifies the Region where the bucket will be created.CreateBucketConfiguration.Builder
locationConstraint(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 don't specify a Region, the bucket is created in the US East (N. Virginia) Region (us-east-1).
- Parameters:
locationConstraint
- Specifies the Region where the bucket will be created. If you don't specify a Region, the bucket is created in the US East (N. Virginia) Region (us-east-1).- 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 don't specify a Region, the bucket is created in the US East (N. Virginia) Region (us-east-1).
- Parameters:
locationConstraint
- Specifies the Region where the bucket will be created. If you don't specify a Region, the bucket is created in the US East (N. Virginia) Region (us-east-1).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BucketLocationConstraint
,BucketLocationConstraint
-
-