public TestResult withFunctionErrorMessage(String functionErrorMessage) {
        setFunctionErrorMessage(functionErrorMessage);
        return this;
    }
<p>
If the result of testing the function was an error, this field contains the error message.
</p>

@param functionErrorMessage
       If the result of testing the function was an error, this field contains the error message.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/model/TestResult.java