Class GetWatcherSettingsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetWatcherSettingsRequest.Builder>
co.elastic.clients.elasticsearch.watcher.GetWatcherSettingsRequest.Builder
- All Implemented Interfaces:
- WithJson<GetWatcherSettingsRequest.Builder>,- ObjectBuilder<GetWatcherSettingsRequest>
- Enclosing class:
- GetWatcherSettingsRequest
public static class GetWatcherSettingsRequest.Builder
extends RequestBase.AbstractBuilder<GetWatcherSettingsRequest.Builder>
implements ObjectBuilder<GetWatcherSettingsRequest>
Builder for 
GetWatcherSettingsRequest.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aGetWatcherSettingsRequest.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 GetWatcherSettingsRequest.Builderself()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- 
masterTimeoutThe 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
- 
masterTimeoutpublic final GetWatcherSettingsRequest.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
- 
self- Specified by:
- selfin class- RequestBase.AbstractBuilder<GetWatcherSettingsRequest.Builder>
 
- 
buildBuilds aGetWatcherSettingsRequest.- Specified by:
- buildin interface- ObjectBuilder<GetWatcherSettingsRequest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-