public class HealthCheck extends Object implements Serializable
A complex type that contains identifying information about the health check.
| Constructor and Description |
|---|
HealthCheck() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCallerReference()
A unique string that identifies the request to create the health
check.
|
HealthCheckConfig |
getHealthCheckConfig()
A complex type that contains the health check configuration.
|
Long |
getHealthCheckVersion()
The version of the health check.
|
String |
getId()
The ID of the specified health check.
|
int |
hashCode() |
void |
setCallerReference(String callerReference)
A unique string that identifies the request to create the health
check.
|
void |
setHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains the health check configuration.
|
void |
setHealthCheckVersion(Long healthCheckVersion)
The version of the health check.
|
void |
setId(String id)
The ID of the specified health check.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HealthCheck |
withCallerReference(String callerReference)
A unique string that identifies the request to create the health
check.
|
HealthCheck |
withHealthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains the health check configuration.
|
HealthCheck |
withHealthCheckVersion(Long healthCheckVersion)
The version of the health check.
|
HealthCheck |
withId(String id)
The ID of the specified health check.
|
public String getId()
Constraints:
Length: 0 - 64
public void setId(String id)
Constraints:
Length: 0 - 64
id - The ID of the specified health check.public HealthCheck withId(String id)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 64
id - The ID of the specified health check.public String getCallerReference()
Constraints:
Length: 1 - 64
public void setCallerReference(String callerReference)
Constraints:
Length: 1 - 64
callerReference - A unique string that identifies the request to create the health
check.public HealthCheck withCallerReference(String callerReference)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
callerReference - A unique string that identifies the request to create the health
check.public HealthCheckConfig getHealthCheckConfig()
public void setHealthCheckConfig(HealthCheckConfig healthCheckConfig)
healthCheckConfig - A complex type that contains the health check configuration.public HealthCheck withHealthCheckConfig(HealthCheckConfig healthCheckConfig)
Returns a reference to this object so that method calls can be chained together.
healthCheckConfig - A complex type that contains the health check configuration.public Long getHealthCheckVersion()
UpdateHealthCheck to prevent overwriting
another change to the health check.
Constraints:
Range: 1 -
UpdateHealthCheck to prevent overwriting
another change to the health check.public void setHealthCheckVersion(Long healthCheckVersion)
UpdateHealthCheck to prevent overwriting
another change to the health check.
Constraints:
Range: 1 -
healthCheckVersion - The version of the health check. You can optionally pass this value in
a call to UpdateHealthCheck to prevent overwriting
another change to the health check.public HealthCheck withHealthCheckVersion(Long healthCheckVersion)
UpdateHealthCheck to prevent overwriting
another change to the health check.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
healthCheckVersion - The version of the health check. You can optionally pass this value in
a call to UpdateHealthCheck to prevent overwriting
another change to the health check.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.