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
  • Field Details

  • 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 DateTime timeSinceLastCheckMillis()
      Required - API name: time_since_last_check_millis
    • serialize

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • setupAutoFollowedClusterDeserializer

      protected static void setupAutoFollowedClusterDeserializer​(ObjectDeserializer<AutoFollowedCluster.Builder> op)