public class ConfigureHealthCheckRequest extends AmazonWebServiceRequest implements java.io.Serializable
Specifies the health check settings to use when evaluating the health state of your back-end instances.
For more information, see Configure Health Checks in the Elastic Load Balancing Developer Guide.
Constructor and Description |
---|
ConfigureHealthCheckRequest()
Default constructor for ConfigureHealthCheckRequest object.
|
ConfigureHealthCheckRequest(java.lang.String loadBalancerName,
HealthCheck healthCheck)
Constructs a new ConfigureHealthCheckRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
HealthCheck |
getHealthCheck()
The configuration information for the new health check.
|
java.lang.String |
getLoadBalancerName()
The name of the load balancer.
|
int |
hashCode() |
void |
setHealthCheck(HealthCheck healthCheck)
The configuration information for the new health check.
|
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
java.lang.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(java.lang.String loadBalancerName)
The name of the load balancer.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public ConfigureHealthCheckRequest()
public ConfigureHealthCheckRequest(java.lang.String loadBalancerName, HealthCheck healthCheck)
loadBalancerName
- The name of the load balancer.
healthCheck
- The configuration information for the new health check.
public java.lang.String getLoadBalancerName()
The name of the load balancer.
The name of the load balancer.
public void setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.
public ConfigureHealthCheckRequest withLoadBalancerName(java.lang.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 for the new health check.
The configuration information for the new health check.
public void setHealthCheck(HealthCheck healthCheck)
The configuration information for the new health check.
healthCheck
- The configuration information for the new health check.
public ConfigureHealthCheckRequest withHealthCheck(HealthCheck healthCheck)
The configuration information for the new health check.
Returns a reference to this object so that method calls can be chained together.
healthCheck
- The configuration information for the new health check.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.