@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CacheSecurityGroupMembership extends Object implements Serializable, Cloneable
Represents a cluster's status within a particular cache security group.
| Constructor and Description | 
|---|
| CacheSecurityGroupMembership() | 
| Modifier and Type | Method and Description | 
|---|---|
| CacheSecurityGroupMembership | clone() | 
| boolean | equals(Object obj) | 
| String | getCacheSecurityGroupName()
 The name of the cache security group. | 
| String | getStatus()
 The membership status in the cache security group. | 
| int | hashCode() | 
| void | setCacheSecurityGroupName(String cacheSecurityGroupName)
 The name of the cache security group. | 
| void | setStatus(String status)
 The membership status in the cache security group. | 
| String | toString()Returns a string representation of this object. | 
| CacheSecurityGroupMembership | withCacheSecurityGroupName(String cacheSecurityGroupName)
 The name of the cache security group. | 
| CacheSecurityGroupMembership | withStatus(String status)
 The membership status in the cache security group. | 
public void setCacheSecurityGroupName(String cacheSecurityGroupName)
The name of the cache security group.
cacheSecurityGroupName - The name of the cache security group.public String getCacheSecurityGroupName()
The name of the cache security group.
public CacheSecurityGroupMembership withCacheSecurityGroupName(String cacheSecurityGroupName)
The name of the cache security group.
cacheSecurityGroupName - The name of the cache security group.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 cluster are modified.
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 cluster are modified.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 cluster are modified.
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 cluster are modified.
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 cluster are modified.public String toString()
toString in class ObjectObject.toString()public CacheSecurityGroupMembership clone()