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 class
WatcherStatsResponse.Builder
Builder forWatcherStatsResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<WatcherStatsResponse>
_DESERIALIZER
Json 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.String
clusterName()
Required - API name:cluster_name
boolean
manuallyStopped()
Required - API name:manually_stopped
NodeStatistics
nodeStats()
Required - API name:_nodes
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
setupWatcherStatsResponseDeserializer(DelegatingDeserializer<WatcherStatsResponse.Builder> op)
java.util.List<WatcherNodeStats>
stats()
Required - API name:stats
Methods 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupWatcherStatsResponseDeserializer
protected static void setupWatcherStatsResponseDeserializer(DelegatingDeserializer<WatcherStatsResponse.Builder> op)
-