@Generated(value="software.amazon.awssdk:codegen") public final class CreateBucketConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreateBucketConfiguration.Builder,CreateBucketConfiguration>
The configuration information for the bucket.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateBucketConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateBucketConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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).
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 is created in the US East (N. Virginia) Region (us-east-1).
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()
toBuilder in interface ToCopyableBuilder<CreateBucketConfiguration.Builder,CreateBucketConfiguration>public static CreateBucketConfiguration.Builder builder()
public static Class<? extends CreateBucketConfiguration.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.