public AssetModelProperty withUnit(String unit) {
        setUnit(unit);
        return this;
    }
<p>
The unit of the asset model property, such as <code>Newtons</code> or <code>RPM</code>.
</p>

@param unit
       The unit of the asset model property, such as <code>Newtons</code> or <code>RPM</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotsitewise/src/main/java/com/amazonaws/services/iotsitewise/model/AssetModelProperty.java