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.Builder
addAt(java.lang.String value)
Add a value toat(List)
, creating the list if needed.TimeOfMonth.Builder
addOn(java.lang.Integer value)
Add a value toon(List)
, creating the list if needed.TimeOfMonth.Builder
at(java.lang.String... value)
Required - API name:at
TimeOfMonth.Builder
at(java.util.List<java.lang.String> value)
Required - API name:at
TimeOfMonth
build()
Builds aTimeOfMonth
.TimeOfMonth.Builder
on(java.lang.Integer... value)
Required - API name:on
TimeOfMonth.Builder
on(java.util.List<java.lang.Integer> value)
Required - API name:on
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
-
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:
build
in interfaceObjectBuilder<TimeOfMonth>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-