public class CacheSecurityGroupMembership
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents a cache cluster's status within a particular cache security group.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cacheSecurityGroupName
The name of the cache security group.
|
private java.lang.String |
status
The membership status in the cache security group.
|
Constructor and Description |
---|
CacheSecurityGroupMembership() |
Modifier and Type | Method and Description |
---|---|
CacheSecurityGroupMembership |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCacheSecurityGroupName()
The name of the cache security group.
|
java.lang.String |
getStatus()
The membership status in the cache security group.
|
int |
hashCode() |
void |
setCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)
The name of the cache security group.
|
void |
setStatus(java.lang.String status)
The membership status in the cache security group.
|
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 membership status in the cache security group.
|
private java.lang.String cacheSecurityGroupName
The name of the cache security group.
private java.lang.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.
public void setCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)
The name of the cache security group.
cacheSecurityGroupName
- The name of the cache security group.public java.lang.String getCacheSecurityGroupName()
The name of the cache security group.
public CacheSecurityGroupMembership withCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)
The name of the cache security group.
cacheSecurityGroupName
- The name of the cache security group.public void setStatus(java.lang.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.
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.public java.lang.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.
public CacheSecurityGroupMembership withStatus(java.lang.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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CacheSecurityGroupMembership clone()
clone
in class java.lang.Object