com.amazonaws.services.redshift.model

## クラス AuthorizeClusterSecurityGroupIngressRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.redshift.model.AuthorizeClusterSecurityGroupIngressRequest

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

      public class AuthorizeClusterSecurityGroupIngressRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `AuthorizeClusterSecurityGroupIngress operation`.

  Adds an inbound (ingress) rule to an Amazon Redshift security group. Depending on whether the application accessing your cluster is running on the Internet or an EC2 instance, you can authorize inbound access to either a Classless Interdomain Routing (CIDR) IP address range or an EC2 security group. You can add as many as 20 ingress rules to an Amazon Redshift security group.

  NOTE: The EC2 security group must be defined in the AWS region where the cluster resides.

  For an overview of CIDR blocks, see the Wikipedia article on Classless Inter-Domain Routing .

  You must also associate the security group with a cluster so that clients running on these IP addresses or the EC2 instance are authorized to connect to the cluster. For information about managing security groups, go to Working with Security Groups in the Amazon Redshift Management Guide .

  関連項目:
    `AmazonRedshift.authorizeClusterSecurityGroupIngress(AuthorizeClusterSecurityGroupIngressRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCIDRIP()` The IP range to be added the Amazon Redshift security group.
    `java.lang.String` | `getClusterSecurityGroupName()` The name of the security group to which the ingress rule is added.
    `java.lang.String` | `getEC2SecurityGroupName()` The EC2 security group to be added the Amazon Redshift security group.
    `java.lang.String` | `getEC2SecurityGroupOwnerId()` The AWS account number of the owner of the security group specified by the EC2SecurityGroupName parameter.
    `int` | `hashCode()`
    `void` | `setCIDRIP(java.lang.String cIDRIP)` The IP range to be added the Amazon Redshift security group.
    `void` | `setClusterSecurityGroupName(java.lang.String clusterSecurityGroupName)` The name of the security group to which the ingress rule is added.
    `void` | `setEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)` The EC2 security group to be added the Amazon Redshift security group.
    `void` | `setEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)` The AWS account number of the owner of the security group specified by the EC2SecurityGroupName parameter.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `AuthorizeClusterSecurityGroupIngressRequest` | `withCIDRIP(java.lang.String cIDRIP)` The IP range to be added the Amazon Redshift security group.
    `AuthorizeClusterSecurityGroupIngressRequest` | `withClusterSecurityGroupName(java.lang.String clusterSecurityGroupName)` The name of the security group to which the ingress rule is added.
    `AuthorizeClusterSecurityGroupIngressRequest` | `withEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)` The EC2 security group to be added the Amazon Redshift security group.
    `AuthorizeClusterSecurityGroupIngressRequest` | `withEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)` The AWS account number of the owner of the security group specified by the EC2SecurityGroupName parameter.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### AuthorizeClusterSecurityGroupIngressRequest

          public AuthorizeClusterSecurityGroupIngressRequest()

  - ### メソッドの詳細

    - #### getClusterSecurityGroupName

          public java.lang.String getClusterSecurityGroupName()

      The name of the security group to which the ingress rule is added.
      戻り値:
        The name of the security group to which the ingress rule is added.

    - #### setClusterSecurityGroupName

          public void setClusterSecurityGroupName(java.lang.String clusterSecurityGroupName)

      The name of the security group to which the ingress rule is added.
      パラメータ:
        `clusterSecurityGroupName` - The name of the security group to which the ingress rule is added.

    - #### withClusterSecurityGroupName

          public AuthorizeClusterSecurityGroupIngressRequest withClusterSecurityGroupName(java.lang.String clusterSecurityGroupName)

      The name of the security group to which the ingress rule is added.

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

      パラメータ:
        `clusterSecurityGroupName` - The name of the security group to which the ingress rule is added.

    - #### getCIDRIP

          public java.lang.String getCIDRIP()

      The IP range to be added the Amazon Redshift security group.
      戻り値:
        The IP range to be added the Amazon Redshift security group.

    - #### setCIDRIP

          public void setCIDRIP(java.lang.String cIDRIP)

      The IP range to be added the Amazon Redshift security group.
      パラメータ:
        `cIDRIP` - The IP range to be added the Amazon Redshift security group.

    - #### withCIDRIP

          public AuthorizeClusterSecurityGroupIngressRequest withCIDRIP(java.lang.String cIDRIP)

      The IP range to be added the Amazon Redshift security group.

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

      パラメータ:
        `cIDRIP` - The IP range to be added the Amazon Redshift security group.

    - #### getEC2SecurityGroupName

          public java.lang.String getEC2SecurityGroupName()

      The EC2 security group to be added the Amazon Redshift security group.
      戻り値:
        The EC2 security group to be added the Amazon Redshift security group.

    - #### setEC2SecurityGroupName

          public void setEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)

      The EC2 security group to be added the Amazon Redshift security group.
      パラメータ:
        `eC2SecurityGroupName` - The EC2 security group to be added the Amazon Redshift security group.

    - #### withEC2SecurityGroupName

          public AuthorizeClusterSecurityGroupIngressRequest withEC2SecurityGroupName(java.lang.String eC2SecurityGroupName)

      The EC2 security group to be added the Amazon Redshift security group.

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

      パラメータ:
        `eC2SecurityGroupName` - The EC2 security group to be added the Amazon Redshift security group.

    - #### getEC2SecurityGroupOwnerId

          public java.lang.String getEC2SecurityGroupOwnerId()

      The AWS account number of the owner of the security group specified by the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.

      Example: `111122223333`

      戻り値:
        The AWS account number of the owner of the security group specified by the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.

        Example: `111122223333`

    - #### setEC2SecurityGroupOwnerId

          public void setEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)

      The AWS account number of the owner of the security group specified by the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.

      Example: `111122223333`

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

        Example: `111122223333`

    - #### withEC2SecurityGroupOwnerId

          public AuthorizeClusterSecurityGroupIngressRequest withEC2SecurityGroupOwnerId(java.lang.String eC2SecurityGroupOwnerId)

      The AWS account number of the owner of the security group specified by the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.

      Example: `111122223333`

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

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

        Example: `111122223333`

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