@Generated(value="com.ibm.cos.v2:codegen") public final class BucketAlreadyOwnedByYouException extends S3Exception implements ToCopyableBuilder<BucketAlreadyOwnedByYouException.Builder,BucketAlreadyOwnedByYouException>
The bucket you tried to create already exists, and you own it. Amazon S3 returns this error in all Amazon Web Services Regions except in the North Virginia Region. For legacy compatibility, if you re-create an existing bucket that you already own in the North Virginia Region, Amazon S3 returns 200 OK and resets the bucket access control lists (ACLs).
| Modifier and Type | Class and Description |
|---|---|
static interface |
BucketAlreadyOwnedByYouException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BucketAlreadyOwnedByYouException.Builder |
builder() |
Map<String,SdkField<?>> |
sdkFieldNameToField() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends BucketAlreadyOwnedByYouException.Builder> |
serializableBuilderClass() |
BucketAlreadyOwnedByYouException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException. |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionextendedRequestId, isRetryableException, requestId, statusCodecreate, numAttempts, rawMessage, retryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyequalsBySdkFieldspublic BucketAlreadyOwnedByYouException.Builder toBuilder()
AwsServiceExceptionAwsServiceException.Builder initialized with the properties of this AwsServiceException.toBuilder in interface ToCopyableBuilder<BucketAlreadyOwnedByYouException.Builder,BucketAlreadyOwnedByYouException>toBuilder in class S3Exceptionpublic static BucketAlreadyOwnedByYouException.Builder builder()
public static Class<? extends BucketAlreadyOwnedByYouException.Builder> serializableBuilderClass()
public final List<SdkField<?>> sdkFields()
sdkFields in interface SdkPojosdkFields in class SdkServiceExceptionSdkField in this POJO. May be empty list but should never be null.public final Map<String,SdkField<?>> sdkFieldNameToField()
sdkFieldNameToField in interface SdkPojoCopyright © 2026. All rights reserved.