Class CacheSecurityGroupMembership

java.lang.Object
com.amazonaws.services.elasticache.model.CacheSecurityGroupMembership
All Implemented Interfaces:
Serializable, Cloneable

public class CacheSecurityGroupMembership extends Object implements Serializable, Cloneable

Represents a cache cluster's status within a particular cache security group.

See Also:
  • Constructor Details

    • CacheSecurityGroupMembership

      public CacheSecurityGroupMembership()
  • Method Details

    • setCacheSecurityGroupName

      public void setCacheSecurityGroupName(String cacheSecurityGroupName)

      The name of the cache security group.

      Parameters:
      cacheSecurityGroupName - The name of the cache security group.
    • getCacheSecurityGroupName

      public String getCacheSecurityGroupName()

      The name of the cache security group.

      Returns:
      The name of the cache security group.
    • withCacheSecurityGroupName

      public CacheSecurityGroupMembership withCacheSecurityGroupName(String cacheSecurityGroupName)

      The name of the cache security group.

      Parameters:
      cacheSecurityGroupName - The name of the cache security group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStatus

      public void setStatus(String status)

      The membership status in the cache security group. The status changes when a cache security group is modified, or when the cache security groups assigned to a cache cluster are modified.

      Parameters:
      status - The membership status in the cache security group. The status changes when a cache security group is modified, or when the cache security groups assigned to a cache cluster are modified.
    • getStatus

      public String getStatus()

      The membership status in the cache security group. The status changes when a cache security group is modified, or when the cache security groups assigned to a cache cluster are modified.

      Returns:
      The membership status in the cache security group. The status changes when a cache security group is modified, or when the cache security groups assigned to a cache cluster are modified.
    • withStatus

      public CacheSecurityGroupMembership withStatus(String status)

      The membership status in the cache security group. The status changes when a cache security group is modified, or when the cache security groups assigned to a cache cluster are modified.

      Parameters:
      status - The membership status in the cache security group. The status changes when a cache security group is modified, or when the cache security groups assigned to a cache cluster are modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object