com.amazonaws.services.elasticloadbalancing.model

## クラス DisableAvailabilityZonesForLoadBalancerRequest

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

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

      public class DisableAvailabilityZonesForLoadBalancerRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DisableAvailabilityZonesForLoadBalancer operation`.

  Removes the specified EC2 Availability Zones from the set of configured Availability Zones for the LoadBalancer.

  There must be at least one Availability Zone registered with a LoadBalancer at all times. A client cannot remove all the Availability Zones from a LoadBalancer. Once an Availability Zone is removed, all the instances registered with the LoadBalancer that are in the removed Availability Zone go into the OutOfService state. Upon Availability Zone removal, the LoadBalancer attempts to equally balance the traffic among its remaining usable Availability Zones. Trying to remove an Availability Zone that was not associated with the LoadBalancer does nothing.

  NOTE: In order for this call to be successful, the client must have created the LoadBalancer. The client must provide the same account credentials as those that were used to create the LoadBalancer.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<java.lang.String>` | `getAvailabilityZones()` A list of Availability Zones to be removed from the LoadBalancer.
    `java.lang.String` | `getLoadBalancerName()` The name associated with the LoadBalancer.
    `int` | `hashCode()`
    `void` | `setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)` A list of Availability Zones to be removed from the LoadBalancer.
    `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.
    `DisableAvailabilityZonesForLoadBalancerRequest` | `withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)` A list of Availability Zones to be removed from the LoadBalancer.
    `DisableAvailabilityZonesForLoadBalancerRequest` | `withAvailabilityZones(java.lang.String... availabilityZones)` A list of Availability Zones to be removed from the LoadBalancer.
    `DisableAvailabilityZonesForLoadBalancerRequest` | `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`

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

    - #### DisableAvailabilityZonesForLoadBalancerRequest

          public DisableAvailabilityZonesForLoadBalancerRequest()

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

    - #### DisableAvailabilityZonesForLoadBalancerRequest

          public DisableAvailabilityZonesForLoadBalancerRequest(java.lang.String loadBalancerName,
                                                        java.util.List<java.lang.String> availabilityZones)

      Constructs a new DisableAvailabilityZonesForLoadBalancerRequest 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.
        `availabilityZones` - A list of Availability Zones to be removed from the LoadBalancer. There must be at least one Availability Zone registered with a LoadBalancer at all times. The client cannot remove all the Availability Zones from a LoadBalancer. Specified Availability Zones must be in the same Region.

  - ### メソッドの詳細

    - #### 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 DisableAvailabilityZonesForLoadBalancerRequest 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.

    - #### getAvailabilityZones

          public java.util.List<java.lang.String> getAvailabilityZones()

      A list of Availability Zones to be removed from the LoadBalancer. There must be at least one Availability Zone registered with a LoadBalancer at all times. The client cannot remove all the Availability Zones from a LoadBalancer. Specified Availability Zones must be in the same Region.
      戻り値:
        A list of Availability Zones to be removed from the LoadBalancer. There must be at least one Availability Zone registered with a LoadBalancer at all times. The client cannot remove all the Availability Zones from a LoadBalancer. Specified Availability Zones must be in the same Region.

    - #### setAvailabilityZones

          public void setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)

      A list of Availability Zones to be removed from the LoadBalancer. There must be at least one Availability Zone registered with a LoadBalancer at all times. The client cannot remove all the Availability Zones from a LoadBalancer. Specified Availability Zones must be in the same Region.
      パラメータ:
        `availabilityZones` - A list of Availability Zones to be removed from the LoadBalancer. There must be at least one Availability Zone registered with a LoadBalancer at all times. The client cannot remove all the Availability Zones from a LoadBalancer. Specified Availability Zones must be in the same Region.

    - #### withAvailabilityZones

          public DisableAvailabilityZonesForLoadBalancerRequest withAvailabilityZones(java.lang.String... availabilityZones)

      A list of Availability Zones to be removed from the LoadBalancer. There must be at least one Availability Zone registered with a LoadBalancer at all times. The client cannot remove all the Availability Zones from a LoadBalancer. Specified Availability Zones must be in the same Region.

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

      パラメータ:
        `availabilityZones` - A list of Availability Zones to be removed from the LoadBalancer. There must be at least one Availability Zone registered with a LoadBalancer at all times. The client cannot remove all the Availability Zones from a LoadBalancer. Specified Availability Zones must be in the same Region.

    - #### withAvailabilityZones

          public DisableAvailabilityZonesForLoadBalancerRequest withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)

      A list of Availability Zones to be removed from the LoadBalancer. There must be at least one Availability Zone registered with a LoadBalancer at all times. The client cannot remove all the Availability Zones from a LoadBalancer. Specified Availability Zones must be in the same Region.

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

      パラメータ:
        `availabilityZones` - A list of Availability Zones to be removed from the LoadBalancer. There must be at least one Availability Zone registered with a LoadBalancer at all times. The client cannot remove all the Availability Zones from a LoadBalancer. Specified Availability Zones must be in the same Region.

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