public void setSchedule(Schedule schedule) {
        this.schedule = schedule;
    }
<p>
The Schedule when the trigger is initiated.
</p>

@param schedule
       The Schedule when the trigger is initiated.
aws-java-sdk-iotanalytics/src/main/java/com/amazonaws/services/iotanalytics/model/DatasetTrigger.java