public class DescribeInstanceHealthRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
| コンストラクタと説明 |
|---|
DescribeInstanceHealthRequest()
Default constructor for a new DescribeInstanceHealthRequest object.
|
DescribeInstanceHealthRequest(java.lang.String loadBalancerName)
Constructs a new DescribeInstanceHealthRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Instance> |
getInstances()
A list of instance IDs whose states are being queried.
|
java.lang.String |
getLoadBalancerName()
The name associated with the LoadBalancer.
|
int |
hashCode() |
void |
setInstances(java.util.Collection<Instance> instances)
A list of instance IDs whose states are being queried.
|
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name associated with the LoadBalancer.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeInstanceHealthRequest |
withInstances(java.util.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(java.lang.String loadBalancerName)
The name associated with the LoadBalancer.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic DescribeInstanceHealthRequest()
public DescribeInstanceHealthRequest(java.lang.String loadBalancerName)
loadBalancerName - The name associated with the LoadBalancer. The
name must be unique within the client AWS account.public java.lang.String getLoadBalancerName()
public void setLoadBalancerName(java.lang.String loadBalancerName)
loadBalancerName - The name associated with the LoadBalancer. The name must be unique
within the client AWS account.public DescribeInstanceHealthRequest withLoadBalancerName(java.lang.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 java.util.List<Instance> getInstances()
public void setInstances(java.util.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(java.util.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object