Class ScheduleRepeatRule.Builder
-
- All Implemented Interfaces:
public final class ScheduleRepeatRule.BuilderA builder for ScheduleRepeatRule.
-
-
Method Summary
-
-
Method Detail
-
_typename
final ScheduleRepeatRule.Builder _typename(String _typename)
The typename of the schema.
-
_typename
final ScheduleRepeatRule.Builder _typename(JsonField<String> _typename)
Sets Builder._typename to an arbitrary JSON value.
You should usually call Builder._typename with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
frequency
final ScheduleRepeatRule.Builder frequency(ScheduleRepeatRule.Frequency frequency)
The frequency of the schedule.
-
frequency
final ScheduleRepeatRule.Builder frequency(JsonField<ScheduleRepeatRule.Frequency> frequency)
Sets Builder.frequency to an arbitrary JSON value.
You should usually call Builder.frequency with a well-typed Frequency value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
dayOfMonth
final ScheduleRepeatRule.Builder dayOfMonth(Long dayOfMonth)
The day of the month to repeat the schedule.
-
dayOfMonth
final ScheduleRepeatRule.Builder dayOfMonth(Long dayOfMonth)
Alias for Builder.dayOfMonth.
This unboxed primitive overload exists for backwards compatibility.
-
dayOfMonth
final ScheduleRepeatRule.Builder dayOfMonth(Optional<Long> dayOfMonth)
Alias for calling Builder.dayOfMonth with
dayOfMonth.orElse(null).
-
dayOfMonth
final ScheduleRepeatRule.Builder dayOfMonth(JsonField<Long> dayOfMonth)
Sets Builder.dayOfMonth to an arbitrary JSON value.
You should usually call Builder.dayOfMonth with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
days
final ScheduleRepeatRule.Builder days(List<ScheduleRepeatRule.Day> days)
The days of the week to repeat the schedule.
-
days
final ScheduleRepeatRule.Builder days(Optional<List<ScheduleRepeatRule.Day>> days)
Alias for calling Builder.days with
days.orElse(null).
-
days
final ScheduleRepeatRule.Builder days(JsonField<List<ScheduleRepeatRule.Day>> days)
Sets Builder.days to an arbitrary JSON value.
You should usually call Builder.days with a well-typed
List<Day>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addDay
final ScheduleRepeatRule.Builder addDay(ScheduleRepeatRule.Day day)
-
hours
final ScheduleRepeatRule.Builder hours(Long hours)
The hour of the day to repeat the schedule.
-
hours
final ScheduleRepeatRule.Builder hours(Long hours)
Alias for Builder.hours.
This unboxed primitive overload exists for backwards compatibility.
-
hours
final ScheduleRepeatRule.Builder hours(Optional<Long> hours)
Alias for calling Builder.hours with
hours.orElse(null).
-
hours
final ScheduleRepeatRule.Builder hours(JsonField<Long> hours)
Sets Builder.hours to an arbitrary JSON value.
You should usually call Builder.hours with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
interval
final ScheduleRepeatRule.Builder interval(Long interval)
The interval of the schedule.
-
interval
final ScheduleRepeatRule.Builder interval(JsonField<Long> interval)
Sets Builder.interval to an arbitrary JSON value.
You should usually call Builder.interval with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
minutes
final ScheduleRepeatRule.Builder minutes(Long minutes)
The minute of the hour to repeat the schedule.
-
minutes
final ScheduleRepeatRule.Builder minutes(Long minutes)
Alias for Builder.minutes.
This unboxed primitive overload exists for backwards compatibility.
-
minutes
final ScheduleRepeatRule.Builder minutes(Optional<Long> minutes)
Alias for calling Builder.minutes with
minutes.orElse(null).
-
minutes
final ScheduleRepeatRule.Builder minutes(JsonField<Long> minutes)
Sets Builder.minutes to an arbitrary JSON value.
You should usually call Builder.minutes with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ScheduleRepeatRule.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ScheduleRepeatRule.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ScheduleRepeatRule.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ScheduleRepeatRule.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ScheduleRepeatRule.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ScheduleRepeatRule build()
Returns an immutable instance of ScheduleRepeatRule.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
._typename() .frequency()
-
-
-
-