public CreateAssetResult withAssetStatus(AssetStatus assetStatus) {
        setAssetStatus(assetStatus);
        return this;
    }
<p>
The status of the asset, which contains a state (<code>CREATING</code> after successfully calling this operation)
and any error message.
</p>

@param assetStatus
       The status of the asset, which contains a state (<code>CREATING</code> after successfully calling this
       operation) and any error message.
@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/CreateAssetResult.java