public void setFailureBehavior(String failureBehavior) {
        this.failureBehavior = failureBehavior;
    }
<p>
The failure behavior the simulation job.
</p>
<dl>
<dt>Continue</dt>
<dd>
<p>
Leaves the instance running for its maximum timeout duration after a <code>4XX</code> error code.
</p>
</dd>
<dt>Fail</dt>
<dd>
<p>
Stop the simulation job and terminate the instance.
</p>
</dd>
</dl>

@param failureBehavior
       The failure behavior the simulation job.</p>
       <dl>
       <dt>Continue</dt>
       <dd>
       <p>
       Leaves the instance running for its maximum timeout duration after a <code>4XX</code> error code.
       </p>
       </dd>
       <dt>Fail</dt>
       <dd>
       <p>
       Stop the simulation job and terminate the instance.
       </p>
       </dd>
@see FailureBehavior
aws-java-sdk-robomaker/src/main/java/com/amazonaws/services/robomaker/model/CreateSimulationJobRequest.java