Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class SecurityGroupMembership

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

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

Represents one or more Cache Security Groups to which a Cache Cluster belongs.

See Also:
Serialized Form

Constructor Summary
SecurityGroupMembership()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getSecurityGroupId()
          The identifier of the Cache Security Group.
 java.lang.String getStatus()
          The status of the Cache Security Group membership.
 int hashCode()
           
 void setSecurityGroupId(java.lang.String securityGroupId)
          The identifier of the Cache Security Group.
 void setStatus(java.lang.String status)
          The status of the Cache Security Group membership.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 SecurityGroupMembership withSecurityGroupId(java.lang.String securityGroupId)
          The identifier of the Cache Security Group.
 SecurityGroupMembership withStatus(java.lang.String status)
          The status of the Cache Security Group membership.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SecurityGroupMembership

public SecurityGroupMembership()
Method Detail

getSecurityGroupId

public java.lang.String getSecurityGroupId()
The identifier of the Cache Security Group.

Returns:
The identifier of the Cache Security Group.

setSecurityGroupId

public void setSecurityGroupId(java.lang.String securityGroupId)
The identifier of the Cache Security Group.

Parameters:
securityGroupId - The identifier of the Cache Security Group.

withSecurityGroupId

public SecurityGroupMembership withSecurityGroupId(java.lang.String securityGroupId)
The identifier of the Cache Security Group.

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

Parameters:
securityGroupId - The identifier 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 Cache Security Group membership. The status changes whenever a Cache Security Group is modified, or when the Cache Security Groups assigned to a Cache Cluster are modified.

Returns:
The status of the Cache Security Group membership. The status changes whenever a Cache Security Group is modified, or when the Cache Security Groups assigned to a Cache Cluster are modified.

setStatus

public void setStatus(java.lang.String status)
The status of the Cache Security Group membership. The status changes whenever a Cache Security Group is modified, or when the Cache Security Groups assigned to a Cache Cluster are modified.

Parameters:
status - The status of the Cache Security Group membership. The status changes whenever a Cache Security Group is modified, or when the Cache Security Groups assigned to a Cache Cluster are modified.

withStatus

public SecurityGroupMembership withStatus(java.lang.String status)
The status of the Cache Security Group membership. The status changes whenever 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 status of the Cache Security Group membership. The status changes whenever 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 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.