Class TimeOfMonth.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<TimeOfMonth.Builder>
co.elastic.clients.elasticsearch.watcher.TimeOfMonth.Builder
- All Implemented Interfaces:
WithJson<TimeOfMonth.Builder>,ObjectBuilder<TimeOfMonth>
- Enclosing class:
- TimeOfMonth
public static class TimeOfMonth.Builder extends WithJsonObjectBuilderBase<TimeOfMonth.Builder> implements ObjectBuilder<TimeOfMonth>
Builder for
TimeOfMonth.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description TimeOfMonth.Builderat(java.lang.String value, java.lang.String... values)Required - API name:atTimeOfMonth.Builderat(java.util.List<java.lang.String> list)Required - API name:atTimeOfMonthbuild()Builds aTimeOfMonth.TimeOfMonth.Builderon(java.lang.Integer value, java.lang.Integer... values)Required - API name:onTimeOfMonth.Builderon(java.util.List<java.lang.Integer> list)Required - API name:onprotected TimeOfMonth.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<TimeOfMonth.Builder>
-
build
Builds aTimeOfMonth.- Specified by:
buildin interfaceObjectBuilder<TimeOfMonth>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-