Class WatcherStatsResponse
java.lang.Object
co.elastic.clients.elasticsearch.watcher.WatcherStatsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class WatcherStatsResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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
-
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
static WatcherStatsResponse
of(java.util.function.Function<WatcherStatsResponse.Builder,ObjectBuilder<WatcherStatsResponse>> 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
setupWatcherStatsResponseDeserializer(ObjectDeserializer<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
-
-
Method Details
-
of
public static WatcherStatsResponse of(java.util.function.Function<WatcherStatsResponse.Builder,ObjectBuilder<WatcherStatsResponse>> fn) -
nodeStats
Required - API name:_nodes
-
clusterName
public final java.lang.String 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupWatcherStatsResponseDeserializer
protected static void setupWatcherStatsResponseDeserializer(ObjectDeserializer<WatcherStatsResponse.Builder> op)
-