public CreateClassificationJobRequest withScheduleFrequency(JobScheduleFrequency scheduleFrequency) {
        setScheduleFrequency(scheduleFrequency);
        return this;
    }
<p>
The recurrence pattern for running the job. To run the job only once, don't specify a value for this property and
set the value for the jobType property to ONE_TIME.
</p>

@param scheduleFrequency
       The recurrence pattern for running the job. To run the job only once, don't specify a value for this
       property and set the value for the jobType property to ONE_TIME.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/CreateClassificationJobRequest.java