com.amazonaws.services.opsworks.model

## クラス ElasticLoadBalancer

- java.lang.Object
- - com.amazonaws.services.opsworks.model.ElasticLoadBalancer

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

      public class ElasticLoadBalancer
      extends java.lang.Object
      implements java.io.Serializable

  Describes an Elastic Load Balancing instance.

  関連項目:
    直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `ElasticLoadBalancer()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<java.lang.String>` | `getAvailabilityZones()` The instance's Availability Zones.
    `java.lang.String` | `getDnsName()` The instance's public DNS name.
    `java.util.List<java.lang.String>` | `getEc2InstanceIds()` A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
    `java.lang.String` | `getElasticLoadBalancerName()` The Elastic Load Balancing instance's name.
    `java.lang.String` | `getLayerId()` The ID of the layer that the instance is attached to.
    `java.lang.String` | `getRegion()` The instance's AWS region.
    `java.lang.String` | `getStackId()` The ID of the stack that the instance is associated with.
    `java.lang.String` | `getVpcId()` The VPC ID.
    `int` | `hashCode()`
    `void` | `setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)` The instance's Availability Zones.
    `void` | `setDnsName(java.lang.String dnsName)` The instance's public DNS name.
    `void` | `setEc2InstanceIds(java.util.Collection<java.lang.String> ec2InstanceIds)` A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
    `void` | `setElasticLoadBalancerName(java.lang.String elasticLoadBalancerName)` The Elastic Load Balancing instance's name.
    `void` | `setLayerId(java.lang.String layerId)` The ID of the layer that the instance is attached to.
    `void` | `setRegion(java.lang.String region)` The instance's AWS region.
    `void` | `setStackId(java.lang.String stackId)` The ID of the stack that the instance is associated with.
    `void` | `setVpcId(java.lang.String vpcId)` The VPC ID.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `ElasticLoadBalancer` | `withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)` The instance's Availability Zones.
    `ElasticLoadBalancer` | `withAvailabilityZones(java.lang.String... availabilityZones)` The instance's Availability Zones.
    `ElasticLoadBalancer` | `withDnsName(java.lang.String dnsName)` The instance's public DNS name.
    `ElasticLoadBalancer` | `withEc2InstanceIds(java.util.Collection<java.lang.String> ec2InstanceIds)` A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
    `ElasticLoadBalancer` | `withEc2InstanceIds(java.lang.String... ec2InstanceIds)` A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
    `ElasticLoadBalancer` | `withElasticLoadBalancerName(java.lang.String elasticLoadBalancerName)` The Elastic Load Balancing instance's name.
    `ElasticLoadBalancer` | `withLayerId(java.lang.String layerId)` The ID of the layer that the instance is attached to.
    `ElasticLoadBalancer` | `withRegion(java.lang.String region)` The instance's AWS region.
    `ElasticLoadBalancer` | `withStackId(java.lang.String stackId)` The ID of the stack that the instance is associated with.
    `ElasticLoadBalancer` | `withVpcId(java.lang.String vpcId)` The VPC ID.

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

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

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

    - #### ElasticLoadBalancer

          public ElasticLoadBalancer()

  - ### メソッドの詳細

    - #### getElasticLoadBalancerName

          public java.lang.String getElasticLoadBalancerName()

      The Elastic Load Balancing instance's name.
      戻り値:
        The Elastic Load Balancing instance's name.

    - #### setElasticLoadBalancerName

          public void setElasticLoadBalancerName(java.lang.String elasticLoadBalancerName)

      The Elastic Load Balancing instance's name.
      パラメータ:
        `elasticLoadBalancerName` - The Elastic Load Balancing instance's name.

    - #### withElasticLoadBalancerName

          public ElasticLoadBalancer withElasticLoadBalancerName(java.lang.String elasticLoadBalancerName)

      The Elastic Load Balancing instance's name.

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

      パラメータ:
        `elasticLoadBalancerName` - The Elastic Load Balancing instance's name.

    - #### getRegion

          public java.lang.String getRegion()

      The instance's AWS region.
      戻り値:
        The instance's AWS region.

    - #### setRegion

          public void setRegion(java.lang.String region)

      The instance's AWS region.
      パラメータ:
        `region` - The instance's AWS region.

    - #### withRegion

          public ElasticLoadBalancer withRegion(java.lang.String region)

      The instance's AWS region.

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

      パラメータ:
        `region` - The instance's AWS region.

    - #### getDnsName

          public java.lang.String getDnsName()

      The instance's public DNS name.
      戻り値:
        The instance's public DNS name.

    - #### setDnsName

          public void setDnsName(java.lang.String dnsName)

      The instance's public DNS name.
      パラメータ:
        `dnsName` - The instance's public DNS name.

    - #### withDnsName

          public ElasticLoadBalancer withDnsName(java.lang.String dnsName)

      The instance's public DNS name.

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

      パラメータ:
        `dnsName` - The instance's public DNS name.

    - #### getStackId

          public java.lang.String getStackId()

      The ID of the stack that the instance is associated with.
      戻り値:
        The ID of the stack that the instance is associated with.

    - #### setStackId

          public void setStackId(java.lang.String stackId)

      The ID of the stack that the instance is associated with.
      パラメータ:
        `stackId` - The ID of the stack that the instance is associated with.

    - #### withStackId

          public ElasticLoadBalancer withStackId(java.lang.String stackId)

      The ID of the stack that the instance is associated with.

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

      パラメータ:
        `stackId` - The ID of the stack that the instance is associated with.

    - #### getLayerId

          public java.lang.String getLayerId()

      The ID of the layer that the instance is attached to.
      戻り値:
        The ID of the layer that the instance is attached to.

    - #### setLayerId

          public void setLayerId(java.lang.String layerId)

      The ID of the layer that the instance is attached to.
      パラメータ:
        `layerId` - The ID of the layer that the instance is attached to.

    - #### withLayerId

          public ElasticLoadBalancer withLayerId(java.lang.String layerId)

      The ID of the layer that the instance is attached to.

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

      パラメータ:
        `layerId` - The ID of the layer that the instance is attached to.

    - #### getVpcId

          public java.lang.String getVpcId()

      The VPC ID.
      戻り値:
        The VPC ID.

    - #### setVpcId

          public void setVpcId(java.lang.String vpcId)

      The VPC ID.
      パラメータ:
        `vpcId` - The VPC ID.

    - #### withVpcId

          public ElasticLoadBalancer withVpcId(java.lang.String vpcId)

      The VPC ID.

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

      パラメータ:
        `vpcId` - The VPC ID.

    - #### getAvailabilityZones

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

      The instance's Availability Zones.
      戻り値:
        The instance's Availability Zones.

    - #### setAvailabilityZones

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

      The instance's Availability Zones.
      パラメータ:
        `availabilityZones` - The instance's Availability Zones.

    - #### withAvailabilityZones

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

      The instance's Availability Zones.

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

      パラメータ:
        `availabilityZones` - The instance's Availability Zones.

    - #### withAvailabilityZones

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

      The instance's Availability Zones.

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

      パラメータ:
        `availabilityZones` - The instance's Availability Zones.

    - #### getEc2InstanceIds

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

      A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
      戻り値:
        A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.

    - #### setEc2InstanceIds

          public void setEc2InstanceIds(java.util.Collection<java.lang.String> ec2InstanceIds)

      A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
      パラメータ:
        `ec2InstanceIds` - A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.

    - #### withEc2InstanceIds

          public ElasticLoadBalancer withEc2InstanceIds(java.lang.String... ec2InstanceIds)

      A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.

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

      パラメータ:
        `ec2InstanceIds` - A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.

    - #### withEc2InstanceIds

          public ElasticLoadBalancer withEc2InstanceIds(java.util.Collection<java.lang.String> ec2InstanceIds)

      A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.

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

      パラメータ:
        `ec2InstanceIds` - A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.

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