Class StartSlmRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.slm.StartSlmRequest
Start snapshot lifecycle management. Snapshot lifecycle management (SLM)
starts automatically when a cluster is formed. Manually starting SLM is
necessary only if it has been stopped using the stop SLM API.
- 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<StartSlmRequest,
StartSlmResponse, ErrorResponse> Endpoint "slm.start
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Time
The period to wait for a connection to the master node.static StartSlmRequest
final Time
timeout()
The period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "slm.start
".
-
-
Method Details
-
of
public static StartSlmRequest of(Function<StartSlmRequest.Builder, ObjectBuilder<StartSlmRequest>> 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. To indicate that the request should never timeout, set it to-1
.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. To indicate that the request should never timeout, set it to-1
.API name:
timeout
-