Class AutoFollowPatternSummary
java.lang.Object
co.elastic.clients.elasticsearch.ccr.get_auto_follow_pattern.AutoFollowPatternSummary
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class AutoFollowPatternSummary extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AutoFollowPatternSummary.Builder
Builder forAutoFollowPatternSummary
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AutoFollowPatternSummary>
_DESERIALIZER
Json deserializer forAutoFollowPatternSummary
-
Constructor Summary
Constructors Constructor Description AutoFollowPatternSummary(AutoFollowPatternSummary.Builder builder)
AutoFollowPatternSummary(java.util.function.Function<AutoFollowPatternSummary.Builder,AutoFollowPatternSummary.Builder> fn)
-
Method Summary
Modifier and Type Method Description boolean
active()
API name:active
java.lang.String
followIndexPattern()
The name of follower index.java.util.List<java.lang.String>
leaderIndexExclusionPatterns()
An array of simple index patterns that can be used to exclude indices from being auto-followed.java.util.List<java.lang.String>
leaderIndexPatterns()
An array of simple index patterns to match against indices in the remote cluster specified by the remote_cluster field.int
maxOutstandingReadRequests()
The maximum number of outstanding reads requests from the remote cluster.java.lang.String
remoteCluster()
The remote cluster containing the leader indices to match against.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
setupAutoFollowPatternSummaryDeserializer(DelegatingDeserializer<AutoFollowPatternSummary.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forAutoFollowPatternSummary
-
-
Constructor Details
-
AutoFollowPatternSummary
-
AutoFollowPatternSummary
public AutoFollowPatternSummary(java.util.function.Function<AutoFollowPatternSummary.Builder,AutoFollowPatternSummary.Builder> fn)
-
-
Method Details
-
active
public boolean active()API name:active
-
remoteCluster
public java.lang.String remoteCluster()The remote cluster containing the leader indices to match against.API name:
remote_cluster
-
followIndexPattern
@Nullable public java.lang.String followIndexPattern()The name of follower index.API name:
follow_index_pattern
-
leaderIndexPatterns
public java.util.List<java.lang.String> leaderIndexPatterns()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 java.util.List<java.lang.String> leaderIndexExclusionPatterns()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 int maxOutstandingReadRequests()The maximum number of outstanding reads requests from the remote cluster.API name:
max_outstanding_read_requests
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupAutoFollowPatternSummaryDeserializer
protected static void setupAutoFollowPatternSummaryDeserializer(DelegatingDeserializer<AutoFollowPatternSummary.Builder> op)
-