public ListAssetPropertiesRequest withAssetId(String assetId) {
        setAssetId(assetId);
        return this;
    }
<p>
The ID of the asset. This can be either the actual ID in UUID format, or else <code>externalId:</code> followed
by the external ID, if it has one. For more information, see <a
href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-id-references"
>Referencing objects with external IDs</a> in the <i>IoT SiteWise User Guide</i>.
</p>

@param assetId
       The ID of the asset. This can be either the actual ID in UUID format, or else <code>externalId:</code>
       followed by the external ID, if it has one. For more information, see <a
       href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-id-references"
       >Referencing objects with 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/ListAssetPropertiesRequest.java