public VpcConfiguration withSecurityGroupIds(java.util.Collection<String> securityGroupIds) {
        setSecurityGroupIds(securityGroupIds);
        return this;
    }
<p>
The IDs of the security groups that you want Firehose to use when it creates ENIs in the VPC of the Amazon ES
destination. You can use the same security group that the Amazon ES domain uses or different ones. If you specify
different security groups here, ensure that they allow outbound HTTPS traffic to the Amazon ES domain's security
group. Also ensure that the Amazon ES domain's security group allows HTTPS traffic from the security groups
specified here. If you use the same security group for both your delivery stream and the Amazon ES domain, make
sure the security group inbound rule allows HTTPS traffic. For more information about security group rules, see
<a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html#SecurityGroupRules">Security
group rules</a> in the Amazon VPC documentation.
</p>

@param securityGroupIds
       The IDs of the security groups that you want Firehose to use when it creates ENIs in the VPC of the Amazon
       ES destination. You can use the same security group that the Amazon ES domain uses or different ones. If
       you specify different security groups here, ensure that they allow outbound HTTPS traffic to the Amazon ES
       domain's security group. Also ensure that the Amazon ES domain's security group allows HTTPS traffic from
       the security groups specified here. If you use the same security group for both your delivery stream and
       the Amazon ES domain, make sure the security group inbound rule allows HTTPS traffic. For more information
       about security group rules, see <a
       href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html#SecurityGroupRules"
       >Security group rules</a> in the Amazon VPC documentation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kinesis/src/main/java/com/amazonaws/services/kinesisfirehose/model/VpcConfiguration.java