Class FollowerIndex
java.lang.Object
co.elastic.clients.elasticsearch.ccr.follow_info.FollowerIndex
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<FollowerIndex>Json deserializer forFollowerIndex -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRequired - The name of the follower index.final StringRequired - The name of the index in the leader cluster that is followed.static FollowerIndexfinal FollowerIndexParametersAn object that encapsulates cross-cluster replication parameters.final StringRequired - The remote cluster that contains the leader index.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal FollowerIndexStatusstatus()Required - The status of the index following:activeorpaused.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forFollowerIndex
-
-
Method Details
-
of
-
followerIndex
Required - The name of the follower index.API name:
follower_index -
leaderIndex
Required - The name of the index in the leader cluster that is followed.API name:
leader_index -
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
Required - The remote cluster that contains the leader index.API name:
remote_cluster -
status
Required - The status of the index following:activeorpaused.API name:
status -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupFollowerIndexDeserializer
-