public class CacheSecurityGroupMembership extends Object implements Serializable
Represents a cache cluster's status within a particular cache security group.
Constructor and Description |
---|
CacheSecurityGroupMembership()
Default constructor for a new CacheSecurityGroupMembership object.
|
Modifier and Type | Method and Description |
---|---|
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; useful for testing and
debugging.
|
CacheSecurityGroupMembership |
withCacheSecurityGroupName(String cacheSecurityGroupName)
The name of the cache security group.
|
CacheSecurityGroupMembership |
withStatus(String status)
The membership status in the cache security group.
|
public CacheSecurityGroupMembership()
public String getCacheSecurityGroupName()
public void setCacheSecurityGroupName(String cacheSecurityGroupName)
cacheSecurityGroupName
- The name of the cache security group.public CacheSecurityGroupMembership withCacheSecurityGroupName(String cacheSecurityGroupName)
Returns a reference to this object so that method calls can be chained together.
cacheSecurityGroupName
- The name of the cache security group.public String getStatus()
public void setStatus(String status)
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 CacheSecurityGroupMembership withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
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 String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.