code: public DescribeAutomationExecutionsResult withAutomationExecutionMetadataList(AutomationExecutionMetadata... automationExecutionMetadataList) {
          if (this.automationExecutionMetadataList == null) {
              setAutomationExecutionMetadataList(new com.amazonaws.internal.SdkInternalList<AutomationExecutionMetadata>(automationExecutionMetadataList.length));
          }
          for (AutomationExecutionMetadata ele : automationExecutionMetadataList) {
              this.automationExecutionMetadataList.add(ele);
          }
          return this;
      }
docs: <p>
  The list of details about each automation execution which has occurred which matches the filter specification, if
  any.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setAutomationExecutionMetadataList(java.util.Collection)} or
  {@link #withAutomationExecutionMetadataList(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param automationExecutionMetadataList
  The list of details about each automation execution which has occurred which matches the filter
  specification, if any.
  @return Returns a reference to this object so that method calls can be chained together.