public void add(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions) {
        addWithServiceResponseAsync(cloudJobSchedule, jobScheduleAddOptions).toBlocking().single().body();
    }
public void add ( JobScheduleAddParameter cloudJobSchedule , JobScheduleAddOptions jobScheduleAddOptions ) { addWithServiceResponseAsync ( cloudJobSchedule , jobScheduleAddOptions ) . toBlocking ( ) . single ( ) . body ( ) ; }
Adds a job schedule to the specified account.

@param cloudJobSchedule The job schedule to be added.
@param jobScheduleAddOptions Additional parameters for the operation
@throws IllegalArgumentException thrown if parameters fail the validation
@throws BatchErrorException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent