@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetHealthCheckLastFailureReasonRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request for the reason that a health check failed most recently.
NOOP
Constructor and Description |
---|
GetHealthCheckLastFailureReasonRequest() |
Modifier and Type | Method and Description |
---|---|
GetHealthCheckLastFailureReasonRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getHealthCheckId()
The ID for the health check for which you want the last failure reason.
|
int |
hashCode() |
void |
setHealthCheckId(String healthCheckId)
The ID for the health check for which you want the last failure reason.
|
String |
toString()
Returns a string representation of this object.
|
GetHealthCheckLastFailureReasonRequest |
withHealthCheckId(String healthCheckId)
The ID for the health check for which you want the last failure reason.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public GetHealthCheckLastFailureReasonRequest()
public void setHealthCheckId(String healthCheckId)
The ID for the health check for which you want the last failure reason. When you created the health check,
CreateHealthCheck
returned the ID in the response, in the HealthCheckId
element.
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 GetHealthCheckLastFailureReason
for a calculated
health check.
healthCheckId
- The ID for the health check for which you want the last failure reason. When you created the health check,
CreateHealthCheck
returned the ID in the response, in the HealthCheckId
element.
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 GetHealthCheckLastFailureReason
for a
calculated health check.
public String getHealthCheckId()
The ID for the health check for which you want the last failure reason. When you created the health check,
CreateHealthCheck
returned the ID in the response, in the HealthCheckId
element.
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 GetHealthCheckLastFailureReason
for a calculated
health check.
CreateHealthCheck
returned the ID in the response, in the HealthCheckId
element.
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 GetHealthCheckLastFailureReason
for a
calculated health check.
public GetHealthCheckLastFailureReasonRequest withHealthCheckId(String healthCheckId)
The ID for the health check for which you want the last failure reason. When you created the health check,
CreateHealthCheck
returned the ID in the response, in the HealthCheckId
element.
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 GetHealthCheckLastFailureReason
for a calculated
health check.
healthCheckId
- The ID for the health check for which you want the last failure reason. When you created the health check,
CreateHealthCheck
returned the ID in the response, in the HealthCheckId
element.
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 GetHealthCheckLastFailureReason
for a
calculated health check.
public String toString()
toString
in class Object
Object.toString()
public GetHealthCheckLastFailureReasonRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()