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:
Serializable

public class SecurityGroupMembership
extends Object
implements 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(Object obj)
           
 String getSecurityGroupId()
          The identifier of the Cache Security Group.
 String getStatus()
          The status of the Cache Security Group membership.
 int hashCode()
           
 void setSecurityGroupId(String securityGroupId)
          The identifier of the Cache Security Group.
 void setStatus(String status)
          The status of the Cache Security Group membership.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 SecurityGroupMembership withSecurityGroupId(String securityGroupId)
          The identifier of the Cache Security Group.
 SecurityGroupMembership withStatus(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 String getSecurityGroupId()
The identifier of the Cache Security Group.

Returns:
The identifier of the Cache Security Group.

setSecurityGroupId

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

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

withSecurityGroupId

public SecurityGroupMembership withSecurityGroupId(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 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(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(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 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.