public CreateAssetRequest withAssetId(String assetId) {
        setAssetId(assetId);
        return this;
    }
<p>
The ID to assign to the asset, if desired. IoT SiteWise automatically generates a unique ID for you, so this
parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in
UUID format. If you specify your own ID, it must be globally unique.
</p>

@param assetId
       The ID to assign to the asset, if desired. IoT SiteWise automatically generates a unique ID for you, so
       this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it
       here in UUID format. If you specify your own ID, it must be globally unique.
@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/CreateAssetRequest.java