public class CreateHealthCheckResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A complex type containing the response information for the new health check.
Modifier and Type | Field and Description |
---|---|
private HealthCheck |
healthCheck
A complex type that contains identifying information about the health
check.
|
private java.lang.String |
location
The unique URL representing the new health check.
|
Constructor and Description |
---|
CreateHealthCheckResult() |
Modifier and Type | Method and Description |
---|---|
CreateHealthCheckResult |
clone() |
boolean |
equals(java.lang.Object obj) |
HealthCheck |
getHealthCheck()
A complex type that contains identifying information about the health
check.
|
java.lang.String |
getLocation()
The unique URL representing the new health check.
|
int |
hashCode() |
void |
setHealthCheck(HealthCheck healthCheck)
A complex type that contains identifying information about the health
check.
|
void |
setLocation(java.lang.String location)
The unique URL representing the new health check.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateHealthCheckResult |
withHealthCheck(HealthCheck healthCheck)
A complex type that contains identifying information about the health
check.
|
CreateHealthCheckResult |
withLocation(java.lang.String location)
The unique URL representing the new health check.
|
private HealthCheck healthCheck
A complex type that contains identifying information about the health check.
private java.lang.String location
The unique URL representing the new health check.
public void setHealthCheck(HealthCheck healthCheck)
A complex type that contains identifying information about the health check.
healthCheck
- A complex type that contains identifying information about the
health check.public HealthCheck getHealthCheck()
A complex type that contains identifying information about the health check.
public CreateHealthCheckResult withHealthCheck(HealthCheck healthCheck)
A complex type that contains identifying information about the health check.
healthCheck
- A complex type that contains identifying information about the
health check.public void setLocation(java.lang.String location)
The unique URL representing the new health check.
location
- The unique URL representing the new health check.public java.lang.String getLocation()
The unique URL representing the new health check.
public CreateHealthCheckResult withLocation(java.lang.String location)
The unique URL representing the new health check.
location
- The unique URL representing the new health check.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateHealthCheckResult clone()
clone
in class java.lang.Object