Class AutoFollowPatternSummary

java.lang.Object
co.elastic.clients.elasticsearch.ccr.get_auto_follow_pattern.AutoFollowPatternSummary
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public class AutoFollowPatternSummary
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static AutoFollowPatternSummary of​(java.util.function.Function<AutoFollowPatternSummary.Builder,​ObjectBuilder<AutoFollowPatternSummary>> fn)
    • active

      public final boolean active()
      Required - API name: active
    • remoteCluster

      public final java.lang.String remoteCluster()
      Required - The remote cluster containing the leader indices to match against.

      API name: remote_cluster

    • followIndexPattern

      @Nullable public final java.lang.String followIndexPattern()
      The name of follower index.

      API name: follow_index_pattern

    • leaderIndexPatterns

      public final java.util.List<java.lang.String> leaderIndexPatterns()
      Required - An array of simple index patterns to match against indices in the remote cluster specified by the remote_cluster field.

      API name: leader_index_patterns

    • leaderIndexExclusionPatterns

      public final java.util.List<java.lang.String> leaderIndexExclusionPatterns()
      Required - An array of simple index patterns that can be used to exclude indices from being auto-followed.

      API name: leader_index_exclusion_patterns

    • maxOutstandingReadRequests

      public final int maxOutstandingReadRequests()
      Required - The maximum number of outstanding reads requests from the remote cluster.

      API name: max_outstanding_read_requests

    • 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)
    • setupAutoFollowPatternSummaryDeserializer

      protected static void setupAutoFollowPatternSummaryDeserializer​(ObjectDeserializer<AutoFollowPatternSummary.Builder> op)