Class TimeOfMonth.Builder
java.lang.Object
co.elastic.clients.elasticsearch.watcher.TimeOfMonth.Builder
- All Implemented Interfaces:
ObjectBuilder<TimeOfMonth>
- Enclosing class:
- TimeOfMonth
public static class TimeOfMonth.Builder extends java.lang.Object implements ObjectBuilder<TimeOfMonth>
Builder for
TimeOfMonth.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description TimeOfMonth.BuilderaddAt(java.lang.String value)Add a value toat(List), creating the list if needed.TimeOfMonth.BuilderaddOn(java.lang.Integer value)Add a value toon(List), creating the list if needed.TimeOfMonth.Builderat(java.lang.String... value)Required - API name:atTimeOfMonth.Builderat(java.util.List<java.lang.String> value)Required - API name:atTimeOfMonthbuild()Builds aTimeOfMonth.TimeOfMonth.Builderon(java.lang.Integer... value)Required - API name:onTimeOfMonth.Builderon(java.util.List<java.lang.Integer> value)Required - API name:onMethods 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 -
at
Required - API name:at -
addAt
Add a value toat(List), creating the list if needed. -
on
Required - API name:on -
on
Required - API name:on -
addOn
Add a value toon(List), creating the list if needed. -
build
Builds aTimeOfMonth.- Specified by:
buildin interfaceObjectBuilder<TimeOfMonth>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-