public void setOneTime(OneTimeSchedule oneTime) {
        this.oneTime = oneTime;
    }
<p>
The schedule's one time.
</p>

@param oneTime
       The schedule's one time.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/Schedule.java