public GetHealthCheckLastFailureReasonRequest withHealthCheckId(String healthCheckId) {
        setHealthCheckId(healthCheckId);
        return this;
    }
<p>
The ID for the health check for which you want the last failure reason. When you created the health check,
<code>CreateHealthCheck</code> returned the ID in the response, in the <code>HealthCheckId</code> element.
</p>
<note>
<p>
If you want to get the last failure reason for a calculated health check, you must use the Amazon Route 53
console or the CloudWatch console. You can't use <code>GetHealthCheckLastFailureReason</code> for a calculated
health check.
</p>
</note>

@param healthCheckId
       The ID for the health check for which you want the last failure reason. When you created the health check,
       <code>CreateHealthCheck</code> returned the ID in the response, in the <code>HealthCheckId</code>
       element.</p> <note>
       <p>
       If you want to get the last failure reason for a calculated health check, you must use the Amazon Route 53
       console or the CloudWatch console. You can't use <code>GetHealthCheckLastFailureReason</code> for a
       calculated health check.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53/model/GetHealthCheckLastFailureReasonRequest.java