public StartSimulationJobBatchResult withFailureCode(SimulationJobBatchErrorCode failureCode) {
        this.failureCode = failureCode.toString();
        return this;
    }
<p>
The failure code if the simulation job batch failed.
</p>

@param failureCode
       The failure code if the simulation job batch failed.
@return Returns a reference to this object so that method calls can be chained together.
@see SimulationJobBatchErrorCode
aws-java-sdk-robomaker/src/main/java/com/amazonaws/services/robomaker/model/StartSimulationJobBatchResult.java