Interface HeadBucketResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<HeadBucketResponse.Builder,HeadBucketResponse>, S3Response.Builder, SdkBuilder<HeadBucketResponse.Builder,HeadBucketResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
HeadBucketResponse

public static interface HeadBucketResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<HeadBucketResponse.Builder,HeadBucketResponse>
  • Method Details

    • 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:
    • 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:
    • bucketLocationName

      HeadBucketResponse.Builder bucketLocationName(String bucketLocationName)

      The name of the location where the bucket will be created.

      For directory buckets, the AZ ID of the Availability Zone where the bucket is created. An example AZ ID value 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 AZ ID of the Availability Zone where the bucket is created. An example AZ ID value 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.

      This functionality is not supported for directory buckets.

      Parameters:
      bucketRegion - The Region that the bucket is located.

      This functionality is not supported for directory buckets.

      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.

      This functionality is not supported for directory buckets.

      Parameters:
      accessPointAlias - Indicates whether the bucket name used in the request is an access point alias.

      This functionality is not supported for directory buckets.

      Returns:
      Returns a reference to this object so that method calls can be chained together.