public class ConfigureHealthCheckRequest extends AmazonWebServiceRequest implements Serializable
ConfigureHealthCheck operation
.
Specifies the health check settings to use for evaluating the health state of your back-end instances.
For more information, see Health Check in the Elastic Load Balancing Developer Guide .
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 |
---|---|
boolean |
equals(Object obj) |
HealthCheck |
getHealthCheck()
A structure containing the configuration information for the new
healthcheck.
|
String |
getLoadBalancerName()
The mnemonic name associated with the load balancer.
|
int |
hashCode() |
void |
setHealthCheck(HealthCheck healthCheck)
A structure containing the configuration information for the new
healthcheck.
|
void |
setLoadBalancerName(String loadBalancerName)
The mnemonic name associated with the load balancer.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConfigureHealthCheckRequest |
withHealthCheck(HealthCheck healthCheck)
A structure containing the configuration information for the new
healthcheck.
|
ConfigureHealthCheckRequest |
withLoadBalancerName(String loadBalancerName)
The mnemonic name associated with the load balancer.
|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public ConfigureHealthCheckRequest()
public ConfigureHealthCheckRequest(String loadBalancerName, HealthCheck healthCheck)
loadBalancerName
- The mnemonic name associated with the load
balancer. The name must be unique within the set of load balancers
associated with your AWS account.healthCheck
- A structure containing the configuration
information for the new healthcheck.public String getLoadBalancerName()
public void setLoadBalancerName(String loadBalancerName)
loadBalancerName
- The mnemonic name associated with the load balancer. The name must be
unique within the set of load balancers associated with your AWS
account.public ConfigureHealthCheckRequest withLoadBalancerName(String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName
- The mnemonic name associated with the load balancer. The name must be
unique within the set of load balancers associated with your AWS
account.public HealthCheck getHealthCheck()
public void setHealthCheck(HealthCheck healthCheck)
healthCheck
- A structure containing the configuration information for the new
healthcheck.public ConfigureHealthCheckRequest withHealthCheck(HealthCheck healthCheck)
Returns a reference to this object so that method calls can be chained together.
healthCheck
- A structure containing the configuration information for the new
healthcheck.public String toString()
toString
in class Object
Object.toString()
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.