Class DailySchedule.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.watcher.DailySchedule.Builder
- All Implemented Interfaces:
ObjectBuilder<DailySchedule>
- Enclosing class:
- DailySchedule
public static class DailySchedule.Builder extends ObjectBuilderBase implements ObjectBuilder<DailySchedule>
Builder for
DailySchedule
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DailySchedule.Builder
at(TimeOfDay value, TimeOfDay... values)
Required - API name:at
DailySchedule.Builder
at(java.util.function.Function<TimeOfDay.Builder,ObjectBuilder<TimeOfDay>> fn)
Required - API name:at
DailySchedule.Builder
at(java.util.List<TimeOfDay> list)
Required - API name:at
DailySchedule
build()
Builds aDailySchedule
.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
at
Required - API name:at
Adds all elements of
list
toat
. -
at
Required - API name:at
Adds one or more values to
at
. -
at
public final DailySchedule.Builder at(java.util.function.Function<TimeOfDay.Builder,ObjectBuilder<TimeOfDay>> fn)Required - API name:at
Adds a value to
at
using a builder lambda. -
build
Builds aDailySchedule
.- Specified by:
build
in interfaceObjectBuilder<DailySchedule>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-