@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcSecurityGroupMembership extends Object implements Serializable, Cloneable
This data type is used as a response element for queries on VPC security group membership.
Constructor and Description |
---|
VpcSecurityGroupMembership() |
Modifier and Type | Method and Description |
---|---|
VpcSecurityGroupMembership |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
The membership status of the VPC security group.
|
String |
getVpcSecurityGroupId()
The name of the VPC security group.
|
int |
hashCode() |
void |
setStatus(String status)
The membership status of the VPC security group.
|
void |
setVpcSecurityGroupId(String vpcSecurityGroupId)
The name of the VPC security group.
|
String |
toString()
Returns a string representation of this object.
|
VpcSecurityGroupMembership |
withStatus(String status)
The membership status of the VPC security group.
|
VpcSecurityGroupMembership |
withVpcSecurityGroupId(String vpcSecurityGroupId)
The name of the VPC security group.
|
public void setVpcSecurityGroupId(String vpcSecurityGroupId)
The name of the VPC security group.
vpcSecurityGroupId
- The name of the VPC security group.public String getVpcSecurityGroupId()
The name of the VPC security group.
public VpcSecurityGroupMembership withVpcSecurityGroupId(String vpcSecurityGroupId)
The name of the VPC security group.
vpcSecurityGroupId
- The name of the VPC security group.public void setStatus(String status)
The membership status of the VPC security group.
Currently, the only valid status is active
.
status
- The membership status of the VPC security group.
Currently, the only valid status is active
.
public String getStatus()
The membership status of the VPC security group.
Currently, the only valid status is active
.
Currently, the only valid status is active
.
public VpcSecurityGroupMembership withStatus(String status)
The membership status of the VPC security group.
Currently, the only valid status is active
.
status
- The membership status of the VPC security group.
Currently, the only valid status is active
.
public String toString()
toString
in class Object
Object.toString()
public VpcSecurityGroupMembership clone()