<commit_before>package com.sciul.cloud_configurator.dsl;

import com.sciul.cloud_configurator.Provider;

import javax.json.JsonObject;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by sumeetrohatgi on 12/30/14.
 */
public class SecurityGroup extends Resource {
  private List<IngressRules> ingressRules;
  private String vpcId;
  private String groupDescription;

  public SecurityGroup(String name, String vpcId, String groupDescription, ResourceList resourceList) {
    setName(name);
    this.resourceList = resourceList;

    this.vpcId = vpcId;
    this.groupDescription = groupDescription;

    this.ingressRules = new ArrayList<IngressRules>();
  }

  /**<commit_msg>setting resourceList before setting unique name<commit_after>package com.sciul.cloud_configurator.dsl;

import com.sciul.cloud_configurator.Provider;

import javax.json.JsonObject;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by sumeetrohatgi on 12/30/14.
 */
public class SecurityGroup extends Resource {
  private List<IngressRules> ingressRules;
  private String vpcId;
  private String groupDescription;

  public SecurityGroup(String name, String vpcId, String groupDescription, ResourceList resourceList) {
    this.resourceList = resourceList;
    setName(name);

    this.vpcId = vpcId;
    this.groupDescription = groupDescription;

    this.ingressRules = new ArrayList<IngressRules>();
  }

  /**
{'fraction_non_alphanumeric': 0.0898876404494382, 'fraction_numerical': 0.008426966292134831, 'mean_word_length': 4.745967741935484, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7660106', 'n_tokens_mistral': 441, 'n_tokens_neox': 420, 'n_words': 101}