public class ConfigureHealthCheckRequest extends AmazonWebServiceRequest implements Serializable
ConfigureHealthCheck operation
.
Enables the client to define an application healthcheck for the instances.
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 LoadBalancer.
|
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 LoadBalancer.
|
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 LoadBalancer.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public ConfigureHealthCheckRequest()
public ConfigureHealthCheckRequest(String loadBalancerName, HealthCheck healthCheck)
loadBalancerName
- The mnemonic name associated with the
LoadBalancer. This name must be unique within the client 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 LoadBalancer. This name must be
unique within the client 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 LoadBalancer. This name must be
unique within the client 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 © 2013 Amazon Web Services, Inc. All Rights Reserved.