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
-
Method Summary
Modifier and TypeMethodDescriptionfinal TimeOfMonth.Builder
Required - API name:at
final TimeOfMonth.Builder
Required - API name:at
build()
Builds aTimeOfMonth
.final TimeOfMonth.Builder
Required - API name:on
final TimeOfMonth.Builder
Required - API name:on
protected TimeOfMonth.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
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
. -
on
Required - API name:on
Adds all elements of
list
toon
. -
on
Required - API name:on
Adds one or more values to
on
. -
self
- Specified by:
self
in classWithJsonObjectBuilderBase<TimeOfMonth.Builder>
-
build
Builds aTimeOfMonth
.- Specified by:
build
in interfaceObjectBuilder<TimeOfMonth>
- Throws:
NullPointerException
- if some of the required fields are null.
-