Class AckWatchRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.watcher.AckWatchRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<AckWatchRequest>
- Enclosing class:
- AckWatchRequest
public static class AckWatchRequest.Builder extends java.lang.Object implements ObjectBuilder<AckWatchRequest>
Builder for
AckWatchRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description AckWatchRequest.Builder
actionId(java.lang.String... value)
A comma-separated list of the action ids to be ackedAckWatchRequest.Builder
actionId(java.util.List<java.lang.String> value)
A comma-separated list of the action ids to be ackedAckWatchRequest.Builder
addActionId(java.lang.String value)
Add a value toactionId(List)
, creating the list if needed.AckWatchRequest
build()
Builds aAckWatchRequest
.AckWatchRequest.Builder
watchId(java.lang.String value)
Required - Watch IDMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
watchId
Required - Watch IDAPI name:
watch_id
-
actionId
A comma-separated list of the action ids to be ackedAPI name:
action_id
-
actionId
A comma-separated list of the action ids to be ackedAPI name:
action_id
-
addActionId
Add a value toactionId(List)
, creating the list if needed. -
build
Builds aAckWatchRequest
.- Specified by:
build
in interfaceObjectBuilder<AckWatchRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-