public AwsRdsDbSecurityGroupEc2SecurityGroup withEc2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId) {
        setEc2SecurityGroupOwnerId(ec2SecurityGroupOwnerId);
        return this;
    }
<p>
Provides the Amazon Web Services ID of the owner of the EC2 security group.
</p>

@param ec2SecurityGroupOwnerId
       Provides the Amazon Web Services ID of the owner of the EC2 security group.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsRdsDbSecurityGroupEc2SecurityGroup.java