@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SecurityGroupMembership extends Object implements Serializable, Cloneable, StructuredPojo
Represents a single 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 security group.
|
String |
getStatus()
The status of the security group membership.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroupId(String securityGroupId)
The identifier of the security group.
|
void |
setStatus(String status)
The status of the security group membership.
|
String |
toString()
Returns a string representation of this object.
|
SecurityGroupMembership |
withSecurityGroupId(String securityGroupId)
The identifier of the security group.
|
SecurityGroupMembership |
withStatus(String status)
The status of the security group membership.
|
public void setSecurityGroupId(String securityGroupId)
The identifier of the security group.
securityGroupId
- The identifier of the security group.public String getSecurityGroupId()
The identifier of the security group.
public SecurityGroupMembership withSecurityGroupId(String securityGroupId)
The identifier of the security group.
securityGroupId
- The identifier of the security group.public void setStatus(String status)
The status of the security group membership. The status changes whenever a security group is modified, or when the security groups assigned to a cluster are modified.
status
- The status of the security group membership. The status changes whenever a security group is modified, or
when the security groups assigned to a cluster are modified.public String getStatus()
The status of the security group membership. The status changes whenever a security group is modified, or when the security groups assigned to a cluster are modified.
public SecurityGroupMembership withStatus(String status)
The status of the security group membership. The status changes whenever a security group is modified, or when the security groups assigned to a cluster are modified.
status
- The status of the security group membership. The status changes whenever a security group is modified, or
when the security groups assigned to a cluster are modified.public String toString()
toString
in class Object
Object.toString()
public SecurityGroupMembership clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.