com.amazonaws.services.elasticloadbalancing.model

## クラス ApplySecurityGroupsToLoadBalancerRequest

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

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

      public class ApplySecurityGroupsToLoadBalancerRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `ApplySecurityGroupsToLoadBalancer operation`.

  Associates one or more security groups with your LoadBalancer in VPC. The provided security group IDs will override any currently applied security groups.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getLoadBalancerName()` The name associated with the LoadBalancer.
    `java.util.List<java.lang.String>` | `getSecurityGroups()` A list of security group IDs to associate with your LoadBalancer in VPC.
    `int` | `hashCode()`
    `void` | `setLoadBalancerName(java.lang.String loadBalancerName)` The name associated with the LoadBalancer.
    `void` | `setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)` A list of security group IDs to associate with your LoadBalancer in VPC.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `ApplySecurityGroupsToLoadBalancerRequest` | `withLoadBalancerName(java.lang.String loadBalancerName)` The name associated with the LoadBalancer.
    `ApplySecurityGroupsToLoadBalancerRequest` | `withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)` A list of security group IDs to associate with your LoadBalancer in VPC.
    `ApplySecurityGroupsToLoadBalancerRequest` | `withSecurityGroups(java.lang.String... securityGroups)` A list of security group IDs to associate with your LoadBalancer in VPC.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### ApplySecurityGroupsToLoadBalancerRequest

          public ApplySecurityGroupsToLoadBalancerRequest()

  - ### メソッドの詳細

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

    - #### getSecurityGroups

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

      A list of security group IDs to associate with your LoadBalancer in VPC. The security group IDs must be provided as the ID and not the security group name (For example, sg-1234).
      戻り値:
        A list of security group IDs to associate with your LoadBalancer in VPC. The security group IDs must be provided as the ID and not the security group name (For example, sg-1234).

    - #### setSecurityGroups

          public void setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)

      A list of security group IDs to associate with your LoadBalancer in VPC. The security group IDs must be provided as the ID and not the security group name (For example, sg-1234).
      パラメータ:
        `securityGroups` - A list of security group IDs to associate with your LoadBalancer in VPC. The security group IDs must be provided as the ID and not the security group name (For example, sg-1234).

    - #### withSecurityGroups

          public ApplySecurityGroupsToLoadBalancerRequest withSecurityGroups(java.lang.String... securityGroups)

      A list of security group IDs to associate with your LoadBalancer in VPC. The security group IDs must be provided as the ID and not the security group name (For example, sg-1234).

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

      パラメータ:
        `securityGroups` - A list of security group IDs to associate with your LoadBalancer in VPC. The security group IDs must be provided as the ID and not the security group name (For example, sg-1234).

    - #### withSecurityGroups

          public ApplySecurityGroupsToLoadBalancerRequest withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)

      A list of security group IDs to associate with your LoadBalancer in VPC. The security group IDs must be provided as the ID and not the security group name (For example, sg-1234).

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

      パラメータ:
        `securityGroups` - A list of security group IDs to associate with your LoadBalancer in VPC. The security group IDs must be provided as the ID and not the security group name (For example, sg-1234).

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