public class SecurityGroupReference
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a VPC with a security group that references your security group.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
groupId
The ID of your security group.
|
private java.lang.String |
referencingVpcId
The ID of the VPC with the referencing security group.
|
private java.lang.String |
vpcPeeringConnectionId
The ID of the VPC peering connection.
|
Constructor and Description |
---|
SecurityGroupReference() |
Modifier and Type | Method and Description |
---|---|
SecurityGroupReference |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGroupId()
The ID of your security group.
|
java.lang.String |
getReferencingVpcId()
The ID of the VPC with the referencing security group.
|
java.lang.String |
getVpcPeeringConnectionId()
The ID of the VPC peering connection.
|
int |
hashCode() |
void |
setGroupId(java.lang.String groupId)
The ID of your security group.
|
void |
setReferencingVpcId(java.lang.String referencingVpcId)
The ID of the VPC with the referencing security group.
|
void |
setVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
The ID of the VPC peering connection.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SecurityGroupReference |
withGroupId(java.lang.String groupId)
The ID of your security group.
|
SecurityGroupReference |
withReferencingVpcId(java.lang.String referencingVpcId)
The ID of the VPC with the referencing security group.
|
SecurityGroupReference |
withVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
The ID of the VPC peering connection.
|
private java.lang.String groupId
The ID of your security group.
private java.lang.String referencingVpcId
The ID of the VPC with the referencing security group.
private java.lang.String vpcPeeringConnectionId
The ID of the VPC peering connection.
public void setGroupId(java.lang.String groupId)
The ID of your security group.
groupId
- The ID of your security group.public java.lang.String getGroupId()
The ID of your security group.
public SecurityGroupReference withGroupId(java.lang.String groupId)
The ID of your security group.
groupId
- The ID of your security group.public void setReferencingVpcId(java.lang.String referencingVpcId)
The ID of the VPC with the referencing security group.
referencingVpcId
- The ID of the VPC with the referencing security group.public java.lang.String getReferencingVpcId()
The ID of the VPC with the referencing security group.
public SecurityGroupReference withReferencingVpcId(java.lang.String referencingVpcId)
The ID of the VPC with the referencing security group.
referencingVpcId
- The ID of the VPC with the referencing security group.public void setVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
The ID of the VPC peering connection.
vpcPeeringConnectionId
- The ID of the VPC peering connection.public java.lang.String getVpcPeeringConnectionId()
The ID of the VPC peering connection.
public SecurityGroupReference withVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
The ID of the VPC peering connection.
vpcPeeringConnectionId
- The ID of the VPC peering connection.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 SecurityGroupReference clone()
clone
in class java.lang.Object