Interface HeadBucketResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<HeadBucketResponse.Builder,HeadBucketResponse>,S3Response.Builder,SdkBuilder<HeadBucketResponse.Builder,HeadBucketResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- HeadBucketResponse
@Mutable @NotThreadSafe public static interface HeadBucketResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<HeadBucketResponse.Builder,HeadBucketResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HeadBucketResponse.BuilderaccessPointAlias(Boolean accessPointAlias)Indicates whether the bucket name used in the request is an access point alias.HeadBucketResponse.BuilderbucketArn(String bucketArn)The Amazon Resource Name (ARN) of the S3 bucket.HeadBucketResponse.BuilderbucketLocationName(String bucketLocationName)The name of the location where the bucket will be created.HeadBucketResponse.BuilderbucketLocationType(String bucketLocationType)The type of location where the bucket is created.HeadBucketResponse.BuilderbucketLocationType(LocationType bucketLocationType)The type of location where the bucket is created.HeadBucketResponse.BuilderbucketRegion(String bucketRegion)The Region that the bucket is located.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
bucketArn
HeadBucketResponse.Builder bucketArn(String 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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
bucketLocationType
HeadBucketResponse.Builder bucketLocationType(String bucketLocationType)
The type of location where the bucket is created.
This functionality is only supported by directory buckets.
- Parameters:
bucketLocationType- The type of location where the bucket is created.This functionality is only supported by directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LocationType,LocationType
-
bucketLocationType
HeadBucketResponse.Builder bucketLocationType(LocationType bucketLocationType)
The type of location where the bucket is created.
This functionality is only supported by directory buckets.
- Parameters:
bucketLocationType- The type of location where the bucket is created.This functionality is only supported by directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LocationType,LocationType
-
bucketLocationName
HeadBucketResponse.Builder bucketLocationName(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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketRegion
HeadBucketResponse.Builder bucketRegion(String bucketRegion)
The Region that the bucket is located.
- Parameters:
bucketRegion- The Region that the bucket is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPointAlias
HeadBucketResponse.Builder accessPointAlias(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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-