Class WatcherStatsResponse
java.lang.Object
co.elastic.clients.elasticsearch.watcher.WatcherStatsResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<WatcherStatsResponse>Json deserializer forWatcherStatsResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRequired - API name:cluster_namefinal booleanRequired - API name:manually_stoppedfinal NodeStatisticsRequired - API name:_nodesstatic WatcherStatsResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal List<WatcherNodeStats>stats()Required - API name:statstoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forWatcherStatsResponse
-
-
Method Details
-
of
public static WatcherStatsResponse of(Function<WatcherStatsResponse.Builder, ObjectBuilder<WatcherStatsResponse>> fn) -
nodeStats
Required - API name:_nodes -
clusterName
Required - API name:cluster_name -
manuallyStopped
public final boolean manuallyStopped()Required - API name:manually_stopped -
stats
Required - API name:stats -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupWatcherStatsResponseDeserializer
protected static void setupWatcherStatsResponseDeserializer(ObjectDeserializer<WatcherStatsResponse.Builder> op)
-