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
-
Method Summary
Modifier and TypeMethodDescriptionfinal TimeOfWeek.Builder
Required - API name:at
final TimeOfWeek.Builder
Required - API name:at
build()
Builds aTimeOfWeek
.final TimeOfWeek.Builder
Required - API name:on
final TimeOfWeek.Builder
Required - API name:on
protected TimeOfWeek.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<TimeOfWeek.Builder>
-
build
Builds aTimeOfWeek
.- Specified by:
build
in interfaceObjectBuilder<TimeOfWeek>
- Throws:
NullPointerException
- if some of the required fields are null.
-