public TestAvailabilityConfigurationResult withFailureReason(String failureReason) {
        setFailureReason(failureReason);
        return this;
    }
<p>
String containing the reason for a failed test if <code>TestPassed</code> is false.
</p>

@param failureReason
       String containing the reason for a failed test if <code>TestPassed</code> is false.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workmail/src/main/java/com/amazonaws/services/workmail/model/TestAvailabilityConfigurationResult.java