code: public ScheduledInstanceRecurrenceRequest withOccurrenceDays(Integer... occurrenceDays) {
          if (this.occurrenceDays == null) {
              setOccurrenceDays(new com.amazonaws.internal.SdkInternalList<Integer>(occurrenceDays.length));
          }
          for (Integer ele : occurrenceDays) {
              this.occurrenceDays.add(ele);
          }
          return this;
      }
docs: <p>
  The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is
  one or more days of the week (1-7, where 1 is Sunday). You can't specify this value with a daily schedule. If the
  occurrence is relative to the end of the month, you can specify only a single day.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setOccurrenceDays(java.util.Collection)} or {@link #withOccurrenceDays(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param occurrenceDays
  The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule,
  this is one or more days of the week (1-7, where 1 is Sunday). You can't specify this value with a daily
  schedule. If the occurrence is relative to the end of the month, you can specify only a single day.
  @return Returns a reference to this object so that method calls can be chained together.