Class LogsEnableRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.streams.LogsEnableRequest
Enable logs stream.
Turn on the logs stream feature for this cluster.
NOTE: To protect existing data, this feature can be turned on only if the
cluster does not have existing indices or data streams that match the pattern
logs|logs.*. If those indices or data streams exist, a
409 - Conflict response and error is returned.
- 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<LogsEnableRequest,LogsEnableResponse, ErrorResponse> Endpoint "streams.logs_enable". -
Method Summary
Modifier and TypeMethodDescriptionfinal TimeThe period to wait for a connection to the master node.static LogsEnableRequestfinal Timetimeout()The period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "streams.logs_enable".
-
-
Method Details
-
of
public static LogsEnableRequest of(Function<LogsEnableRequest.Builder, ObjectBuilder<LogsEnableRequest>> 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
-