code: public ClusterSecurityGroup withEC2SecurityGroups(EC2SecurityGroup... eC2SecurityGroups) {
          if (this.eC2SecurityGroups == null) {
              setEC2SecurityGroups(new com.amazonaws.internal.SdkInternalList<EC2SecurityGroup>(eC2SecurityGroups.length));
          }
          for (EC2SecurityGroup ele : eC2SecurityGroups) {
              this.eC2SecurityGroups.add(ele);
          }
          return this;
      }
docs: <p>
  A list of EC2 security groups that are permitted to access clusters associated with this cluster security group.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setEC2SecurityGroups(java.util.Collection)} or {@link #withEC2SecurityGroups(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param eC2SecurityGroups
  A list of EC2 security groups that are permitted to access clusters associated with this cluster security
  group.
  @return Returns a reference to this object so that method calls can be chained together.