public AuthorizeDBSecurityGroupIngressRequest withEC2SecurityGroupId(String eC2SecurityGroupId) {
        setEC2SecurityGroupId(eC2SecurityGroupId);
        return this;
    }
<p>
Id of the EC2 security group to authorize. For VPC DB security groups, <code>EC2SecurityGroupId</code> must be
provided. Otherwise, <code>EC2SecurityGroupOwnerId</code> and either <code>EC2SecurityGroupName</code> or
<code>EC2SecurityGroupId</code> must be provided.
</p>

@param eC2SecurityGroupId
       Id of the EC2 security group to authorize. For VPC DB security groups, <code>EC2SecurityGroupId</code>
       must be provided. Otherwise, <code>EC2SecurityGroupOwnerId</code> and either
       <code>EC2SecurityGroupName</code> or <code>EC2SecurityGroupId</code> must be provided.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/AuthorizeDBSecurityGroupIngressRequest.java