public CreateInputRequest withInputSecurityGroups(String... inputSecurityGroups) {
        if (this.inputSecurityGroups == null) {
            setInputSecurityGroups(new java.util.ArrayList<String>(inputSecurityGroups.length));
        }
        for (String ele : inputSecurityGroups) {
            this.inputSecurityGroups.add(ele);
        }
        return this;
    }
public CreateInputRequest withInputSecurityGroups ( String ... inputSecurityGroups ) { if ( this . inputSecurityGroups == null ) { setInputSecurityGroups ( new java . util . ArrayList < String > ( inputSecurityGroups . length ) ) ; } for ( String ele : inputSecurityGroups ) { this . inputSecurityGroups . add ( ele ) ; } return this ; }
A list of security groups referenced by IDs to attach to the input.
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setInputSecurityGroups(java.util.Collection)} or {@link #withInputSecurityGroups(java.util.Collection)}
if you want to override the existing values.
</p>

@param inputSecurityGroups
A list of security groups referenced by IDs to attach to the input.
@return Returns a reference to this object so that method calls can be chained together.