com.amazonaws.services.elasticloadbalancing.model
Class ConfigureHealthCheckRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticloadbalancing.model.ConfigureHealthCheckRequest

public class ConfigureHealthCheckRequest
extends AmazonWebServiceRequest

Container for the parameters to the ConfigureHealthCheck operation.

Enables the client to define an application healthcheck for the instances.

See Also:
AmazonElasticLoadBalancing.configureHealthCheck(ConfigureHealthCheckRequest)

Constructor Summary
ConfigureHealthCheckRequest()
          Default constructor for a new ConfigureHealthCheckRequest object.
ConfigureHealthCheckRequest(String loadBalancerName, HealthCheck healthCheck)
          Constructs a new ConfigureHealthCheckRequest object.
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
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(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 LoadBalancer. This name must be unique within the client AWS account.
healthCheck - A structure containing the configuration information for the new healthcheck.
Method Detail

getLoadBalancerName

public String getLoadBalancerName()
The mnemonic name associated with the LoadBalancer. This name must be unique within the client AWS account.

Returns:
The mnemonic name associated with the LoadBalancer. This name must be unique within the client AWS account.

setLoadBalancerName

public void setLoadBalancerName(String loadBalancerName)
The mnemonic name associated with the LoadBalancer. This name must be unique within the client AWS account.

Parameters:
loadBalancerName - The mnemonic name associated with the LoadBalancer. This name must be unique within the client AWS account.

withLoadBalancerName

public ConfigureHealthCheckRequest withLoadBalancerName(String loadBalancerName)
The mnemonic name associated with the LoadBalancer. This name must be unique within the client AWS account.

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

Parameters:
loadBalancerName - The mnemonic name associated with the LoadBalancer. This name must be unique within the client 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 String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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