Class TimeOfWeek.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<TimeOfWeek.Builder>
co.elastic.clients.elasticsearch.watcher.TimeOfWeek.Builder
- All Implemented Interfaces:
WithJson<TimeOfWeek.Builder>,ObjectBuilder<TimeOfWeek>
- Enclosing class:
- TimeOfWeek
public static class TimeOfWeek.Builder extends WithJsonObjectBuilderBase<TimeOfWeek.Builder> implements ObjectBuilder<TimeOfWeek>
Builder for
TimeOfWeek.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description TimeOfWeek.Builderat(java.lang.String value, java.lang.String... values)Required - API name:atTimeOfWeek.Builderat(java.util.List<java.lang.String> list)Required - API name:atTimeOfWeekbuild()Builds aTimeOfWeek.TimeOfWeek.Builderon(Day value, Day... values)Required - API name:onTimeOfWeek.Builderon(java.util.List<Day> list)Required - API name:onprotected TimeOfWeek.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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:atAdds all elements of
listtoat. -
at
Required - API name:atAdds one or more values to
at. -
on
Required - API name:onAdds all elements of
listtoon. -
on
Required - API name:onAdds one or more values to
on. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<TimeOfWeek.Builder>
-
build
Builds aTimeOfWeek.- Specified by:
buildin interfaceObjectBuilder<TimeOfWeek>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-