Interface GetBucketLocationResponse.Builder

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

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

    • locationConstraint

      GetBucketLocationResponse.Builder locationConstraint(String locationConstraint)

      Specifies the Region where the bucket resides. For a list of all the Amazon S3 supported location constraints by Region, see Regions and Endpoints. Buckets in Region us-east-1 have a LocationConstraint of null.

      Parameters:
      locationConstraint - Specifies the Region where the bucket resides. For a list of all the Amazon S3 supported location constraints by Region, see Regions and Endpoints. Buckets in Region us-east-1 have a LocationConstraint of null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • locationConstraint

      GetBucketLocationResponse.Builder locationConstraint(BucketLocationConstraint locationConstraint)

      Specifies the Region where the bucket resides. For a list of all the Amazon S3 supported location constraints by Region, see Regions and Endpoints. Buckets in Region us-east-1 have a LocationConstraint of null.

      Parameters:
      locationConstraint - Specifies the Region where the bucket resides. For a list of all the Amazon S3 supported location constraints by Region, see Regions and Endpoints. Buckets in Region us-east-1 have a LocationConstraint of null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: