com.amazonaws.services.elasticloadbalancing.model

## クラス SetLoadBalancerPoliciesOfListenerRequest

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

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

      public class SetLoadBalancerPoliciesOfListenerRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `SetLoadBalancerPoliciesOfListener operation`.

  Associates, updates, or disables a policy with a listener on the LoadBalancer. You can associate multiple policies with a listener.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getLoadBalancerName()` The name associated with the LoadBalancer.
    `java.lang.Integer` | `getLoadBalancerPort()` The external port of the LoadBalancer with which this policy applies to.
    `java.util.List<java.lang.String>` | `getPolicyNames()` List of policies to be associated with the listener.
    `int` | `hashCode()`
    `void` | `setLoadBalancerName(java.lang.String loadBalancerName)` The name associated with the LoadBalancer.
    `void` | `setLoadBalancerPort(java.lang.Integer loadBalancerPort)` The external port of the LoadBalancer with which this policy applies to.
    `void` | `setPolicyNames(java.util.Collection<java.lang.String> policyNames)` List of policies to be associated with the listener.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `SetLoadBalancerPoliciesOfListenerRequest` | `withLoadBalancerName(java.lang.String loadBalancerName)` The name associated with the LoadBalancer.
    `SetLoadBalancerPoliciesOfListenerRequest` | `withLoadBalancerPort(java.lang.Integer loadBalancerPort)` The external port of the LoadBalancer with which this policy applies to.
    `SetLoadBalancerPoliciesOfListenerRequest` | `withPolicyNames(java.util.Collection<java.lang.String> policyNames)` List of policies to be associated with the listener.
    `SetLoadBalancerPoliciesOfListenerRequest` | `withPolicyNames(java.lang.String... policyNames)` List of policies to be associated with the listener.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### SetLoadBalancerPoliciesOfListenerRequest

          public SetLoadBalancerPoliciesOfListenerRequest()

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

    - #### SetLoadBalancerPoliciesOfListenerRequest

          public SetLoadBalancerPoliciesOfListenerRequest(java.lang.String loadBalancerName,
                                                  java.lang.Integer loadBalancerPort,
                                                  java.util.List<java.lang.String> policyNames)

      Constructs a new SetLoadBalancerPoliciesOfListenerRequest 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.
        `loadBalancerPort` - The external port of the LoadBalancer with which this policy applies to.
        `policyNames` - List of policies to be associated with the listener. Currently this list can have at most one policy. If the list is empty, the current policy is removed from the listener.

  - ### メソッドの詳細

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

    - #### getLoadBalancerPort

          public java.lang.Integer getLoadBalancerPort()

      The external port of the LoadBalancer with which this policy applies to.
      戻り値:
        The external port of the LoadBalancer with which this policy applies to.

    - #### setLoadBalancerPort

          public void setLoadBalancerPort(java.lang.Integer loadBalancerPort)

      The external port of the LoadBalancer with which this policy applies to.
      パラメータ:
        `loadBalancerPort` - The external port of the LoadBalancer with which this policy applies to.

    - #### withLoadBalancerPort

          public SetLoadBalancerPoliciesOfListenerRequest withLoadBalancerPort(java.lang.Integer loadBalancerPort)

      The external port of the LoadBalancer with which this policy applies to.

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

      パラメータ:
        `loadBalancerPort` - The external port of the LoadBalancer with which this policy applies to.

    - #### getPolicyNames

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

      List of policies to be associated with the listener. Currently this list can have at most one policy. If the list is empty, the current policy is removed from the listener.
      戻り値:
        List of policies to be associated with the listener. Currently this list can have at most one policy. If the list is empty, the current policy is removed from the listener.

    - #### setPolicyNames

          public void setPolicyNames(java.util.Collection<java.lang.String> policyNames)

      List of policies to be associated with the listener. Currently this list can have at most one policy. If the list is empty, the current policy is removed from the listener.
      パラメータ:
        `policyNames` - List of policies to be associated with the listener. Currently this list can have at most one policy. If the list is empty, the current policy is removed from the listener.

    - #### withPolicyNames

          public SetLoadBalancerPoliciesOfListenerRequest withPolicyNames(java.lang.String... policyNames)

      List of policies to be associated with the listener. Currently this list can have at most one policy. If the list is empty, the current policy is removed from the listener.

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

      パラメータ:
        `policyNames` - List of policies to be associated with the listener. Currently this list can have at most one policy. If the list is empty, the current policy is removed from the listener.

    - #### withPolicyNames

          public SetLoadBalancerPoliciesOfListenerRequest withPolicyNames(java.util.Collection<java.lang.String> policyNames)

      List of policies to be associated with the listener. Currently this list can have at most one policy. If the list is empty, the current policy is removed from the listener.

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

      パラメータ:
        `policyNames` - List of policies to be associated with the listener. Currently this list can have at most one policy. If the list is empty, the current policy is removed from the listener.

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