public SecurityGroupReference withVpcPeeringConnectionId(String vpcPeeringConnectionId) {
        setVpcPeeringConnectionId(vpcPeeringConnectionId);
        return this;
    }
<p>
The ID of the VPC peering connection (if applicable). For more information about security group referencing for
peering connections, see <a
href="https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html">Update your security
groups to reference peer security groups</a> in the <i>VPC Peering Guide</i>.
</p>

@param vpcPeeringConnectionId
       The ID of the VPC peering connection (if applicable). For more information about security group
       referencing for peering connections, see <a
       href="https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html">Update your
       security groups to reference peer security groups</a> in the <i>VPC Peering Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/SecurityGroupReference.java