public class SecurityGroupReference
extends java.lang.Object
implements java.io.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(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.
|
public java.lang.String getGroupId()
public void setGroupId(java.lang.String groupId)
groupId
- The ID of your security group.public SecurityGroupReference withGroupId(java.lang.String groupId)
Returns a reference to this object so that method calls can be chained together.
groupId
- The ID of your security group.public java.lang.String getReferencingVpcId()
public void setReferencingVpcId(java.lang.String referencingVpcId)
referencingVpcId
- The ID of the VPC with the referencing security group.public SecurityGroupReference withReferencingVpcId(java.lang.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 java.lang.String getVpcPeeringConnectionId()
public void setVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
vpcPeeringConnectionId
- The ID of the VPC peering connection.public SecurityGroupReference withVpcPeeringConnectionId(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.