@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetHealthCheckLastFailureReasonResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A complex type that contains the response to a GetHealthCheckLastFailureReason
request.
Constructor and Description |
---|
GetHealthCheckLastFailureReasonResult() |
Modifier and Type | Method and Description |
---|---|
GetHealthCheckLastFailureReasonResult |
clone() |
boolean |
equals(Object obj) |
List<HealthCheckObservation> |
getHealthCheckObservations()
A list that contains one
Observation element for each Amazon Route 53 health checker that is
reporting a last failure reason. |
int |
hashCode() |
void |
setHealthCheckObservations(Collection<HealthCheckObservation> healthCheckObservations)
A list that contains one
Observation element for each Amazon Route 53 health checker that is
reporting a last failure reason. |
String |
toString()
Returns a string representation of this object.
|
GetHealthCheckLastFailureReasonResult |
withHealthCheckObservations(Collection<HealthCheckObservation> healthCheckObservations)
A list that contains one
Observation element for each Amazon Route 53 health checker that is
reporting a last failure reason. |
GetHealthCheckLastFailureReasonResult |
withHealthCheckObservations(HealthCheckObservation... healthCheckObservations)
A list that contains one
Observation element for each Amazon Route 53 health checker that is
reporting a last failure reason. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public GetHealthCheckLastFailureReasonResult()
public List<HealthCheckObservation> getHealthCheckObservations()
A list that contains one Observation
element for each Amazon Route 53 health checker that is
reporting a last failure reason.
Observation
element for each Amazon Route 53 health checker that is
reporting a last failure reason.public void setHealthCheckObservations(Collection<HealthCheckObservation> healthCheckObservations)
A list that contains one Observation
element for each Amazon Route 53 health checker that is
reporting a last failure reason.
healthCheckObservations
- A list that contains one Observation
element for each Amazon Route 53 health checker that is
reporting a last failure reason.public GetHealthCheckLastFailureReasonResult withHealthCheckObservations(HealthCheckObservation... healthCheckObservations)
A list that contains one Observation
element for each Amazon Route 53 health checker that is
reporting a last failure reason.
NOTE: This method appends the values to the existing list (if any). Use
setHealthCheckObservations(java.util.Collection)
or
withHealthCheckObservations(java.util.Collection)
if you want to override the existing values.
healthCheckObservations
- A list that contains one Observation
element for each Amazon Route 53 health checker that is
reporting a last failure reason.public GetHealthCheckLastFailureReasonResult withHealthCheckObservations(Collection<HealthCheckObservation> healthCheckObservations)
A list that contains one Observation
element for each Amazon Route 53 health checker that is
reporting a last failure reason.
healthCheckObservations
- A list that contains one Observation
element for each Amazon Route 53 health checker that is
reporting a last failure reason.public String toString()
toString
in class Object
Object.toString()
public GetHealthCheckLastFailureReasonResult clone()