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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal AckWatchRequest.BuilderA comma-separated list of the action identifiers to acknowledge.final AckWatchRequest.BuilderA comma-separated list of the action identifiers to acknowledge.build()Builds aAckWatchRequest.protected AckWatchRequest.Builderself()final AckWatchRequest.BuilderRequired - The watch identifier.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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 identifiers to acknowledge. If you omit this parameter, all of the actions of the watch are acknowledged.API name:
action_idAdds all elements of
listtoactionId. -
actionId
A comma-separated list of the action identifiers to acknowledge. If you omit this parameter, all of the actions of the watch are acknowledged.API name:
action_idAdds one or more values to
actionId. -
watchId
Required - The watch identifier.API name:
watch_id -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<AckWatchRequest.Builder>
-
build
Builds aAckWatchRequest.- Specified by:
buildin interfaceObjectBuilder<AckWatchRequest>- Throws:
NullPointerException- if some of the required fields are null.
-