/**
  * A list of event categories descriptions.
  *
  * <p><b>NOTE:</b> This method appends the values to the existing list (if any). Use {@link
  * #setEventCategoriesMapList(java.util.Collection)} or {@link
  * #withEventCategoriesMapList(java.util.Collection)} if you want to override the existing values.
  *
  * @param eventCategoriesMapList A list of event categories descriptions.
  * @return Returns a reference to this object so that method calls can be chained together.
  */
 public DescribeEventCategoriesResult withEventCategoriesMapList(
     EventCategoriesMap... eventCategoriesMapList) {
   if (this.eventCategoriesMapList == null) {
     setEventCategoriesMapList(
         new com.amazonaws.internal.SdkInternalList<EventCategoriesMap>(
             eventCategoriesMapList.length));
   }
   for (EventCategoriesMap ele : eventCategoriesMapList) {
     this.eventCategoriesMapList.add(ele);
   }
   return this;
 }
 /**
  * A list of event categories descriptions.
  *
  * @param eventCategoriesMapList A list of event categories descriptions.
  * @return Returns a reference to this object so that method calls can be chained together.
  */
 public DescribeEventCategoriesResult withEventCategoriesMapList(
     java.util.Collection<EventCategoriesMap> eventCategoriesMapList) {
   setEventCategoriesMapList(eventCategoriesMapList);
   return this;
 }