public ModifyVpcEndpointRequest withRemoveSecurityGroupIds(String... removeSecurityGroupIds) {
        if (this.removeSecurityGroupIds == null) {
            setRemoveSecurityGroupIds(new com.amazonaws.internal.SdkInternalList<String>(removeSecurityGroupIds.length));
        }
        for (String ele : removeSecurityGroupIds) {
            this.removeSecurityGroupIds.add(ele);
        }
        return this;
    }
public ModifyVpcEndpointRequest withRemoveSecurityGroupIds ( String ... removeSecurityGroupIds ) { if ( this . removeSecurityGroupIds == null ) { setRemoveSecurityGroupIds ( new com . amazonaws . internal . SdkInternalList < String > ( removeSecurityGroupIds . length ) ) ; } for ( String ele : removeSecurityGroupIds ) { this . removeSecurityGroupIds . add ( ele ) ; } return this ; }
<p>
(Interface endpoint) One or more security group IDs to disassociate from the network interface.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRemoveSecurityGroupIds(java.util.Collection)} or
{@link #withRemoveSecurityGroupIds(java.util.Collection)} if you want to override the existing values.
</p>

@param removeSecurityGroupIds
(Interface endpoint) One or more security group IDs to disassociate from the network interface.
@return Returns a reference to this object so that method calls can be chained together.