public CreateClientVpnEndpointRequest withSecurityGroupIds(String... securityGroupIds) {
        if (this.securityGroupIds == null) {
            setSecurityGroupIds(new com.amazonaws.internal.SdkInternalList<String>(securityGroupIds.length));
        }
        for (String ele : securityGroupIds) {
            this.securityGroupIds.add(ele);
        }
        return this;
    }
<p>
The IDs of one or more security groups to apply to the target network. You must also specify the ID of the VPC
that contains the security groups.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSecurityGroupIds(java.util.Collection)} or {@link #withSecurityGroupIds(java.util.Collection)} if you
want to override the existing values.
</p>

@param securityGroupIds
       The IDs of one or more security groups to apply to the target network. You must also specify the ID of the
       VPC that contains the security groups.
@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/CreateClientVpnEndpointRequest.java