public SubmitContainerStateChangeRequest withExitCode(Integer exitCode) {
        setExitCode(exitCode);
        return this;
    }
<p>
The exit code that's returned for the state change request.
</p>

@param exitCode
       The exit code that's returned for the state change request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/SubmitContainerStateChangeRequest.java