Class AutoFollowedCluster
java.lang.Object
co.elastic.clients.elasticsearch.ccr.stats.AutoFollowedCluster
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AutoFollowedCluster>Json deserializer forAutoFollowedCluster -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRequired - API name:cluster_namefinal longRequired - API name:last_seen_metadata_versionstatic AutoFollowedClustervoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal longRequired - API name:time_since_last_check_millistoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forAutoFollowedCluster
-
-
Method Details
-
of
public static AutoFollowedCluster of(Function<AutoFollowedCluster.Builder, ObjectBuilder<AutoFollowedCluster>> fn) -
clusterName
Required - API name:cluster_name -
lastSeenMetadataVersion
public final long lastSeenMetadataVersion()Required - API name:last_seen_metadata_version -
timeSinceLastCheckMillis
public final long timeSinceLastCheckMillis()Required - API name:time_since_last_check_millis -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupAutoFollowedClusterDeserializer
protected static void setupAutoFollowedClusterDeserializer(ObjectDeserializer<AutoFollowedCluster.Builder> op)
-