Package org.elasticsearch.client.watcher
Class ActionStatus.Throttle
java.lang.Object
org.elasticsearch.client.watcher.ActionStatus.Throttle
- Enclosing class:
- ActionStatus
public static class ActionStatus.Throttle
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description Throttle(java.time.ZonedDateTime timestamp, java.lang.String reason) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()static ActionStatus.Throttleparse(java.lang.String actionId, XContentParser parser)java.lang.Stringreason()java.time.ZonedDateTimetimestamp()
-
Constructor Details
-
Throttle
public Throttle(java.time.ZonedDateTime timestamp, java.lang.String reason)
-
-
Method Details
-
timestamp
public java.time.ZonedDateTime timestamp() -
reason
public java.lang.String reason() -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
parse
public static ActionStatus.Throttle parse(java.lang.String actionId, XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-