com.amazonaws.services.elasticloadbalancing.model

## クラス CreateLoadBalancerPolicyRequest

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

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

      public class CreateLoadBalancerPolicyRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CreateLoadBalancerPolicy operation`.

  Creates a new policy that contains the necessary attributes depending on the policy type. Policies are settings that are saved for your Elastic LoadBalancer and that can be applied to the front-end listener, or the back-end application server, depending on your policy type.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getLoadBalancerName()` The name associated with the LoadBalancer for which the policy is being created.
    `java.util.List<PolicyAttribute>` | `getPolicyAttributes()` A list of attributes associated with the policy being created.
    `java.lang.String` | `getPolicyName()` The name of the LoadBalancer policy being created.
    `java.lang.String` | `getPolicyTypeName()` The name of the base policy type being used to create this policy.
    `int` | `hashCode()`
    `void` | `setLoadBalancerName(java.lang.String loadBalancerName)` The name associated with the LoadBalancer for which the policy is being created.
    `void` | `setPolicyAttributes(java.util.Collection<PolicyAttribute> policyAttributes)` A list of attributes associated with the policy being created.
    `void` | `setPolicyName(java.lang.String policyName)` The name of the LoadBalancer policy being created.
    `void` | `setPolicyTypeName(java.lang.String policyTypeName)` The name of the base policy type being used to create this policy.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreateLoadBalancerPolicyRequest` | `withLoadBalancerName(java.lang.String loadBalancerName)` The name associated with the LoadBalancer for which the policy is being created.
    `CreateLoadBalancerPolicyRequest` | `withPolicyAttributes(java.util.Collection<PolicyAttribute> policyAttributes)` A list of attributes associated with the policy being created.
    `CreateLoadBalancerPolicyRequest` | `withPolicyAttributes(PolicyAttribute... policyAttributes)` A list of attributes associated with the policy being created.
    `CreateLoadBalancerPolicyRequest` | `withPolicyName(java.lang.String policyName)` The name of the LoadBalancer policy being created.
    `CreateLoadBalancerPolicyRequest` | `withPolicyTypeName(java.lang.String policyTypeName)` The name of the base policy type being used to create this policy.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CreateLoadBalancerPolicyRequest

          public CreateLoadBalancerPolicyRequest()

  - ### メソッドの詳細

    - #### getLoadBalancerName

          public java.lang.String getLoadBalancerName()

      The name associated with the LoadBalancer for which the policy is being created. This name must be unique within the client AWS account.
      戻り値:
        The name associated with the LoadBalancer for which the policy is being created. This name must be unique within the client AWS account.

    - #### setLoadBalancerName

          public void setLoadBalancerName(java.lang.String loadBalancerName)

      The name associated with the LoadBalancer for which the policy is being created. This name must be unique within the client AWS account.
      パラメータ:
        `loadBalancerName` - The name associated with the LoadBalancer for which the policy is being created. This name must be unique within the client AWS account.

    - #### withLoadBalancerName

          public CreateLoadBalancerPolicyRequest withLoadBalancerName(java.lang.String loadBalancerName)

      The name associated with the LoadBalancer for which the policy is being created. 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 name associated with the LoadBalancer for which the policy is being created. This name must be unique within the client AWS account.

    - #### getPolicyName

          public java.lang.String getPolicyName()

      The name of the LoadBalancer policy being created. The name must be unique within the set of policies for this LoadBalancer.
      戻り値:
        The name of the LoadBalancer policy being created. The name must be unique within the set of policies for this LoadBalancer.

    - #### setPolicyName

          public void setPolicyName(java.lang.String policyName)

      The name of the LoadBalancer policy being created. The name must be unique within the set of policies for this LoadBalancer.
      パラメータ:
        `policyName` - The name of the LoadBalancer policy being created. The name must be unique within the set of policies for this LoadBalancer.

    - #### withPolicyName

          public CreateLoadBalancerPolicyRequest withPolicyName(java.lang.String policyName)

      The name of the LoadBalancer policy being created. The name must be unique within the set of policies for this LoadBalancer.

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

      パラメータ:
        `policyName` - The name of the LoadBalancer policy being created. The name must be unique within the set of policies for this LoadBalancer.

    - #### getPolicyTypeName

          public java.lang.String getPolicyTypeName()

      The name of the base policy type being used to create this policy. To get the list of policy types, use the DescribeLoadBalancerPolicyTypes action.
      戻り値:
        The name of the base policy type being used to create this policy. To get the list of policy types, use the DescribeLoadBalancerPolicyTypes action.

    - #### setPolicyTypeName

          public void setPolicyTypeName(java.lang.String policyTypeName)

      The name of the base policy type being used to create this policy. To get the list of policy types, use the DescribeLoadBalancerPolicyTypes action.
      パラメータ:
        `policyTypeName` - The name of the base policy type being used to create this policy. To get the list of policy types, use the DescribeLoadBalancerPolicyTypes action.

    - #### withPolicyTypeName

          public CreateLoadBalancerPolicyRequest withPolicyTypeName(java.lang.String policyTypeName)

      The name of the base policy type being used to create this policy. To get the list of policy types, use the DescribeLoadBalancerPolicyTypes action.

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

      パラメータ:
        `policyTypeName` - The name of the base policy type being used to create this policy. To get the list of policy types, use the DescribeLoadBalancerPolicyTypes action.

    - #### getPolicyAttributes

          public java.util.List<PolicyAttribute> getPolicyAttributes()

      A list of attributes associated with the policy being created.
      戻り値:
        A list of attributes associated with the policy being created.

    - #### setPolicyAttributes

          public void setPolicyAttributes(java.util.Collection<PolicyAttribute> policyAttributes)

      A list of attributes associated with the policy being created.
      パラメータ:
        `policyAttributes` - A list of attributes associated with the policy being created.

    - #### withPolicyAttributes

          public CreateLoadBalancerPolicyRequest withPolicyAttributes(PolicyAttribute... policyAttributes)

      A list of attributes associated with the policy being created.

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

      パラメータ:
        `policyAttributes` - A list of attributes associated with the policy being created.

    - #### withPolicyAttributes

          public CreateLoadBalancerPolicyRequest withPolicyAttributes(java.util.Collection<PolicyAttribute> policyAttributes)

      A list of attributes associated with the policy being created.

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

      パラメータ:
        `policyAttributes` - A list of attributes associated with the policy being created.

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