public DescribeAssetModelResult withAssetModelHierarchies(java.util.Collection<AssetModelHierarchy> assetModelHierarchies) {
        setAssetModelHierarchies(assetModelHierarchies);
        return this;
    }
<p>
A list of asset model hierarchies that each contain a <code>childAssetModelId</code> and a
<code>hierarchyId</code> (named <code>id</code>). A hierarchy specifies allowed parent/child asset relationships
for an asset model.
</p>

@param assetModelHierarchies
       A list of asset model hierarchies that each contain a <code>childAssetModelId</code> and a
       <code>hierarchyId</code> (named <code>id</code>). A hierarchy specifies allowed parent/child asset
       relationships for an asset model.
@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/DescribeAssetModelResult.java