com.amazonaws.services.elasticache.model
Class CacheSecurityGroupMembership

java.lang.Object
  extended by com.amazonaws.services.elasticache.model.CacheSecurityGroupMembership
All Implemented Interfaces:
Serializable

public class CacheSecurityGroupMembership
extends Object
implements Serializable

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

See Also:
Serialized Form

Constructor Summary
CacheSecurityGroupMembership()
          Default constructor for a new CacheSecurityGroupMembership object.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheSecurityGroupMembership

public CacheSecurityGroupMembership()
Default constructor for a new CacheSecurityGroupMembership object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getCacheSecurityGroupName

public String getCacheSecurityGroupName()
The name of the cache security group.

Returns:
The name of the cache security group.

setCacheSecurityGroupName

public void setCacheSecurityGroupName(String cacheSecurityGroupName)
The name of the cache security group.

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

withCacheSecurityGroupName

public CacheSecurityGroupMembership withCacheSecurityGroupName(String cacheSecurityGroupName)
The name of the cache security group.

Returns a reference to this object so that method calls can be chained together.

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

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.

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.

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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated 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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2016. All rights reserved.