public Index withRegion(String region) {
        setRegion(region);
        return this;
    }
<p>
The Amazon Web Services Region in which the index exists.
</p>

@param region
       The Amazon Web Services Region in which the index exists.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-resourceexplorer2/src/main/java/com/amazonaws/services/resourceexplorer2/model/Index.java