code: public CreateSnapshotScheduleResult withNextInvocations(java.util.Date... nextInvocations) {
          if (this.nextInvocations == null) {
              setNextInvocations(new com.amazonaws.internal.SdkInternalList<java.util.Date>(nextInvocations.length));
          }
          for (java.util.Date ele : nextInvocations) {
              this.nextInvocations.add(ele);
          }
          return this;
      }
docs: <p/>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setNextInvocations(java.util.Collection)} or {@link #withNextInvocations(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param nextInvocations
  @return Returns a reference to this object so that method calls can be chained together.