public DatasetGroup withFailureReason(String failureReason) {
        setFailureReason(failureReason);
        return this;
    }
<p>
If creating a dataset group fails, provides the reason why.
</p>

@param failureReason
       If creating a dataset group fails, provides the reason why.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-personalize/src/main/java/com/amazonaws/services/personalize/model/DatasetGroup.java