com.amazonaws.services.elasticloadbalancing.model

## クラス CreateLoadBalancerListenersRequest

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

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

      public class CreateLoadBalancerListenersRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CreateLoadBalancerListeners operation`.

  Creates one or more listeners on a LoadBalancer for the specified port. If a listener with the given port does not already exist, it will be created; otherwise, the properties of the new listener must match the properties of the existing listener.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<Listener>` | `getListeners()` A list of `LoadBalancerPort`, `InstancePort`, `Protocol`, and `SSLCertificateId` items.
    `java.lang.String` | `getLoadBalancerName()` The name of the new LoadBalancer.
    `int` | `hashCode()`
    `void` | `setListeners(java.util.Collection<Listener> listeners)` A list of `LoadBalancerPort`, `InstancePort`, `Protocol`, and `SSLCertificateId` items.
    `void` | `setLoadBalancerName(java.lang.String loadBalancerName)` The name of the new LoadBalancer.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreateLoadBalancerListenersRequest` | `withListeners(java.util.Collection<Listener> listeners)` A list of `LoadBalancerPort`, `InstancePort`, `Protocol`, and `SSLCertificateId` items.
    `CreateLoadBalancerListenersRequest` | `withListeners(Listener... listeners)` A list of `LoadBalancerPort`, `InstancePort`, `Protocol`, and `SSLCertificateId` items.
    `CreateLoadBalancerListenersRequest` | `withLoadBalancerName(java.lang.String loadBalancerName)` The name of the new LoadBalancer.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CreateLoadBalancerListenersRequest

          public CreateLoadBalancerListenersRequest()

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

    - #### CreateLoadBalancerListenersRequest

          public CreateLoadBalancerListenersRequest(java.lang.String loadBalancerName,
                                            java.util.List<Listener> listeners)

      Constructs a new CreateLoadBalancerListenersRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `loadBalancerName` - The name of the new LoadBalancer. The name must be unique within your AWS account.
        `listeners` - A list of `LoadBalancerPort`, `InstancePort`, `Protocol`, and `SSLCertificateId` items.

  - ### メソッドの詳細

    - #### getLoadBalancerName

          public java.lang.String getLoadBalancerName()

      The name of the new LoadBalancer. The name must be unique within your AWS account.
      戻り値:
        The name of the new LoadBalancer. The name must be unique within your AWS account.

    - #### setLoadBalancerName

          public void setLoadBalancerName(java.lang.String loadBalancerName)

      The name of the new LoadBalancer. The name must be unique within your AWS account.
      パラメータ:
        `loadBalancerName` - The name of the new LoadBalancer. The name must be unique within your AWS account.

    - #### withLoadBalancerName

          public CreateLoadBalancerListenersRequest withLoadBalancerName(java.lang.String loadBalancerName)

      The name of the new LoadBalancer. The name must be unique within your AWS account.

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

      パラメータ:
        `loadBalancerName` - The name of the new LoadBalancer. The name must be unique within your AWS account.

    - #### getListeners

          public java.util.List<Listener> getListeners()

      A list of `LoadBalancerPort`, `InstancePort`, `Protocol`, and `SSLCertificateId` items.
      戻り値:
        A list of `LoadBalancerPort`, `InstancePort`, `Protocol`, and `SSLCertificateId` items.

    - #### setListeners

          public void setListeners(java.util.Collection<Listener> listeners)

      A list of `LoadBalancerPort`, `InstancePort`, `Protocol`, and `SSLCertificateId` items.
      パラメータ:
        `listeners` - A list of `LoadBalancerPort`, `InstancePort`, `Protocol`, and `SSLCertificateId` items.

    - #### withListeners

          public CreateLoadBalancerListenersRequest withListeners(Listener... listeners)

      A list of `LoadBalancerPort`, `InstancePort`, `Protocol`, and `SSLCertificateId` items.

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

      パラメータ:
        `listeners` - A list of `LoadBalancerPort`, `InstancePort`, `Protocol`, and `SSLCertificateId` items.

    - #### withListeners

          public CreateLoadBalancerListenersRequest withListeners(java.util.Collection<Listener> listeners)

      A list of `LoadBalancerPort`, `InstancePort`, `Protocol`, and `SSLCertificateId` items.

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

      パラメータ:
        `listeners` - A list of `LoadBalancerPort`, `InstancePort`, `Protocol`, and `SSLCertificateId` items.

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