Class CreateBucketResponse
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateBucketResponse.Builder,CreateBucketResponse>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe Amazon Resource Name (ARN) of the S3 bucket.static CreateBucketResponse.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringlocation()A forward slash followed by the name of the bucket for all account regional namespace buckets and all global general purpose buckets created in us-east-1.static Class<? extends CreateBucketResponse.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.services.s3.model.S3Response
responseMetadataMethods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
location
A forward slash followed by the name of the bucket for all account regional namespace buckets and all global general purpose buckets created in us-east-1. For example,
/amzn-s3-demo-bucket. For global general purpose buckets created in other Amazon Web Services Regions, the Location field is the global endpoint URL. For example,http://amzn-s3-demo-bucket.s3.amazonaws.com/.- Returns:
- A forward slash followed by the name of the bucket for all account regional namespace buckets and all
global general purpose buckets created in us-east-1. For example,
/amzn-s3-demo-bucket. For global general purpose buckets created in other Amazon Web Services Regions, the Location field is the global endpoint URL. For example,http://amzn-s3-demo-bucket.s3.amazonaws.com/.
-
bucketArn
The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify Amazon Web Services resources across all of Amazon Web Services.
This parameter is only supported for S3 directory buckets. For more information, see Using tags with directory buckets.
- Returns:
- The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify Amazon Web Services resources
across all of Amazon Web Services.
This parameter is only supported for S3 directory buckets. For more information, see Using tags with directory buckets.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateBucketResponse.Builder,CreateBucketResponse> - Specified by:
toBuilderin classAwsResponse
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsResponse
-
equals
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-