Class CreateHealthCheckResult
- java.lang.Object
-
- com.amazonaws.services.route53.model.CreateHealthCheckResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class CreateHealthCheckResult extends Object implements Serializable, Cloneable
A complex type containing the response information for the new health check.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateHealthCheckResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateHealthCheckResult
clone()
boolean
equals(Object obj)
HealthCheck
getHealthCheck()
A complex type that contains identifying information about the health check.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(String location)
The unique URL representing the new health check.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(String location)
The unique URL representing the new health check.
-
-
-
Method Detail
-
setHealthCheck
public void setHealthCheck(HealthCheck healthCheck)
A complex type that contains identifying information about the health check.
- Parameters:
healthCheck
- A complex type that contains identifying information about the health check.
-
getHealthCheck
public HealthCheck getHealthCheck()
A complex type that contains identifying information about the health check.
- Returns:
- A complex type that contains identifying information about the health check.
-
withHealthCheck
public CreateHealthCheckResult withHealthCheck(HealthCheck healthCheck)
A complex type that contains identifying information about the health check.
- Parameters:
healthCheck
- A complex type that contains identifying information about the health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLocation
public void setLocation(String location)
The unique URL representing the new health check.
- Parameters:
location
- The unique URL representing the new health check.
-
getLocation
public String getLocation()
The unique URL representing the new health check.
- Returns:
- The unique URL representing the new health check.
-
withLocation
public CreateHealthCheckResult withLocation(String location)
The unique URL representing the new health check.
- Parameters:
location
- The unique URL representing the new health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateHealthCheckResult clone()
-
-