Class PostStartBasicRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<PostStartBasicRequest.Builder>
co.elastic.clients.elasticsearch.license.PostStartBasicRequest.Builder
- All Implemented Interfaces:
WithJson<PostStartBasicRequest.Builder>,ObjectBuilder<PostStartBasicRequest>
- Enclosing class:
- PostStartBasicRequest
public static class PostStartBasicRequest.Builder
extends RequestBase.AbstractBuilder<PostStartBasicRequest.Builder>
implements ObjectBuilder<PostStartBasicRequest>
Builder for
PostStartBasicRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacknowledge(Boolean value) whether the user has acknowledged acknowledge messages (default: false)build()Builds aPostStartBasicRequest.masterTimeout(Time value) Period to wait for a connection to the master node.Period to wait for a connection to the master node.protected PostStartBasicRequest.Builderself()Period to wait for a response.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
-
acknowledge
whether the user has acknowledged acknowledge messages (default: false)API name:
acknowledge -
masterTimeout
Period to wait for a connection to the master node.API name:
master_timeout -
masterTimeout
public final PostStartBasicRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Period to wait for a connection to the master node.API name:
master_timeout -
timeout
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
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<PostStartBasicRequest.Builder>
-
build
Builds aPostStartBasicRequest.- Specified by:
buildin interfaceObjectBuilder<PostStartBasicRequest>- Throws:
NullPointerException- if some of the required fields are null.
-