Class ForgetFollowerRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ccr.ForgetFollowerRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class ForgetFollowerRequest
extends RequestBase
implements JsonpSerializable
Removes the follower retention leases from the leader.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ForgetFollowerRequest>Json deserializer forForgetFollowerRequeststatic final Endpoint<ForgetFollowerRequest,ForgetFollowerResponse, ErrorResponse> Endpoint "ccr.forget_follower". -
Method Summary
Modifier and TypeMethodDescriptionfinal StringAPI name:follower_clusterfinal StringAPI name:follower_indexfinal StringAPI name:follower_index_uuidfinal Stringindex()Required - the name of the leader index for which specified follower retention leases should be removedfinal StringAPI name:leader_remote_clusterstatic ForgetFollowerRequestvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forForgetFollowerRequest -
_ENDPOINT
Endpoint "ccr.forget_follower".
-
-
Method Details
-
of
public static ForgetFollowerRequest of(Function<ForgetFollowerRequest.Builder, ObjectBuilder<ForgetFollowerRequest>> fn) -
followerCluster
API name:follower_cluster -
followerIndex
API name:follower_index -
followerIndexUuid
API name:follower_index_uuid -
index
Required - the name of the leader index for which specified follower retention leases should be removedAPI name:
index -
leaderRemoteCluster
API name:leader_remote_cluster -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupForgetFollowerRequestDeserializer
protected static void setupForgetFollowerRequestDeserializer(ObjectDeserializer<ForgetFollowerRequest.Builder> op)
-