public class ConfigureHealthCheckRequest extends AmazonWebServiceRequest implements Serializable
Specifies the health check settings to use when evaluating the health state of your EC2 instances.
For more information, see Configure Health Checks for Your Load Balancer in the Classic Load Balancers Guide.
| Constructor and Description |
|---|
ConfigureHealthCheckRequest()
Default constructor for ConfigureHealthCheckRequest object.
|
ConfigureHealthCheckRequest(String loadBalancerName,
HealthCheck healthCheck)
Constructs a new ConfigureHealthCheckRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
HealthCheck |
getHealthCheck()
The configuration information.
|
String |
getLoadBalancerName()
The name of the load balancer.
|
int |
hashCode() |
void |
setHealthCheck(HealthCheck healthCheck)
The configuration information.
|
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.
|
ConfigureHealthCheckRequest |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic ConfigureHealthCheckRequest()
public ConfigureHealthCheckRequest(String loadBalancerName, HealthCheck healthCheck)
loadBalancerName - The name of the load balancer.
healthCheck - The configuration information.
public String getLoadBalancerName()
The name of the load balancer.
The name of the load balancer.
public void setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName - The name of the load balancer.
public ConfigureHealthCheckRequest withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
Returns a reference to this object so that method calls can be chained together.
loadBalancerName - The name of the load balancer.
public HealthCheck getHealthCheck()
The configuration information.
The configuration information.
public void setHealthCheck(HealthCheck healthCheck)
The configuration information.
healthCheck - The configuration information.
public ConfigureHealthCheckRequest withHealthCheck(HealthCheck healthCheck)
The configuration information.
Returns a reference to this object so that method calls can be chained together.
healthCheck - The configuration information.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.