Class DeleteTransformRequest

java.lang.Object
org.elasticsearch.client.transform.DeleteTransformRequest
All Implemented Interfaces:
Validatable

public class DeleteTransformRequest
extends java.lang.Object
implements Validatable
Request to delete a transform
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.lang.String FORCE  

    Fields inherited from interface org.elasticsearch.client.Validatable

    EMPTY
  • Constructor Summary

    Constructors
    Constructor Description
    DeleteTransformRequest​(java.lang.String id)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object obj)  
    java.lang.Boolean getForce()  
    java.lang.String getId()  
    int hashCode()  
    void setForce​(boolean force)  
    java.util.Optional<ValidationException> validate()
    Perform validation.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • DeleteTransformRequest

      public DeleteTransformRequest​(java.lang.String id)
  • Method Details

    • getId

      public java.lang.String getId()
    • getForce

      public java.lang.Boolean getForce()
    • setForce

      public void setForce​(boolean force)
    • validate

      public java.util.Optional<ValidationException> validate()
      Description copied from interface: Validatable
      Perform validation. This method does not have to be overridden in the event that no validation needs to be done, or the validation was done during object construction time. A ValidationException that is not null is assumed to contain validation errors and will be thrown.
      Specified by:
      validate in interface Validatable
      Returns:
      An Optional ValidationException that contains a list of validation errors.
    • hashCode

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

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object