Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class CacheSecurityGroupMembership

java.lang.Object
  extended by com.amazonaws.services.elasticache.model.CacheSecurityGroupMembership

public class CacheSecurityGroupMembership
extends Object

Links a CacheCluster to one or more CacheSecurityGroups.


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 status of the CacheSecurityGroupMembership, the status changes either when a CacheSecurityGroup is modified, or when the CacheSecurityGroups assigned to a Cache Cluster are modified.
 int hashCode()
           
 void setCacheSecurityGroupName(String cacheSecurityGroupName)
          The name of the Cache Security Group.
 void setStatus(String status)
          The status of the CacheSecurityGroupMembership, the status changes either when a CacheSecurityGroup is modified, or when the CacheSecurityGroups assigned to a Cache Cluster are modified.
 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 status of the CacheSecurityGroupMembership, the status changes either when a CacheSecurityGroup is modified, or when the CacheSecurityGroups assigned to a Cache Cluster are modified.
 
Methods inherited from class java.lang.Object
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 status of the CacheSecurityGroupMembership, the status changes either when a CacheSecurityGroup is modified, or when the CacheSecurityGroups assigned to a Cache Cluster are modified.

Returns:
The status of the CacheSecurityGroupMembership, the status changes either when a CacheSecurityGroup is modified, or when the CacheSecurityGroups assigned to a Cache Cluster are modified.

setStatus

public void setStatus(String status)
The status of the CacheSecurityGroupMembership, the status changes either when a CacheSecurityGroup is modified, or when the CacheSecurityGroups assigned to a Cache Cluster are modified.

Parameters:
status - The status of the CacheSecurityGroupMembership, the status changes either when a CacheSecurityGroup is modified, or when the CacheSecurityGroups assigned to a Cache Cluster are modified.

withStatus

public CacheSecurityGroupMembership withStatus(String status)
The status of the CacheSecurityGroupMembership, the status changes either when a CacheSecurityGroup is modified, or when the CacheSecurityGroups assigned to a Cache Cluster are modified.

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

Parameters:
status - The status of the CacheSecurityGroupMembership, the status changes either when a CacheSecurityGroup is modified, or when the CacheSecurityGroups 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 © 2010 Amazon Web Services, Inc. All Rights Reserved.