Class WatcherStatsResponse
java.lang.Object
co.elastic.clients.elasticsearch.watcher.WatcherStatsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class WatcherStatsResponse extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWatcherStatsResponse.BuilderBuilder forWatcherStatsResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<WatcherStatsResponse>_DESERIALIZERJson deserializer forWatcherStatsResponse -
Constructor Summary
Constructors Constructor Description WatcherStatsResponse(WatcherStatsResponse.Builder builder)WatcherStatsResponse(java.util.function.Function<WatcherStatsResponse.Builder,WatcherStatsResponse.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.StringclusterName()Required - API name:cluster_namebooleanmanuallyStopped()Required - API name:manually_stoppedNodeStatisticsnodeStats()Required - API name:_nodesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupWatcherStatsResponseDeserializer(DelegatingDeserializer<WatcherStatsResponse.Builder> op)java.util.List<WatcherNodeStats>stats()Required - API name:statsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forWatcherStatsResponse
-
-
Constructor Details
-
WatcherStatsResponse
-
WatcherStatsResponse
public WatcherStatsResponse(java.util.function.Function<WatcherStatsResponse.Builder,WatcherStatsResponse.Builder> fn)
-
-
Method Details
-
nodeStats
Required - API name:_nodes -
clusterName
public java.lang.String clusterName()Required - API name:cluster_name -
manuallyStopped
public boolean manuallyStopped()Required - API name:manually_stopped -
stats
Required - API name:stats -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupWatcherStatsResponseDeserializer
protected static void setupWatcherStatsResponseDeserializer(DelegatingDeserializer<WatcherStatsResponse.Builder> op)
-