Interface CreateBucketConfiguration.Builder

  • Method Details

    • locationConstraint

      CreateBucketConfiguration.Builder locationConstraint(String locationConstraint)

      Specifies the Region where the bucket will be created. If you are creating a bucket on the US East (N. Virginia) Region (us-east-1), you do not need to specify the location.

      This is not supported by Amazon S3 on Outposts buckets.

      Parameters:
      locationConstraint - Specifies the Region where the bucket will be created. If you are creating a bucket on the US East (N. Virginia) Region (us-east-1), you do not need to specify the location.

      This is not supported by Amazon S3 on Outposts buckets.

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

      CreateBucketConfiguration.Builder locationConstraint(BucketLocationConstraint locationConstraint)

      Specifies the Region where the bucket will be created. If you are creating a bucket on the US East (N. Virginia) Region (us-east-1), you do not need to specify the location.

      This is not supported by Amazon S3 on Outposts buckets.

      Parameters:
      locationConstraint - Specifies the Region where the bucket will be created. If you are creating a bucket on the US East (N. Virginia) Region (us-east-1), you do not need to specify the location.

      This is not supported by Amazon S3 on Outposts buckets.

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