code: public JobFlowInstancesConfig withAdditionalSlaveSecurityGroups(String... additionalSlaveSecurityGroups) {
          if (this.additionalSlaveSecurityGroups == null) {
              setAdditionalSlaveSecurityGroups(new com.amazonaws.internal.SdkInternalList<String>(additionalSlaveSecurityGroups.length));
          }
          for (String ele : additionalSlaveSecurityGroups) {
              this.additionalSlaveSecurityGroups.add(ele);
          }
          return this;
      }
docs: <p>
  A list of additional Amazon EC2 security group IDs for the core and task nodes.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setAdditionalSlaveSecurityGroups(java.util.Collection)} or
  {@link #withAdditionalSlaveSecurityGroups(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param additionalSlaveSecurityGroups
  A list of additional Amazon EC2 security group IDs for the core and task nodes.
  @return Returns a reference to this object so that method calls can be chained together.