public WorkflowStepOutput withRequired(Boolean required) {
        setRequired(required);
        return this;
    }
<p>
Determine if an output is required from a step.
</p>

@param required
       Determine if an output is required from a step.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-migrationhuborchestrator/src/main/java/com/amazonaws/services/migrationhuborchestrator/model/WorkflowStepOutput.java