com.amazonaws.services.elasticloadbalancing.model

## クラス DeregisterInstancesFromLoadBalancerRequest

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

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

      public class DeregisterInstancesFromLoadBalancerRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DeregisterInstancesFromLoadBalancer operation`.

  Deregisters instances from the LoadBalancer. Once the instance is deregistered, it will stop receiving traffic from the LoadBalancer.

  In order to successfully call this API, the same account credentials as those used to create the LoadBalancer must be provided.

  関連項目:
    `AmazonElasticLoadBalancing.deregisterInstancesFromLoadBalancer(DeregisterInstancesFromLoadBalancerRequest)`, 直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `DeregisterInstancesFromLoadBalancerRequest()` Default constructor for a new DeregisterInstancesFromLoadBalancerRequest object.
    `DeregisterInstancesFromLoadBalancerRequest(java.lang.String loadBalancerName, java.util.List<Instance> instances)` Constructs a new DeregisterInstancesFromLoadBalancerRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<Instance>` | `getInstances()` A list of EC2 instance IDs consisting of all instances to be deregistered.
    `java.lang.String` | `getLoadBalancerName()` The name associated with the LoadBalancer.
    `int` | `hashCode()`
    `void` | `setInstances(java.util.Collection<Instance> instances)` A list of EC2 instance IDs consisting of all instances to be deregistered.
    `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.
    `DeregisterInstancesFromLoadBalancerRequest` | `withInstances(java.util.Collection<Instance> instances)` A list of EC2 instance IDs consisting of all instances to be deregistered.
    `DeregisterInstancesFromLoadBalancerRequest` | `withInstances(Instance... instances)` A list of EC2 instance IDs consisting of all instances to be deregistered.
    `DeregisterInstancesFromLoadBalancerRequest` | `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`

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

    - #### DeregisterInstancesFromLoadBalancerRequest

          public DeregisterInstancesFromLoadBalancerRequest()

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

    - #### DeregisterInstancesFromLoadBalancerRequest

          public DeregisterInstancesFromLoadBalancerRequest(java.lang.String loadBalancerName,
                                                    java.util.List<Instance> instances)

      Constructs a new DeregisterInstancesFromLoadBalancerRequest 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.
        `instances` - A list of EC2 instance IDs consisting of all instances to be deregistered.

  - ### メソッドの詳細

    - #### 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 DeregisterInstancesFromLoadBalancerRequest 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 EC2 instance IDs consisting of all instances to be deregistered.
      戻り値:
        A list of EC2 instance IDs consisting of all instances to be deregistered.

    - #### setInstances

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

      A list of EC2 instance IDs consisting of all instances to be deregistered.
      パラメータ:
        `instances` - A list of EC2 instance IDs consisting of all instances to be deregistered.

    - #### withInstances

          public DeregisterInstancesFromLoadBalancerRequest withInstances(Instance... instances)

      A list of EC2 instance IDs consisting of all instances to be deregistered.

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

      パラメータ:
        `instances` - A list of EC2 instance IDs consisting of all instances to be deregistered.

    - #### withInstances

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

      A list of EC2 instance IDs consisting of all instances to be deregistered.

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

      パラメータ:
        `instances` - A list of EC2 instance IDs consisting of all instances to be deregistered.

    - #### 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`