com.amazonaws.services.elasticache.model

## クラス CacheSecurityGroupMembership

- java.lang.Object
- - com.amazonaws.services.elasticache.model.CacheSecurityGroupMembership

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

      public class CacheSecurityGroupMembership
      extends java.lang.Object
      implements java.io.Serializable

  Links a CacheCluster to one or more CacheSecurityGroups.

  関連項目:
    直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `CacheSecurityGroupMembership()` Default constructor for a new CacheSecurityGroupMembership object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCacheSecurityGroupName()` The name of the Cache Security Group.
    `java.lang.String` | `getStatus()` The status of the CacheSecurityGroupMembership, the status changes either when a CacheSecurityGroup is modified, or when the CacheSecurityGroups assigned to a Cache Cluster are modified.
    `int` | `hashCode()`
    `void` | `setCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)` The name of the Cache Security Group.
    `void` | `setStatus(java.lang.String status)` The status of the CacheSecurityGroupMembership, the status changes either when a CacheSecurityGroup is modified, or when the CacheSecurityGroups assigned to a Cache Cluster are modified.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CacheSecurityGroupMembership` | `withCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)` The name of the Cache Security Group.
    `CacheSecurityGroupMembership` | `withStatus(java.lang.String status)` The status of the CacheSecurityGroupMembership, the status changes either when a CacheSecurityGroup is modified, or when the CacheSecurityGroups assigned to a Cache Cluster are modified.

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

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

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

    - #### CacheSecurityGroupMembership

          public CacheSecurityGroupMembership()

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

  - ### メソッドの詳細

    - #### getCacheSecurityGroupName

          public java.lang.String getCacheSecurityGroupName()

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

    - #### setCacheSecurityGroupName

          public void setCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)

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

    - #### withCacheSecurityGroupName

          public CacheSecurityGroupMembership withCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)

      The name of the Cache Security Group.

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

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

    - #### getStatus

          public java.lang.String getStatus()

      The status of the CacheSecurityGroupMembership, the status changes either when a CacheSecurityGroup is modified, or when the CacheSecurityGroups assigned to a Cache Cluster are modified.
      戻り値:
        The status of the CacheSecurityGroupMembership, the status changes either when a CacheSecurityGroup is modified, or when the CacheSecurityGroups assigned to a Cache Cluster are modified.

    - #### setStatus

          public void setStatus(java.lang.String status)

      The status of the CacheSecurityGroupMembership, the status changes either when a CacheSecurityGroup is modified, or when the CacheSecurityGroups assigned to a Cache Cluster are modified.
      パラメータ:
        `status` - The status of the CacheSecurityGroupMembership, the status changes either when a CacheSecurityGroup is modified, or when the CacheSecurityGroups assigned to a Cache Cluster are modified.

    - #### withStatus

          public CacheSecurityGroupMembership withStatus(java.lang.String status)

      The status of the CacheSecurityGroupMembership, the status changes either when a CacheSecurityGroup is modified, or when the CacheSecurityGroups assigned to a Cache Cluster are modified.

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

      パラメータ:
        `status` - The status of the CacheSecurityGroupMembership, the status changes either when a CacheSecurityGroup is modified, or when the CacheSecurityGroups assigned to a Cache Cluster are modified.

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