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
-
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
-
Method Summary
Modifier and Type Method Description boolean
active()
Required - API name:active
java.lang.String
followIndexPattern()
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.int
maxOutstandingReadRequests()
Required - The maximum number of outstanding reads requests from the remote cluster.static AutoFollowPatternSummary
of(java.util.function.Function<AutoFollowPatternSummary.Builder,ObjectBuilder<AutoFollowPatternSummary>> fn)
java.lang.String
remoteCluster()
Required - 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(ObjectDeserializer<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
-
-
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
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupAutoFollowPatternSummaryDeserializer
protected static void setupAutoFollowPatternSummaryDeserializer(ObjectDeserializer<AutoFollowPatternSummary.Builder> op)
-