Class ExecuteRetentionRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.slm.ExecuteRetentionRequest
Run a retention policy. Manually apply the retention policy to force
immediate removal of snapshots that are expired according to the snapshot
lifecycle policy retention rules. The retention policy is normally applied
according to its schedule.
- 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 Endpoint<ExecuteRetentionRequest,
ExecuteRetentionResponse, ErrorResponse> Endpoint "slm.execute_retention
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Time
The period to wait for a connection to the master node.static ExecuteRetentionRequest
final Time
timeout()
The period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<ExecuteRetentionRequest,ExecuteRetentionResponse, _ENDPOINTErrorResponse> Endpoint "slm.execute_retention
".
-
-
Method Details
-
of
public static ExecuteRetentionRequest of(Function<ExecuteRetentionRequest.Builder, ObjectBuilder<ExecuteRetentionRequest>> fn) -
masterTimeout
The period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout
-
timeout
The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout
-