@Generated(value="software.amazon.awssdk:codegen") public final class GetBucketLocationResponse extends S3Response implements ToCopyableBuilder<GetBucketLocationResponse.Builder,GetBucketLocationResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetBucketLocationResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetBucketLocationResponse.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
BucketLocationConstraint |
locationConstraint()
Returns the value of the LocationConstraint property for this object.
|
String |
locationConstraintAsString()
Returns the value of the LocationConstraint property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetBucketLocationResponse.Builder> |
serializableBuilderClass() |
GetBucketLocationResponse.Builder |
toBuilder() |
String |
toString() |
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 locationConstraintAsString().
BucketLocationConstraintpublic String locationConstraintAsString()
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 GetBucketLocationResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetBucketLocationResponse.Builder,GetBucketLocationResponse>toBuilder in class AwsResponsepublic static GetBucketLocationResponse.Builder builder()
public static Class<? extends GetBucketLocationResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2019. All rights reserved.