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() |
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, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic 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 ObjectObject.toString()public GetHealthCheckLastFailureReasonRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.