Class AutoFollowedCluster
java.lang.Object
co.elastic.clients.elasticsearch.ccr.stats.AutoFollowedCluster
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class AutoFollowedCluster extends java.lang.Object implements JsonpSerializable
-
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 -
Constructor Summary
Constructors Constructor Description AutoFollowedCluster(AutoFollowedCluster.Builder builder)AutoFollowedCluster(java.util.function.Function<AutoFollowedCluster.Builder,AutoFollowedCluster.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.StringclusterName()API name:cluster_namelonglastSeenMetadataVersion()API name:last_seen_metadata_versionvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupAutoFollowedClusterDeserializer(DelegatingDeserializer<AutoFollowedCluster.Builder> op)java.lang.StringtimeSinceLastCheckMillis()API name:time_since_last_check_millisMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forAutoFollowedCluster
-
-
Constructor Details
-
AutoFollowedCluster
-
AutoFollowedCluster
public AutoFollowedCluster(java.util.function.Function<AutoFollowedCluster.Builder,AutoFollowedCluster.Builder> fn)
-
-
Method Details
-
clusterName
public java.lang.String clusterName()API name:cluster_name -
lastSeenMetadataVersion
public long lastSeenMetadataVersion()API name:last_seen_metadata_version -
timeSinceLastCheckMillis
public java.lang.String timeSinceLastCheckMillis()API name:time_since_last_check_millis -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupAutoFollowedClusterDeserializer
protected static void setupAutoFollowedClusterDeserializer(DelegatingDeserializer<AutoFollowedCluster.Builder> op)
-