Class ThrottleState
java.lang.Object
co.elastic.clients.elasticsearch.watcher.ThrottleState
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class ThrottleState extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThrottleState.BuilderBuilder forThrottleState. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ThrottleState>_DESERIALIZERJson deserializer forThrottleState -
Constructor Summary
Constructors Constructor Description ThrottleState(ThrottleState.Builder builder)ThrottleState(java.util.function.Function<ThrottleState.Builder,ThrottleState.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Stringreason()Required - API name:reasonvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupThrottleStateDeserializer(DelegatingDeserializer<ThrottleState.Builder> op)java.lang.Stringtimestamp()Required - API name:timestampMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forThrottleState
-
-
Constructor Details
-
ThrottleState
-
ThrottleState
-
-
Method Details
-
reason
public java.lang.String reason()Required - API name:reason -
timestamp
public java.lang.String timestamp()Required - API name:timestamp -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupThrottleStateDeserializer
protected static void setupThrottleStateDeserializer(DelegatingDeserializer<ThrottleState.Builder> op)
-