@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()
|
String |
locationConstraintAsString()
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetBucketLocationResponse.Builder> |
serializableBuilderClass() |
GetBucketLocationResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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 locationConstraintAsString()
.
BucketLocationConstraint
public 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()
.
BucketLocationConstraint
public GetBucketLocationResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<GetBucketLocationResponse.Builder,GetBucketLocationResponse>
toBuilder
in class AwsResponse
public static GetBucketLocationResponse.Builder builder()
public static Class<? extends GetBucketLocationResponse.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2019. All rights reserved.