Interface CreateBucketConfiguration.Builder

    • Method Detail

      • locationConstraint

        CreateBucketConfiguration.Builder locationConstraint​(String locationConstraint)

        Specifies the Region where the bucket will be created. If you don't specify a Region, the bucket is created in the US East (N. Virginia) Region (us-east-1).

        Parameters:
        locationConstraint - Specifies the Region where the bucket will be created. If you don't specify a Region, the bucket is created in the US East (N. Virginia) Region (us-east-1).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BucketLocationConstraint, BucketLocationConstraint
      • locationConstraint

        CreateBucketConfiguration.Builder locationConstraint​(BucketLocationConstraint locationConstraint)

        Specifies the Region where the bucket will be created. If you don't specify a Region, the bucket is created in the US East (N. Virginia) Region (us-east-1).

        Parameters:
        locationConstraint - Specifies the Region where the bucket will be created. If you don't specify a Region, the bucket is created in the US East (N. Virginia) Region (us-east-1).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BucketLocationConstraint, BucketLocationConstraint