public class SecurityGroupReference extends Object implements Serializable
Describes a VPC with a security group that references your security group.
| Constructor and Description |
|---|
SecurityGroupReference() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getGroupId()
The ID of your security group.
|
String |
getReferencingVpcId()
The ID of the VPC with the referencing security group.
|
String |
getVpcPeeringConnectionId()
The ID of the VPC peering connection.
|
int |
hashCode() |
void |
setGroupId(String groupId)
The ID of your security group.
|
void |
setReferencingVpcId(String referencingVpcId)
The ID of the VPC with the referencing security group.
|
void |
setVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SecurityGroupReference |
withGroupId(String groupId)
The ID of your security group.
|
SecurityGroupReference |
withReferencingVpcId(String referencingVpcId)
The ID of the VPC with the referencing security group.
|
SecurityGroupReference |
withVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection.
|
public String getGroupId()
public void setGroupId(String groupId)
groupId - The ID of your security group.public SecurityGroupReference withGroupId(String groupId)
Returns a reference to this object so that method calls can be chained together.
groupId - The ID of your security group.public String getReferencingVpcId()
public void setReferencingVpcId(String referencingVpcId)
referencingVpcId - The ID of the VPC with the referencing security group.public SecurityGroupReference withReferencingVpcId(String referencingVpcId)
Returns a reference to this object so that method calls can be chained together.
referencingVpcId - The ID of the VPC with the referencing security group.public String getVpcPeeringConnectionId()
public void setVpcPeeringConnectionId(String vpcPeeringConnectionId)
vpcPeeringConnectionId - The ID of the VPC peering connection.public SecurityGroupReference withVpcPeeringConnectionId(String vpcPeeringConnectionId)
Returns a reference to this object so that method calls can be chained together.
vpcPeeringConnectionId - The ID of the VPC peering connection.public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.