com.amazonaws.services.elasticache.model

## クラス AuthorizeCacheSecurityGroupIngressRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.elasticache.model.AuthorizeCacheSecurityGroupIngressRequest

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

      public class AuthorizeCacheSecurityGroupIngressRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `AuthorizeCacheSecurityGroupIngress operation`.

  Authorizes ingress to a CacheSecurityGroup using EC2 Security Groups as authorization (therefore the application using the cache must be running on EC2 clusters). This API requires the following parameters: EC2SecurityGroupName and EC2SecurityGroupOwnerId.

  NOTE: You cannot authorize ingress from an EC2 security group in one Region to an Amazon Cache Cluster in another.

  関連項目:
    `AmazonElastiCache.authorizeCacheSecurityGroupIngress(AuthorizeCacheSecurityGroupIngressRequest)`, 直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `AuthorizeCacheSecurityGroupIngressRequest()` Default constructor for a new AuthorizeCacheSecurityGroupIngressRequest object.
    `AuthorizeCacheSecurityGroupIngressRequest(java.lang.String cacheSecurityGroupName, java.lang.String eC2SecurityGroupName, java.lang.String eC2SecurityGroupOwnerId)` Constructs a new AuthorizeCacheSecurityGroupIngressRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCacheSecurityGroupName()` The name of the Cache Security Group to authorize.
    `java.lang.String` | `getEC2SecurityGroupName()` Name of the EC2 Security Group to include in the authorization.
    `java.lang.String` | `getEC2SecurityGroupOwnerId()` AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter.
    `int` | `hashCode()`
    `void` | `setCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)` The name of the Cache Security Group to authorize.
    `void` | `setEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)` Name of the EC2 Security Group to include in the authorization.
    `void` | `setEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)` AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `AuthorizeCacheSecurityGroupIngressRequest` | `withCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)` The name of the Cache Security Group to authorize.
    `AuthorizeCacheSecurityGroupIngressRequest` | `withEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)` Name of the EC2 Security Group to include in the authorization.
    `AuthorizeCacheSecurityGroupIngressRequest` | `withEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)` AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### AuthorizeCacheSecurityGroupIngressRequest

          public AuthorizeCacheSecurityGroupIngressRequest()

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

    - #### AuthorizeCacheSecurityGroupIngressRequest

          public AuthorizeCacheSecurityGroupIngressRequest(java.lang.String cacheSecurityGroupName,
                                                   java.lang.String eC2SecurityGroupName,
                                                   java.lang.String eC2SecurityGroupOwnerId)

      Constructs a new AuthorizeCacheSecurityGroupIngressRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `cacheSecurityGroupName` - The name of the Cache Security Group to authorize.
        `eC2SecurityGroupName` - Name of the EC2 Security Group to include in the authorization.
        `eC2SecurityGroupOwnerId` - AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.

  - ### メソッドの詳細

    - #### getCacheSecurityGroupName

          public java.lang.String getCacheSecurityGroupName()

      The name of the Cache Security Group to authorize.
      戻り値:
        The name of the Cache Security Group to authorize.

    - #### setCacheSecurityGroupName

          public void setCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)

      The name of the Cache Security Group to authorize.
      パラメータ:
        `cacheSecurityGroupName` - The name of the Cache Security Group to authorize.

    - #### withCacheSecurityGroupName

          public AuthorizeCacheSecurityGroupIngressRequest withCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)

      The name of the Cache Security Group to authorize.

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

      パラメータ:
        `cacheSecurityGroupName` - The name of the Cache Security Group to authorize.

    - #### getEC2SecurityGroupName

          public java.lang.String getEC2SecurityGroupName()

      Name of the EC2 Security Group to include in the authorization.
      戻り値:
        Name of the EC2 Security Group to include in the authorization.

    - #### setEC2SecurityGroupName

          public void setEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)

      Name of the EC2 Security Group to include in the authorization.
      パラメータ:
        `eC2SecurityGroupName` - Name of the EC2 Security Group to include in the authorization.

    - #### withEC2SecurityGroupName

          public AuthorizeCacheSecurityGroupIngressRequest withEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)

      Name of the EC2 Security Group to include in the authorization.

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

      パラメータ:
        `eC2SecurityGroupName` - Name of the EC2 Security Group to include in the authorization.

    - #### getEC2SecurityGroupOwnerId

          public java.lang.String getEC2SecurityGroupOwnerId()

      AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.
      戻り値:
        AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.

    - #### setEC2SecurityGroupOwnerId

          public void setEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)

      AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.
      パラメータ:
        `eC2SecurityGroupOwnerId` - AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.

    - #### withEC2SecurityGroupOwnerId

          public AuthorizeCacheSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)

      AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.

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

      パラメータ:
        `eC2SecurityGroupOwnerId` - AWS Account Number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.

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