public class ConfigureHealthCheckRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ConfigureHealthCheck operation
.
Specifies the health check settings to use when evaluating the health state of your back-end instances.
For more information, see Health Checks in the Elastic Load Balancing Developer Guide .
NOOP
Constructor and Description |
---|
ConfigureHealthCheckRequest()
Default constructor for a new ConfigureHealthCheckRequest object.
|
ConfigureHealthCheckRequest(String loadBalancerName,
HealthCheck healthCheck)
Constructs a new ConfigureHealthCheckRequest object.
|
Modifier and Type | Method and Description |
---|---|
ConfigureHealthCheckRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
HealthCheck |
getHealthCheck()
The configuration information for the new health check.
|
String |
getLoadBalancerName()
The name of the load balancer.
|
int |
hashCode() |
void |
setHealthCheck(HealthCheck healthCheck)
The configuration information for the new health check.
|
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConfigureHealthCheckRequest |
withHealthCheck(HealthCheck healthCheck)
The configuration information for the new health check.
|
ConfigureHealthCheckRequest |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public ConfigureHealthCheckRequest()
public ConfigureHealthCheckRequest(String loadBalancerName, HealthCheck healthCheck)
loadBalancerName
- The name of the load balancer.healthCheck
- The configuration information for the new health
check.public String getLoadBalancerName()
public void setLoadBalancerName(String loadBalancerName)
loadBalancerName
- The name of the load balancer.public ConfigureHealthCheckRequest withLoadBalancerName(String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName
- The name of the load balancer.public HealthCheck getHealthCheck()
public void setHealthCheck(HealthCheck healthCheck)
healthCheck
- The configuration information for the new health check.public ConfigureHealthCheckRequest withHealthCheck(HealthCheck healthCheck)
Returns a reference to this object so that method calls can be chained together.
healthCheck
- The configuration information for the new health check.public String toString()
toString
in class Object
Object.toString()
public ConfigureHealthCheckRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.