code: public DashPackage withPeriodTriggers(String... periodTriggers) {
          if (this.periodTriggers == null) {
              setPeriodTriggers(new java.util.ArrayList<String>(periodTriggers.length));
          }
          for (String ele : periodTriggers) {
              this.periodTriggers.add(ele);
          }
          return this;
      }
docs: A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation
  Description (MPD) will be partitioned into multiple periods. If empty, the content will not be partitioned into
  more than one period. If the list contains "ADS", new periods will be created where the Channel source contains
  SCTE-35 ad markers.
  
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setPeriodTriggers(java.util.Collection)} or {@link #withPeriodTriggers(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param periodTriggers
  A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media
  Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not
  be partitioned into more than one period. If the list contains "ADS", new periods will be created where
  the Channel source contains SCTE-35 ad markers.
  @return Returns a reference to this object so that method calls can be chained together.
  @see PeriodTriggersElement