Interface GetBucketLocationResponse.Builder

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