public DashPackage withPeriodTriggers(PeriodTriggersElement... periodTriggers) {
        java.util.ArrayList<String> periodTriggersCopy = new java.util.ArrayList<String>(periodTriggers.length);
        for (PeriodTriggersElement value : periodTriggers) {
            periodTriggersCopy.add(value.toString());
        }
        if (getPeriodTriggers() == null) {
            setPeriodTriggers(periodTriggersCopy);
        } else {
            getPeriodTriggers().addAll(periodTriggersCopy);
        }
        return this;
    }
public DashPackage withPeriodTriggers ( PeriodTriggersElement ... periodTriggers ) { java . util . ArrayList < String > periodTriggersCopy = new java . util . ArrayList < String > ( periodTriggers . length ) ; for ( PeriodTriggersElement value : periodTriggers ) { periodTriggersCopy . add ( value . toString ( ) ) ; } if ( getPeriodTriggers ( ) == null ) { setPeriodTriggers ( periodTriggersCopy ) ; } else { getPeriodTriggers ( ) . addAll ( periodTriggersCopy ) ; } return this ; }
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.

@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