com.amazonaws.services.elasticloadbalancing.model

## クラス SetLoadBalancerPoliciesForBackendServerRequest

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

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

      public class SetLoadBalancerPoliciesForBackendServerRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `SetLoadBalancerPoliciesForBackendServer operation`.

  Replaces the current set of policies associated with a port on which the back-end server is listening with a new set of policies. After the policies have been created using CreateLoadBalancerPolicy, they can be applied here as a list. At this time, only the back-end server authentication policy type can be applied to the back-end ports; this policy type is composed of multiple public key policies.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Integer` | `getInstancePort()` The port number associated with the back-end server.
    `java.lang.String` | `getLoadBalancerName()` The mnemonic name associated with the LoadBalancer.
    `java.util.List<java.lang.String>` | `getPolicyNames()` List of policy names to be set.
    `int` | `hashCode()`
    `void` | `setInstancePort(java.lang.Integer instancePort)` The port number associated with the back-end server.
    `void` | `setLoadBalancerName(java.lang.String loadBalancerName)` The mnemonic name associated with the LoadBalancer.
    `void` | `setPolicyNames(java.util.Collection<java.lang.String> policyNames)` List of policy names to be set.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `SetLoadBalancerPoliciesForBackendServerRequest` | `withInstancePort(java.lang.Integer instancePort)` The port number associated with the back-end server.
    `SetLoadBalancerPoliciesForBackendServerRequest` | `withLoadBalancerName(java.lang.String loadBalancerName)` The mnemonic name associated with the LoadBalancer.
    `SetLoadBalancerPoliciesForBackendServerRequest` | `withPolicyNames(java.util.Collection<java.lang.String> policyNames)` List of policy names to be set.
    `SetLoadBalancerPoliciesForBackendServerRequest` | `withPolicyNames(java.lang.String... policyNames)` List of policy names to be set.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### SetLoadBalancerPoliciesForBackendServerRequest

          public SetLoadBalancerPoliciesForBackendServerRequest()

  - ### メソッドの詳細

    - #### getLoadBalancerName

          public java.lang.String getLoadBalancerName()

      The mnemonic name associated with the LoadBalancer. This name must be unique within the client AWS account.
      戻り値:
        The mnemonic name associated with the LoadBalancer. This name must be unique within the client AWS account.

    - #### setLoadBalancerName

          public void setLoadBalancerName(java.lang.String loadBalancerName)

      The mnemonic name associated with the LoadBalancer. This name must be unique within the client AWS account.
      パラメータ:
        `loadBalancerName` - The mnemonic name associated with the LoadBalancer. This name must be unique within the client AWS account.

    - #### withLoadBalancerName

          public SetLoadBalancerPoliciesForBackendServerRequest withLoadBalancerName(java.lang.String loadBalancerName)

      The mnemonic name associated with the LoadBalancer. This 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 mnemonic name associated with the LoadBalancer. This name must be unique within the client AWS account.

    - #### getInstancePort

          public java.lang.Integer getInstancePort()

      The port number associated with the back-end server.
      戻り値:
        The port number associated with the back-end server.

    - #### setInstancePort

          public void setInstancePort(java.lang.Integer instancePort)

      The port number associated with the back-end server.
      パラメータ:
        `instancePort` - The port number associated with the back-end server.

    - #### withInstancePort

          public SetLoadBalancerPoliciesForBackendServerRequest withInstancePort(java.lang.Integer instancePort)

      The port number associated with the back-end server.

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

      パラメータ:
        `instancePort` - The port number associated with the back-end server.

    - #### getPolicyNames

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

      List of policy names to be set. If the list is empty, then all current polices are removed from the back-end server.
      戻り値:
        List of policy names to be set. If the list is empty, then all current polices are removed from the back-end server.

    - #### setPolicyNames

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

      List of policy names to be set. If the list is empty, then all current polices are removed from the back-end server.
      パラメータ:
        `policyNames` - List of policy names to be set. If the list is empty, then all current polices are removed from the back-end server.

    - #### withPolicyNames

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

      List of policy names to be set. If the list is empty, then all current polices are removed from the back-end server.

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

      パラメータ:
        `policyNames` - List of policy names to be set. If the list is empty, then all current polices are removed from the back-end server.

    - #### withPolicyNames

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

      List of policy names to be set. If the list is empty, then all current polices are removed from the back-end server.

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

      パラメータ:
        `policyNames` - List of policy names to be set. If the list is empty, then all current polices are removed from the back-end server.

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