public class SecurityGroupMembership
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents a single cache security group and its status.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
securityGroupId
The identifier of the cache security group.
|
private java.lang.String |
status
The status of the cache security group membership.
|
Constructor and Description |
---|
SecurityGroupMembership() |
Modifier and Type | Method and Description |
---|---|
SecurityGroupMembership |
clone() |
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.
|
private java.lang.String securityGroupId
The identifier of the cache security group.
private 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.
public void setSecurityGroupId(java.lang.String securityGroupId)
The identifier of the cache security group.
securityGroupId
- The identifier of the cache security group.public java.lang.String getSecurityGroupId()
The identifier of the cache security group.
public SecurityGroupMembership withSecurityGroupId(java.lang.String securityGroupId)
The identifier of the cache security group.
securityGroupId
- The identifier of the cache security group.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.
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 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.
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.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SecurityGroupMembership clone()
clone
in class java.lang.Object