public AssetModelCompositeModel withType(String type) {
        setType(type);
        return this;
    }
<p>
The type of the composite model. For alarm composite models, this type is <code>AWS/ALARM</code>.
</p>

@param type
       The type of the composite model. For alarm composite models, this type is <code>AWS/ALARM</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/AssetModelCompositeModel.java