Class PostRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<PostRequest.Builder>
co.elastic.clients.elasticsearch.license.PostRequest.Builder
- All Implemented Interfaces:
- WithJson<PostRequest.Builder>,- ObjectBuilder<PostRequest>
- Enclosing class:
- PostRequest
public static class PostRequest.Builder
extends RequestBase.AbstractBuilder<PostRequest.Builder>
implements ObjectBuilder<PostRequest>
Builder for 
PostRequest.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal PostRequest.Builderacknowledge(Boolean value) Specifies whether you acknowledge the license changes.build()Builds aPostRequest.final PostRequest.BuilderAPI name:licensefinal PostRequest.BuilderAPI name:licensefinal PostRequest.BuilderA sequence of one or more JSON documents containing the license information.final PostRequest.BuilderA sequence of one or more JSON documents containing the license information.final PostRequest.BuilderA sequence of one or more JSON documents containing the license information.final PostRequest.BuildermasterTimeout(Time value) The period to wait for a connection to the master node.final PostRequest.BuilderThe period to wait for a connection to the master node.protected PostRequest.Builderself()final PostRequest.BuilderThe period to wait for a response.final PostRequest.BuilderThe period to wait for a response.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
acknowledgeSpecifies whether you acknowledge the license changes.API name: acknowledge
- 
licenseAPI name:license
- 
licenseAPI name:license
- 
licensesA sequence of one or more JSON documents containing the license information.API name: licensesAdds all elements of listtolicenses.
- 
licensesA sequence of one or more JSON documents containing the license information.API name: licensesAdds one or more values to licenses.
- 
licensesA sequence of one or more JSON documents containing the license information.API name: licensesAdds a value to licensesusing a builder lambda.
- 
masterTimeoutThe period to wait for a connection to the master node.API name: master_timeout
- 
masterTimeoutThe period to wait for a connection to the master node.API name: master_timeout
- 
timeoutThe 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
- 
timeoutThe 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 class- RequestBase.AbstractBuilder<PostRequest.Builder>
 
- 
buildBuilds aPostRequest.- Specified by:
- buildin interface- ObjectBuilder<PostRequest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-