public AssetModelCompositeModelSummary withPath(AssetModelCompositeModelPathSegment... path) {
        if (this.path == null) {
            setPath(new java.util.ArrayList<AssetModelCompositeModelPathSegment>(path.length));
        }
        for (AssetModelCompositeModelPathSegment ele : path) {
            this.path.add(ele);
        }
        return this;
    }
<p>
The path that includes all the pieces that make up the composite model.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPath(java.util.Collection)} or {@link #withPath(java.util.Collection)} if you want to override the
existing values.
</p>

@param path
       The path that includes all the pieces that make up the composite 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/AssetModelCompositeModelSummary.java