public Region withName(String name) {
        setName(name);
        return this;
    }
<p>
The region name (<code>us-east-2</code>).
</p>

@param name
       The region name (<code>us-east-2</code>).
@return Returns a reference to this object so that method calls can be chained together.
@see RegionName
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/Region.java