Class AcknowledgeState
java.lang.Object
co.elastic.clients.elasticsearch.watcher.AcknowledgeState
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class AcknowledgeState extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AcknowledgeState.Builder
Builder forAcknowledgeState
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AcknowledgeState>
_DESERIALIZER
Json deserializer forAcknowledgeState
-
Method Summary
Modifier and Type Method Description static AcknowledgeState
of(java.util.function.Function<AcknowledgeState.Builder,ObjectBuilder<AcknowledgeState>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupAcknowledgeStateDeserializer(ObjectDeserializer<AcknowledgeState.Builder> op)
AcknowledgementOptions
state()
Required - API name:state
DateTime
timestamp()
Required - API name:timestamp
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forAcknowledgeState
-
-
Method Details
-
of
public static AcknowledgeState of(java.util.function.Function<AcknowledgeState.Builder,ObjectBuilder<AcknowledgeState>> fn) -
state
Required - API name:state
-
timestamp
Required - API name:timestamp
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupAcknowledgeStateDeserializer
protected static void setupAcknowledgeStateDeserializer(ObjectDeserializer<AcknowledgeState.Builder> op)
-