Class AckWatchRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<AckWatchRequest.Builder>
co.elastic.clients.elasticsearch.watcher.AckWatchRequest.Builder
- All Implemented Interfaces:
WithJson<AckWatchRequest.Builder>
,ObjectBuilder<AckWatchRequest>
- Enclosing class:
- AckWatchRequest
public static class AckWatchRequest.Builder
extends RequestBase.AbstractBuilder<AckWatchRequest.Builder>
implements ObjectBuilder<AckWatchRequest>
Builder for
AckWatchRequest
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal AckWatchRequest.Builder
A comma-separated list of the action ids to be ackedfinal AckWatchRequest.Builder
A comma-separated list of the action ids to be ackedbuild()
Builds aAckWatchRequest
.protected AckWatchRequest.Builder
self()
final AckWatchRequest.Builder
Required - Watch IDMethods 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
-
actionId
A comma-separated list of the action ids to be ackedAPI name:
action_id
Adds all elements of
list
toactionId
. -
actionId
A comma-separated list of the action ids to be ackedAPI name:
action_id
Adds one or more values to
actionId
. -
watchId
Required - Watch IDAPI name:
watch_id
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<AckWatchRequest.Builder>
-
build
Builds aAckWatchRequest
.- Specified by:
build
in interfaceObjectBuilder<AckWatchRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-