com.amazonaws.services.elasticache.model

## クラス CreateCacheSecurityGroupRequest

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

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

      public class CreateCacheSecurityGroupRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CreateCacheSecurityGroup operation`.

  Creates a new Cache Security Group. Cache Security groups control access to one or more Cache Clusters.

  Only use cache security groups when you are creating a cluster outside of an Amazon Virtual Private Cloud (VPC). Inside of a VPC, use VPC security groups.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCacheSecurityGroupName()` The name for the Cache Security Group.
    `java.lang.String` | `getDescription()` The description for the Cache Security Group.
    `int` | `hashCode()`
    `void` | `setCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)` The name for the Cache Security Group.
    `void` | `setDescription(java.lang.String description)` The description for the Cache Security Group.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreateCacheSecurityGroupRequest` | `withCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)` The name for the Cache Security Group.
    `CreateCacheSecurityGroupRequest` | `withDescription(java.lang.String description)` The description for the Cache Security Group.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CreateCacheSecurityGroupRequest

          public CreateCacheSecurityGroupRequest()

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

    - #### CreateCacheSecurityGroupRequest

          public CreateCacheSecurityGroupRequest(java.lang.String cacheSecurityGroupName,
                                         java.lang.String description)

      Constructs a new CreateCacheSecurityGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `cacheSecurityGroupName` - The name for the Cache Security Group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".

        Example: `mysecuritygroup`

        `description` - The description for the Cache Security Group.

  - ### メソッドの詳細

    - #### getCacheSecurityGroupName

          public java.lang.String getCacheSecurityGroupName()

      The name for the Cache Security Group. This value is stored as a lowercase string.

      Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".

      Example: `mysecuritygroup`

      戻り値:
        The name for the Cache Security Group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".

        Example: `mysecuritygroup`

    - #### setCacheSecurityGroupName

          public void setCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)

      The name for the Cache Security Group. This value is stored as a lowercase string.

      Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".

      Example: `mysecuritygroup`

      パラメータ:
        `cacheSecurityGroupName` - The name for the Cache Security Group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".

        Example: `mysecuritygroup`

    - #### withCacheSecurityGroupName

          public CreateCacheSecurityGroupRequest withCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)

      The name for the Cache Security Group. This value is stored as a lowercase string.

      Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".

      Example: `mysecuritygroup`

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

      パラメータ:
        `cacheSecurityGroupName` - The name for the Cache Security Group. This value is stored as a lowercase string.

        Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".

        Example: `mysecuritygroup`

    - #### getDescription

          public java.lang.String getDescription()

      The description for the Cache Security Group.
      戻り値:
        The description for the Cache Security Group.

    - #### setDescription

          public void setDescription(java.lang.String description)

      The description for the Cache Security Group.
      パラメータ:
        `description` - The description for the Cache Security Group.

    - #### withDescription

          public CreateCacheSecurityGroupRequest withDescription(java.lang.String description)

      The description for the Cache Security Group.

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

      パラメータ:
        `description` - The description for the Cache Security Group.

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