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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CacheSecurityGroupMembership()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheSecurityGroupMembershipclone()booleanequals(Object obj)StringgetCacheSecurityGroupName()The name of the cache security group.StringgetStatus()The membership status in the cache security group.inthashCode()voidsetCacheSecurityGroupName(String cacheSecurityGroupName)The name of the cache security group.voidsetStatus(String status)The membership status in the cache security group.StringtoString()Returns a string representation of this object; useful for testing and debugging.CacheSecurityGroupMembershipwithCacheSecurityGroupName(String cacheSecurityGroupName)The name of the cache security group.CacheSecurityGroupMembershipwithStatus(String status)The membership status in the cache security group.
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CacheSecurityGroupMembership clone()
-
-