public class SecurityGroupMembership extends Object implements Serializable
Represents a single cache security group and its status..
Constructor and Description |
---|
SecurityGroupMembership() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String getSecurityGroupId()
public void setSecurityGroupId(String securityGroupId)
securityGroupId
- The identifier of the cache security group.public SecurityGroupMembership withSecurityGroupId(String securityGroupId)
Returns a reference to this object so that method calls can be chained together.
securityGroupId
- The identifier of the cache security group.public String getStatus()
public void setStatus(String status)
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.public SecurityGroupMembership withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
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.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.