Class ActivateWatchRequest

java.lang.Object
org.elasticsearch.client.watcher.ActivateWatchRequest
All Implemented Interfaces:
Validatable

public final class ActivateWatchRequest
extends java.lang.Object
implements Validatable
A request to explicitly activate a watch.
  • Field Summary

    Fields inherited from interface org.elasticsearch.client.Validatable

    EMPTY
  • Constructor Summary

    Constructors
    Constructor Description
    ActivateWatchRequest​(java.lang.String watchId)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  
    java.lang.String getWatchId()  
    int hashCode()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.elasticsearch.client.Validatable

    validate
  • Constructor Details

    • ActivateWatchRequest

      public ActivateWatchRequest​(java.lang.String watchId)
  • Method Details

    • getWatchId

      public java.lang.String getWatchId()
      Returns:
      The ID of the watch to be activated.
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object