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
All Implemented Interfaces:
java.io.Serializable

public class CacheSecurityGroupMembership
extends java.lang.Object
implements java.io.Serializable

Links a CacheCluster to one or more CacheSecurityGroups.

See Also:
Serialized Form

Constructor Summary
CacheSecurityGroupMembership()
          Default constructor for a new CacheSecurityGroupMembership object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCacheSecurityGroupName()
          The name of the Cache Security Group.
 java.lang.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(java.lang.String cacheSecurityGroupName)
          The name of the Cache Security Group.
 void setStatus(java.lang.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.
 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 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 java.lang.String getCacheSecurityGroupName()
The name of the Cache Security Group.

Returns:
The name of the Cache Security Group.

setCacheSecurityGroupName

public void setCacheSecurityGroupName(java.lang.String cacheSecurityGroupName)
The name of the Cache Security Group.

Parameters:
cacheSecurityGroupName - The name of the Cache Security Group.

withCacheSecurityGroupName

public CacheSecurityGroupMembership withCacheSecurityGroupName(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.