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 class
AutoFollowedCluster.Builder
Builder forAutoFollowedCluster
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AutoFollowedCluster>
_DESERIALIZER
Json deserializer forAutoFollowedCluster
-
Method Summary
Modifier and Type Method Description java.lang.String
clusterName()
Required - API name:cluster_name
long
lastSeenMetadataVersion()
Required - API name:last_seen_metadata_version
static AutoFollowedCluster
of(java.util.function.Function<AutoFollowedCluster.Builder,ObjectBuilder<AutoFollowedCluster>> 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
setupAutoFollowedClusterDeserializer(ObjectDeserializer<AutoFollowedCluster.Builder> op)
DateTime
timeSinceLastCheckMillis()
Required - API name:time_since_last_check_millis
java.lang.String
toString()
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
Required - API name:time_since_last_check_millis
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupAutoFollowedClusterDeserializer
protected static void setupAutoFollowedClusterDeserializer(ObjectDeserializer<AutoFollowedCluster.Builder> op)
-