public void setSecurityGroupIds(java.util.Collection<String> securityGroupIds) {
        if (securityGroupIds == null) {
            this.securityGroupIds = null;
            return;
        }

        this.securityGroupIds = new com.amazonaws.internal.SdkInternalList<String>(securityGroupIds);
    }
<p>
An array containing the instance security group IDs.
</p>

@param securityGroupIds
       An array containing the instance security group IDs.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/Instance.java