Class IndexSettingsUnassignedNodeLeft.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IndexSettingsUnassignedNodeLeft.Builder>
co.elastic.clients.elasticsearch.indices.IndexSettingsUnassignedNodeLeft.Builder
- All Implemented Interfaces:
WithJson<IndexSettingsUnassignedNodeLeft.Builder>,ObjectBuilder<IndexSettingsUnassignedNodeLeft>
- Enclosing class:
- IndexSettingsUnassignedNodeLeft
public static class IndexSettingsUnassignedNodeLeft.Builder
extends WithJsonObjectBuilderBase<IndexSettingsUnassignedNodeLeft.Builder>
implements ObjectBuilder<IndexSettingsUnassignedNodeLeft>
Builder for
IndexSettingsUnassignedNodeLeft.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexSettingsUnassignedNodeLeft.delayedTimeout(Time value) The amount of time to wait for a node that has left before assuming its shards are permanently missing and starting to allocate replacement replicas.The amount of time to wait for a node that has left before assuming its shards are permanently missing and starting to allocate replacement replicas.protected IndexSettingsUnassignedNodeLeft.Builderself()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
-
delayedTimeout
The amount of time to wait for a node that has left before assuming its shards are permanently missing and starting to allocate replacement replicas.API name:
delayed_timeout -
delayedTimeout
public final IndexSettingsUnassignedNodeLeft.Builder delayedTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) The amount of time to wait for a node that has left before assuming its shards are permanently missing and starting to allocate replacement replicas.API name:
delayed_timeout -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IndexSettingsUnassignedNodeLeft.Builder>
-
build
Builds aIndexSettingsUnassignedNodeLeft.- Specified by:
buildin interfaceObjectBuilder<IndexSettingsUnassignedNodeLeft>- Throws:
NullPointerException- if some of the required fields are null.
-