|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticloadbalancing.model.DescribeInstanceHealthRequest
public class DescribeInstanceHealthRequest
Container for the parameters to the DescribeInstanceHealth operation
.
Returns the current state of the instances of the specified LoadBalancer. If no instances are specified, the state of all the instances for the LoadBalancer is returned.
NOTE: The client must have created the specified input LoadBalancer in order to retrieve this information; the client must provide the same account credentials as those that were used to create the LoadBalancer.
AmazonElasticLoadBalancing.describeInstanceHealth(DescribeInstanceHealthRequest)
Constructor Summary | |
---|---|
DescribeInstanceHealthRequest()
Default constructor for a new DescribeInstanceHealthRequest object. |
|
DescribeInstanceHealthRequest(String loadBalancerName)
Constructs a new DescribeInstanceHealthRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<Instance> |
getInstances()
A list of instance IDs whose states are being queried. |
String |
getLoadBalancerName()
The name associated with the LoadBalancer. |
int |
hashCode()
|
void |
setInstances(Collection<Instance> instances)
A list of instance IDs whose states are being queried. |
void |
setLoadBalancerName(String loadBalancerName)
The name associated with the LoadBalancer. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DescribeInstanceHealthRequest |
withInstances(Collection<Instance> instances)
A list of instance IDs whose states are being queried. |
DescribeInstanceHealthRequest |
withInstances(Instance... instances)
A list of instance IDs whose states are being queried. |
DescribeInstanceHealthRequest |
withLoadBalancerName(String loadBalancerName)
The 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 |
---|
public DescribeInstanceHealthRequest()
public DescribeInstanceHealthRequest(String loadBalancerName)
loadBalancerName
- The name associated with the LoadBalancer. The
name must be unique within the client AWS account.Method Detail |
---|
public String getLoadBalancerName()
public void setLoadBalancerName(String loadBalancerName)
loadBalancerName
- The name associated with the LoadBalancer. The name must be unique
within the client AWS account.public DescribeInstanceHealthRequest withLoadBalancerName(String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName
- The name associated with the LoadBalancer. The name must be unique
within the client AWS account.
public List<Instance> getInstances()
public void setInstances(Collection<Instance> instances)
instances
- A list of instance IDs whose states are being queried.public DescribeInstanceHealthRequest withInstances(Instance... instances)
Returns a reference to this object so that method calls can be chained together.
instances
- A list of instance IDs whose states are being queried.
public DescribeInstanceHealthRequest withInstances(Collection<Instance> instances)
Returns a reference to this object so that method calls can be chained together.
instances
- A list of instance IDs whose states are being queried.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |