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 classAutoFollowPatternSummary.BuilderBuilder forAutoFollowPatternSummary. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AutoFollowPatternSummary>_DESERIALIZERJson 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 booleanactive()Required - API name:activejava.lang.StringfollowIndexPattern()The name of follower index.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.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.intmaxOutstandingReadRequests()Required - The maximum number of outstanding reads requests from the remote cluster.java.lang.StringremoteCluster()Required - The remote cluster containing the leader indices to match against.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupAutoFollowPatternSummaryDeserializer(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()Required - API name:active -
remoteCluster
public java.lang.String remoteCluster()Required - 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()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 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 int maxOutstandingReadRequests()Required - 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupAutoFollowPatternSummaryDeserializer
protected static void setupAutoFollowPatternSummaryDeserializer(DelegatingDeserializer<AutoFollowPatternSummary.Builder> op)
-