@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SecurityGroupMembership extends Object implements Serializable, Cloneable
Represents a single cache security group and its status.
Constructor and Description |
---|
SecurityGroupMembership() |
Modifier and Type | Method and Description |
---|---|
SecurityGroupMembership |
clone() |
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 void setSecurityGroupId(String securityGroupId)
The identifier of the cache security group.
securityGroupId
- The identifier of the cache security group.public String getSecurityGroupId()
The identifier of the cache security group.
public SecurityGroupMembership withSecurityGroupId(String securityGroupId)
The identifier of the cache security group.
securityGroupId
- The identifier of the cache security group.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 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 cluster are modified.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 cluster are modified.
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 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 cluster are modified.public String toString()
toString
in class Object
Object.toString()
public SecurityGroupMembership clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.