public AssetModelProperty withType(PropertyType type) {
        setType(type);
        return this;
    }
<p>
The property type (see <code>PropertyType</code>).
</p>

@param type
       The property type (see <code>PropertyType</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