Class AutoFollowedCluster
java.lang.Object
co.elastic.clients.elasticsearch.ccr.stats.AutoFollowedCluster
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class AutoFollowedCluster extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAutoFollowedCluster.BuilderBuilder forAutoFollowedCluster. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AutoFollowedCluster>_DESERIALIZERJson deserializer forAutoFollowedCluster -
Method Summary
Modifier and Type Method Description java.lang.StringclusterName()Required - API name:cluster_namelonglastSeenMetadataVersion()Required - API name:last_seen_metadata_versionstatic AutoFollowedClusterof(java.util.function.Function<AutoFollowedCluster.Builder,ObjectBuilder<AutoFollowedCluster>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupAutoFollowedClusterDeserializer(ObjectDeserializer<AutoFollowedCluster.Builder> op)java.lang.StringtimeSinceLastCheckMillis()Required - API name:time_since_last_check_millisjava.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forAutoFollowedCluster
-
-
Method Details
-
of
public static AutoFollowedCluster of(java.util.function.Function<AutoFollowedCluster.Builder,ObjectBuilder<AutoFollowedCluster>> fn) -
clusterName
public final java.lang.String clusterName()Required - API name:cluster_name -
lastSeenMetadataVersion
public final long lastSeenMetadataVersion()Required - API name:last_seen_metadata_version -
timeSinceLastCheckMillis
public final java.lang.String timeSinceLastCheckMillis()Required - API name:time_since_last_check_millis -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupAutoFollowedClusterDeserializer
protected static void setupAutoFollowedClusterDeserializer(ObjectDeserializer<AutoFollowedCluster.Builder> op)
-