Class TimeOfYear.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<TimeOfYear.Builder>
co.elastic.clients.elasticsearch.watcher.TimeOfYear.Builder
- All Implemented Interfaces:
WithJson<TimeOfYear.Builder>
,ObjectBuilder<TimeOfYear>
- Enclosing class:
- TimeOfYear
public static class TimeOfYear.Builder
extends WithJsonObjectBuilderBase<TimeOfYear.Builder>
implements ObjectBuilder<TimeOfYear>
Builder for
TimeOfYear
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal TimeOfYear.Builder
Required - API name:at
final TimeOfYear.Builder
Required - API name:at
build()
Builds aTimeOfYear
.final TimeOfYear.Builder
Required - API name:int
final TimeOfYear.Builder
Required - API name:int
final TimeOfYear.Builder
Required - API name:on
final TimeOfYear.Builder
Required - API name:on
protected TimeOfYear.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
. -
int_
Required - API name:int
Adds all elements of
list
toint_
. -
int_
Required - API name:int
Adds one or more values to
int_
. -
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<TimeOfYear.Builder>
-
build
Builds aTimeOfYear
.- Specified by:
build
in interfaceObjectBuilder<TimeOfYear>
- Throws:
NullPointerException
- if some of the required fields are null.
-