public SceneError withCode(SceneErrorCode code) {
        this.code = code.toString();
        return this;
    }
<p>
The SceneError code.
</p>

@param code
       The SceneError code.
@return Returns a reference to this object so that method calls can be chained together.
@see SceneErrorCode
aws-java-sdk-iottwinmaker/src/main/java/com/amazonaws/services/iottwinmaker/model/SceneError.java