@Generated(value="com.ibm.cos.v2:codegen") public final class HeadBucketResponse extends S3Response implements ToCopyableBuilder<HeadBucketResponse.Builder,HeadBucketResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
HeadBucketResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
accessPointAlias()
Indicates whether the bucket name used in the request is an access point alias.
|
String |
bucketLocationName()
The name of the location where the bucket will be created.
|
LocationType |
bucketLocationType()
The type of location where the bucket is created.
|
String |
bucketLocationTypeAsString()
The type of location where the bucket is created.
|
String |
bucketRegion()
The Region that the bucket is located.
|
static HeadBucketResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
IBMSSEKPCrk()
Indicates the CRK header of the HEAD request
|
Boolean |
IBMSSEKPEnabled()
Indicates whether key protect has been enabled on bucket.
|
Map<String,SdkField<?>> |
sdkFieldNameToField() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends HeadBucketResponse.Builder> |
serializableBuilderClass() |
HeadBucketResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final LocationType bucketLocationType()
The type of location where the bucket is created.
This functionality is only supported by directory buckets.
If the service returns an enum value that is not available in the current SDK version,
bucketLocationType will return LocationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by
the service is available from bucketLocationTypeAsString().
This functionality is only supported by directory buckets.
LocationTypepublic final String bucketLocationTypeAsString()
The type of location where the bucket is created.
This functionality is only supported by directory buckets.
If the service returns an enum value that is not available in the current SDK version,
bucketLocationType will return LocationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by
the service is available from bucketLocationTypeAsString().
This functionality is only supported by directory buckets.
LocationTypepublic final String bucketLocationName()
The name of the location where the bucket will be created.
For directory buckets, the Zone ID of the Availability Zone or the Local Zone where the bucket is created. An
example Zone ID value for an Availability Zone is usw2-az1.
This functionality is only supported by directory buckets.
For directory buckets, the Zone ID of the Availability Zone or the Local Zone where the bucket is
created. An example Zone ID value for an Availability Zone is usw2-az1.
This functionality is only supported by directory buckets.
public final String bucketRegion()
The Region that the bucket is located.
public final Boolean accessPointAlias()
Indicates whether the bucket name used in the request is an access point alias.
For directory buckets, the value of this field is false.
For directory buckets, the value of this field is false.
public final Boolean IBMSSEKPEnabled()
Indicates whether key protect has been enabled on bucket.
public final String IBMSSEKPCrk()
Indicates the CRK header of the HEAD request
public HeadBucketResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<HeadBucketResponse.Builder,HeadBucketResponse>toBuilder in class AwsResponsepublic static HeadBucketResponse.Builder builder()
public static Class<? extends HeadBucketResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponsepublic final Map<String,SdkField<?>> sdkFieldNameToField()
sdkFieldNameToField in interface SdkPojoCopyright © 2026. All rights reserved.