public CancelStepsInfo withReason(String reason) {
        setReason(reason);
        return this;
    }
<p>
The reason for the failure if the CancelSteps request fails.
</p>

@param reason
       The reason for the failure if the CancelSteps request fails.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/CancelStepsInfo.java