public SourceS3Location withRegion(S3BucketRegion region) {
        this.region = region.toString();
        return this;
    }
<p>
Region of the bucket. Only required for Regions that are disabled by default. For more infomration about Regions
that are disabled by default, see <a
href="https://docs.aws.amazon.com/general/latest/gr/rande-manage.html#rande-manage-enable"> Enabling a Region</a>
in the <i>AWS General Reference guide</i>.
</p>

@param region
       Region of the bucket. Only required for Regions that are disabled by default. For more infomration about
       Regions that are disabled by default, see <a
       href="https://docs.aws.amazon.com/general/latest/gr/rande-manage.html#rande-manage-enable"> Enabling a
       Region</a> in the <i>AWS General Reference guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
@see S3BucketRegion
aws-java-sdk-applicationcostprofiler/src/main/java/com/amazonaws/services/applicationcostprofiler/model/SourceS3Location.java