@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SecurityGroupMembership extends Object implements Serializable, Cloneable, StructuredPojo
An individual VPC security group and its status.
Constructor and Description |
---|
SecurityGroupMembership() |
Modifier and Type | Method and Description |
---|---|
SecurityGroupMembership |
clone() |
boolean |
equals(Object obj) |
String |
getSecurityGroupIdentifier()
The unique ID for this security group.
|
String |
getStatus()
The status of this security group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroupIdentifier(String securityGroupIdentifier)
The unique ID for this security group.
|
void |
setStatus(String status)
The status of this security group.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SecurityGroupMembership |
withSecurityGroupIdentifier(String securityGroupIdentifier)
The unique ID for this security group.
|
SecurityGroupMembership |
withStatus(String status)
The status of this security group.
|
public void setSecurityGroupIdentifier(String securityGroupIdentifier)
The unique ID for this security group.
securityGroupIdentifier
- The unique ID for this security group.public String getSecurityGroupIdentifier()
The unique ID for this security group.
public SecurityGroupMembership withSecurityGroupIdentifier(String securityGroupIdentifier)
The unique ID for this security group.
securityGroupIdentifier
- The unique ID for this security group.public void setStatus(String status)
The status of this security group.
status
- The status of this security group.public String getStatus()
The status of this security group.
public SecurityGroupMembership withStatus(String status)
The status of this security group.
status
- The status of this security group.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.