@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SecurityGroupReference extends Object implements Serializable, Cloneable
Describes a VPC with a security group that references your security group.
Constructor and Description |
---|
SecurityGroupReference() |
Modifier and Type | Method and Description |
---|---|
SecurityGroupReference |
clone() |
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 void setGroupId(String groupId)
The ID of your security group.
groupId
- The ID of your security group.public String getGroupId()
The ID of your security group.
public SecurityGroupReference withGroupId(String groupId)
The ID of your security group.
groupId
- The ID of your security group.public void setReferencingVpcId(String referencingVpcId)
The ID of the VPC with the referencing security group.
referencingVpcId
- The ID of the VPC with the referencing security group.public String getReferencingVpcId()
The ID of the VPC with the referencing security group.
public SecurityGroupReference withReferencingVpcId(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(String vpcPeeringConnectionId)
The ID of the VPC peering connection.
vpcPeeringConnectionId
- The ID of the VPC peering connection.public String getVpcPeeringConnectionId()
The ID of the VPC peering connection.
public SecurityGroupReference withVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection.
vpcPeeringConnectionId
- The ID of the VPC peering connection.public String toString()
toString
in class Object
Object.toString()
public SecurityGroupReference clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.