com.amazonaws.services.elasticloadbalancing.model

## クラス EnableAvailabilityZonesForLoadBalancerRequest

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

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

      public class EnableAvailabilityZonesForLoadBalancerRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `EnableAvailabilityZonesForLoadBalancer operation`.

  Adds one or more EC2 Availability Zones to the LoadBalancer.

  The LoadBalancer evenly distributes requests across all its registered Availability Zones that contain instances. As a result, the client must ensure that its LoadBalancer is appropriately scaled for each registered Availability Zone.

  NOTE: The new EC2 Availability Zones to be added must be in the same EC2 Region as the Availability Zones for which the LoadBalancer was created.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<java.lang.String>` | `getAvailabilityZones()` A list of new Availability Zones for 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 new Availability Zones for 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.
    `EnableAvailabilityZonesForLoadBalancerRequest` | `withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)` A list of new Availability Zones for the LoadBalancer.
    `EnableAvailabilityZonesForLoadBalancerRequest` | `withAvailabilityZones(java.lang.String... availabilityZones)` A list of new Availability Zones for the LoadBalancer.
    `EnableAvailabilityZonesForLoadBalancerRequest` | `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`

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

    - #### EnableAvailabilityZonesForLoadBalancerRequest

          public EnableAvailabilityZonesForLoadBalancerRequest()

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

    - #### EnableAvailabilityZonesForLoadBalancerRequest

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

      Constructs a new EnableAvailabilityZonesForLoadBalancerRequest 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 new Availability Zones for the LoadBalancer. Each Availability Zone must be in the same Region as the LoadBalancer.

  - ### メソッドの詳細

    - #### 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 EnableAvailabilityZonesForLoadBalancerRequest 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 new Availability Zones for the LoadBalancer. Each Availability Zone must be in the same Region as the LoadBalancer.
      戻り値:
        A list of new Availability Zones for the LoadBalancer. Each Availability Zone must be in the same Region as the LoadBalancer.

    - #### setAvailabilityZones

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

      A list of new Availability Zones for the LoadBalancer. Each Availability Zone must be in the same Region as the LoadBalancer.
      パラメータ:
        `availabilityZones` - A list of new Availability Zones for the LoadBalancer. Each Availability Zone must be in the same Region as the LoadBalancer.

    - #### withAvailabilityZones

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

      A list of new Availability Zones for the LoadBalancer. Each Availability Zone must be in the same Region as the LoadBalancer.

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

      パラメータ:
        `availabilityZones` - A list of new Availability Zones for the LoadBalancer. Each Availability Zone must be in the same Region as the LoadBalancer.

    - #### withAvailabilityZones

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

      A list of new Availability Zones for the LoadBalancer. Each Availability Zone must be in the same Region as the LoadBalancer.

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

      パラメータ:
        `availabilityZones` - A list of new Availability Zones for the LoadBalancer. Each Availability Zone must be in the same Region as the LoadBalancer.

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