public AssetStatus withState(String state) {
        setState(state);
        return this;
    }
<p>
The current status of the asset.
</p>

@param state
       The current status of the asset.
@return Returns a reference to this object so that method calls can be chained together.
@see AssetState
aws-java-sdk-iotsitewise/src/main/java/com/amazonaws/services/iotsitewise/model/AssetStatus.java