@Generated(value="software.amazon.awssdk:codegen") public class CreateBucketConfiguration extends Object implements 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 |
locationConstraintString()
Specifies the region where the bucket will be created.
|
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() |
copy
public BucketLocationConstraint locationConstraint()
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 locationConstraintString()
.
BucketLocationConstraint
public String locationConstraintString()
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 locationConstraintString()
.
BucketLocationConstraint
public CreateBucketConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
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.