Class LogsDisableRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<LogsDisableRequest.Builder>
co.elastic.clients.elasticsearch.streams.LogsDisableRequest.Builder
- All Implemented Interfaces:
WithJson<LogsDisableRequest.Builder>,ObjectBuilder<LogsDisableRequest>
- Enclosing class:
- LogsDisableRequest
public static class LogsDisableRequest.Builder
extends RequestBase.AbstractBuilder<LogsDisableRequest.Builder>
implements ObjectBuilder<LogsDisableRequest>
Builder for
LogsDisableRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aLogsDisableRequest.masterTimeout(Time value) The period to wait for a connection to the master node.The period to wait for a connection to the master node.protected LogsDisableRequest.Builderself()The period to wait for a response.The period to wait for a response.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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 -
masterTimeout
public final LogsDisableRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) 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 -
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 -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<LogsDisableRequest.Builder>
-
build
Builds aLogsDisableRequest.- Specified by:
buildin interfaceObjectBuilder<LogsDisableRequest>- Throws:
NullPointerException- if some of the required fields are null.
-