public AssetModelCompositeModelSummary withExternalId(String externalId) {
        setExternalId(externalId);
        return this;
    }
<p>
The external ID of a composite model on this asset model. For more information, see <a
href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids">Using external
IDs</a> in the <i>IoT SiteWise User Guide</i>.
</p>

@param externalId
       The external ID of a composite model on this asset model. For more information, see <a
       href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids">Using
       external IDs</a> in the <i>IoT SiteWise User Guide</i>.
@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