public DescribedWorkflow withOnExceptionSteps(java.util.Collection<WorkflowStep> onExceptionSteps) {
        setOnExceptionSteps(onExceptionSteps);
        return this;
    }
<p>
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
</p>

@param onExceptionSteps
       Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/DescribedWorkflow.java