java.lang.Object
co.elastic.clients.elasticsearch.ccr.follow_info.FollowerIndex
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class FollowerIndex extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • followerIndex

      public final String followerIndex()
      Required - The name of the follower index.

      API name: follower_index

    • leaderIndex

      public final String leaderIndex()
      Required - The name of the index in the leader cluster that is followed.

      API name: leader_index

    • parameters

      @Nullable public final FollowerIndexParameters parameters()
      An object that encapsulates cross-cluster replication parameters. If the follower index's status is paused, this object is omitted.

      API name: parameters

    • remoteCluster

      public final String remoteCluster()
      Required - The remote cluster that contains the leader index.

      API name: remote_cluster

    • status

      public final FollowerIndexStatus status()
      Required - The status of the index following: active or paused.

      API name: status

    • 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 String toString()
      Overrides:
      toString in class Object
    • setupFollowerIndexDeserializer

      protected static void setupFollowerIndexDeserializer(ObjectDeserializer<FollowerIndex.Builder> op)