com.amazonaws.services.elasticloadbalancing.model

## クラス DescribeInstanceHealthRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.elasticloadbalancing.model.DescribeInstanceHealthRequest

- すべての実装されたインタフェース:
    java.io.Serializable

      public class DescribeInstanceHealthRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  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)`, 直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `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.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### DescribeInstanceHealthRequest

          public DescribeInstanceHealthRequest()

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

    - #### DescribeInstanceHealthRequest

          public DescribeInstanceHealthRequest(java.lang.String loadBalancerName)

      Constructs a new DescribeInstanceHealthRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `loadBalancerName` - The name associated with the LoadBalancer. The name must be unique within the client AWS account.

  - ### メソッドの詳細

    - #### getLoadBalancerName

          public java.lang.String getLoadBalancerName()

      The name associated with the LoadBalancer. The name must be unique within the client AWS account.
      戻り値:
        The name associated with the LoadBalancer. The name must be unique within the client AWS account.

    - #### setLoadBalancerName

          public void setLoadBalancerName(java.lang.String loadBalancerName)

      The name associated with the LoadBalancer. The name must be unique within the client AWS account.
      パラメータ:
        `loadBalancerName` - The name associated with the LoadBalancer. The name must be unique within the client AWS account.

    - #### withLoadBalancerName

          public DescribeInstanceHealthRequest withLoadBalancerName(java.lang.String loadBalancerName)

      The name associated with the LoadBalancer. The name must be unique within the client AWS account.

      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.

    - #### getInstances

          public java.util.List<Instance> getInstances()

      A list of instance IDs whose states are being queried.
      戻り値:
        A list of instance IDs whose states are being queried.

    - #### setInstances

          public void setInstances(java.util.Collection<Instance> instances)

      A list of instance IDs whose states are being queried.
      パラメータ:
        `instances` - A list of instance IDs whose states are being queried.

    - #### withInstances

          public DescribeInstanceHealthRequest withInstances(Instance... instances)

      A list of instance IDs whose states are being queried.

      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.

    - #### withInstances

          public DescribeInstanceHealthRequest withInstances(java.util.Collection<Instance> instances)

      A list of instance IDs whose states are being queried.

      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.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`