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 -
Method Summary
Modifier and TypeMethodDescriptionfinal TimeOfMonth.BuilderRequired - API name:atfinal TimeOfMonth.BuilderRequired - API name:atbuild()Builds aTimeOfMonth.final TimeOfMonth.BuilderRequired - API name:onfinal TimeOfMonth.BuilderRequired - 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, _mapPutAll
-
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:
NullPointerException- if some of the required fields are null.
-