Class TimeOfMonth.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.watcher.TimeOfMonth.Builder
- All Implemented Interfaces:
ObjectBuilder<TimeOfMonth>
- Enclosing class:
- TimeOfMonth
public static class TimeOfMonth.Builder extends ObjectBuilderBase implements ObjectBuilder<TimeOfMonth>
Builder for
TimeOfMonth
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description TimeOfMonth.Builder
at(java.lang.String value, java.lang.String... values)
Required - API name:at
TimeOfMonth.Builder
at(java.util.List<java.lang.String> list)
Required - API name:at
TimeOfMonth
build()
Builds aTimeOfMonth
.TimeOfMonth.Builder
on(java.lang.Integer value, java.lang.Integer... values)
Required - API name:on
TimeOfMonth.Builder
on(java.util.List<java.lang.Integer> list)
Required - API name:on
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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: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
. -
build
Builds aTimeOfMonth
.- Specified by:
build
in interfaceObjectBuilder<TimeOfMonth>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-