Class DeactivateWatchRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.watcher.DeactivateWatchRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<DeactivateWatchRequest>
- Enclosing class:
- DeactivateWatchRequest
public static class DeactivateWatchRequest.Builder extends java.lang.Object implements ObjectBuilder<DeactivateWatchRequest>
Builder for
DeactivateWatchRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DeactivateWatchRequest
build()
Builds aDeactivateWatchRequest
.DeactivateWatchRequest.Builder
watchId(java.lang.String value)
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
Watch IDAPI name:
watch_id
-
build
Builds aDeactivateWatchRequest
.- Specified by:
build
in interfaceObjectBuilder<DeactivateWatchRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-