Package org.elasticsearch.client.ml
Class DeleteCalendarRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.client.ml.DeleteCalendarRequest
- All Implemented Interfaces:
org.elasticsearch.common.io.stream.Writeable,org.elasticsearch.common.util.concurrent.RefCounted,org.elasticsearch.tasks.TaskAwareRequest
public class DeleteCalendarRequest
extends org.elasticsearch.action.ActionRequest
Request to delete a Machine Learning Calendar
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest
org.elasticsearch.transport.TransportRequest.EmptyNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
org.elasticsearch.common.io.stream.Writeable.Reader<V extends java.lang.Object>, org.elasticsearch.common.io.stream.Writeable.Writer<V extends java.lang.Object> -
Constructor Summary
Constructors Constructor Description DeleteCalendarRequest(java.lang.String calendarId)The constructor requires a single calendar id. -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetCalendarId()inthashCode()org.elasticsearch.action.ActionRequestValidationExceptionvalidate()Methods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResult, writeToMethods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTaskMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Constructor Details
-
DeleteCalendarRequest
public DeleteCalendarRequest(java.lang.String calendarId)The constructor requires a single calendar id.- Parameters:
calendarId- The calendar to delete. Must benon-null
-
-
Method Details
-
getCalendarId
public java.lang.String getCalendarId() -
validate
public org.elasticsearch.action.ActionRequestValidationException validate()- Specified by:
validatein classorg.elasticsearch.action.ActionRequest
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-