code: public ListTaskDefinitionFamiliesResult withFamilies(String... families) {
          if (this.families == null) {
              setFamilies(new com.amazonaws.internal.SdkInternalList<String>(families.length));
          }
          for (String ele : families) {
              this.families.add(ele);
          }
          return this;
      }
docs: <p>
  The list of task definition family names that match the <code>ListTaskDefinitionFamilies</code> request.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setFamilies(java.util.Collection)} or {@link #withFamilies(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param families
  The list of task definition family names that match the <code>ListTaskDefinitionFamilies</code> request.
  @return Returns a reference to this object so that method calls can be chained together.