@Generated(value="software.amazon.awssdk:codegen") public final class CreateBucketConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreateBucketConfiguration.Builder,CreateBucketConfiguration>
| Modifier and Type | Class and Description | 
|---|---|
static interface  | 
CreateBucketConfiguration.Builder  | 
| Modifier and Type | Method and Description | 
|---|---|
static CreateBucketConfiguration.Builder | 
builder()  | 
boolean | 
equals(Object obj)  | 
<T> Optional<T> | 
getValueForField(String fieldName,
                Class<T> clazz)  | 
int | 
hashCode()  | 
BucketLocationConstraint | 
locationConstraint()
 Specifies the region where the bucket will be created. 
 | 
String | 
locationConstraintAsString()
 Specifies the region where the bucket will be created. 
 | 
List<SdkField<?>> | 
sdkFields()  | 
static Class<? extends CreateBucketConfiguration.Builder> | 
serializableBuilderClass()  | 
CreateBucketConfiguration.Builder | 
toBuilder()
Take this object and create a builder that contains all of the current property values of this object. 
 | 
String | 
toString()  | 
copypublic BucketLocationConstraint locationConstraint()
Specifies the region where the bucket will be created. If you don't specify a region, the bucket will be created in US Standard.
 If the service returns an enum value that is not available in the current SDK version,
 locationConstraint will return BucketLocationConstraint.UNKNOWN_TO_SDK_VERSION. The raw value
 returned by the service is available from locationConstraintAsString().
 
BucketLocationConstraintpublic String locationConstraintAsString()
Specifies the region where the bucket will be created. If you don't specify a region, the bucket will be created in US Standard.
 If the service returns an enum value that is not available in the current SDK version,
 locationConstraint will return BucketLocationConstraint.UNKNOWN_TO_SDK_VERSION. The raw value
 returned by the service is available from locationConstraintAsString().
 
BucketLocationConstraintpublic CreateBucketConfiguration.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<CreateBucketConfiguration.Builder,CreateBucketConfiguration>public static CreateBucketConfiguration.Builder builder()
public static Class<? extends CreateBucketConfiguration.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.