com.amazonaws.services.elasticloadbalancing.model
Class ConfigureHealthCheckRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticloadbalancing.model.ConfigureHealthCheckRequest
All Implemented Interfaces:
java.io.Serializable

public class ConfigureHealthCheckRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the 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 .

See Also:
AmazonElasticLoadBalancing.configureHealthCheck(ConfigureHealthCheckRequest), Serialized Form

Constructor Summary
ConfigureHealthCheckRequest()
          Default constructor for a new ConfigureHealthCheckRequest object.
ConfigureHealthCheckRequest(java.lang.String loadBalancerName, HealthCheck healthCheck)
          Constructs a new ConfigureHealthCheckRequest object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 HealthCheck getHealthCheck()
          A structure containing the configuration information for the new healthcheck.
 java.lang.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(java.lang.String loadBalancerName)
          The mnemonic name associated with the load balancer.
 java.lang.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(java.lang.String loadBalancerName)
          The mnemonic name associated with the load balancer.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigureHealthCheckRequest

public ConfigureHealthCheckRequest()
Default constructor for a new ConfigureHealthCheckRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


ConfigureHealthCheckRequest

public ConfigureHealthCheckRequest(java.lang.String loadBalancerName,
                                   HealthCheck healthCheck)
Constructs a new ConfigureHealthCheckRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
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.
Method Detail

getLoadBalancerName

public java.lang.String getLoadBalancerName()
The mnemonic name associated with the load balancer. The name must be unique within the set of load balancers associated with your AWS account.

Returns:
The mnemonic name associated with the load balancer. The name must be unique within the set of load balancers associated with your AWS account.

setLoadBalancerName

public void setLoadBalancerName(java.lang.String 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.

Parameters:
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.

withLoadBalancerName

public ConfigureHealthCheckRequest withLoadBalancerName(java.lang.String 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getHealthCheck

public HealthCheck getHealthCheck()
A structure containing the configuration information for the new healthcheck.

Returns:
A structure containing the configuration information for the new healthcheck.

setHealthCheck

public void setHealthCheck(HealthCheck healthCheck)
A structure containing the configuration information for the new healthcheck.

Parameters:
healthCheck - A structure containing the configuration information for the new healthcheck.

withHealthCheck

public ConfigureHealthCheckRequest withHealthCheck(HealthCheck healthCheck)
A structure containing the configuration information for the new healthcheck.

Returns a reference to this object so that method calls can be chained together.

Parameters:
healthCheck - A structure containing the configuration information for the new healthcheck.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.