public class GetHealthCheckLastFailureReasonRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
GetHealthCheckLastFailureReason operation
.
If you want to learn why a health check is currently failing or why it
failed most recently (if at all), you can get the failure reason for
the most recent failure. Send a GET
request to the
2013-04-01/healthcheck/health check ID/lastfailurereason
resource.
NOOP
Constructor and Description |
---|
GetHealthCheckLastFailureReasonRequest() |
Modifier and Type | Method and Description |
---|---|
GetHealthCheckLastFailureReasonRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getHealthCheckId()
The ID of the health check for which you want to retrieve the reason
for the most recent failure.
|
int |
hashCode() |
void |
setHealthCheckId(String healthCheckId)
The ID of the health check for which you want to retrieve the reason
for the most recent failure.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetHealthCheckLastFailureReasonRequest |
withHealthCheckId(String healthCheckId)
The ID of the health check for which you want to retrieve the reason
for the most recent failure.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public GetHealthCheckLastFailureReasonRequest()
public String getHealthCheckId()
Constraints:
Length: 0 - 64
public void setHealthCheckId(String healthCheckId)
Constraints:
Length: 0 - 64
healthCheckId
- The ID of the health check for which you want to retrieve the reason
for the most recent failure.public GetHealthCheckLastFailureReasonRequest withHealthCheckId(String healthCheckId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 64
healthCheckId
- The ID of the health check for which you want to retrieve the reason
for the most recent failure.public String toString()
toString
in class Object
Object.toString()
public GetHealthCheckLastFailureReasonRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.