public Layer withShortname(String shortname) {
        setShortname(shortname);
        return this;
    }
<p>
The layer short name.
</p>

@param shortname
       The layer short name.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/Layer.java