public class VpcSecurityGroupMembership
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes the members of a VPC security group.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
status
The status of the VPC security group.
|
private java.lang.String |
vpcSecurityGroupId
The identifier of the VPC security group.
|
Constructor and Description |
---|
VpcSecurityGroupMembership() |
Modifier and Type | Method and Description |
---|---|
VpcSecurityGroupMembership |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getStatus()
The status of the VPC security group.
|
java.lang.String |
getVpcSecurityGroupId()
The identifier of the VPC security group.
|
int |
hashCode() |
void |
setStatus(java.lang.String status)
The status of the VPC security group.
|
void |
setVpcSecurityGroupId(java.lang.String vpcSecurityGroupId)
The identifier of the VPC security group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VpcSecurityGroupMembership |
withStatus(java.lang.String status)
The status of the VPC security group.
|
VpcSecurityGroupMembership |
withVpcSecurityGroupId(java.lang.String vpcSecurityGroupId)
The identifier of the VPC security group.
|
private java.lang.String vpcSecurityGroupId
The identifier of the VPC security group.
private java.lang.String status
The status of the VPC security group.
public void setVpcSecurityGroupId(java.lang.String vpcSecurityGroupId)
The identifier of the VPC security group.
vpcSecurityGroupId
- The identifier of the VPC security group.public java.lang.String getVpcSecurityGroupId()
The identifier of the VPC security group.
public VpcSecurityGroupMembership withVpcSecurityGroupId(java.lang.String vpcSecurityGroupId)
The identifier of the VPC security group.
vpcSecurityGroupId
- The identifier of the VPC security group.public void setStatus(java.lang.String status)
The status of the VPC security group.
status
- The status of the VPC security group.public java.lang.String getStatus()
The status of the VPC security group.
public VpcSecurityGroupMembership withStatus(java.lang.String status)
The status of the VPC security group.
status
- The status of the VPC security group.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 VpcSecurityGroupMembership clone()
clone
in class java.lang.Object