public HlsPackage withAdTriggers(AdTriggersElement... adTriggers) {
        java.util.ArrayList<String> adTriggersCopy = new java.util.ArrayList<String>(adTriggers.length);
        for (AdTriggersElement value : adTriggers) {
            adTriggersCopy.add(value.toString());
        }
        if (getAdTriggers() == null) {
            setAdTriggers(adTriggersCopy);
        } else {
            getAdTriggers().addAll(adTriggersCopy);
        }
        return this;
    }
@param adTriggers
@return Returns a reference to this object so that method calls can be chained together.
@see AdTriggersElement
aws-java-sdk-mediapackage/src/main/java/com/amazonaws/services/mediapackage/model/HlsPackage.java