public Resource withRegion(String region) {
        setRegion(region);
        return this;
    }
<p>
The Amazon Web Services Region where a shared endpoint resource is located.
</p>

@param region
       The Amazon Web Services Region where a shared endpoint resource is located.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/Resource.java