Class IndexRoutingAllocationDisk.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IndexRoutingAllocationDisk.Builder>
co.elastic.clients.elasticsearch.indices.IndexRoutingAllocationDisk.Builder
- All Implemented Interfaces:
WithJson<IndexRoutingAllocationDisk.Builder>
,ObjectBuilder<IndexRoutingAllocationDisk>
- Enclosing class:
- IndexRoutingAllocationDisk
public static class IndexRoutingAllocationDisk.Builder
extends WithJsonObjectBuilderBase<IndexRoutingAllocationDisk.Builder>
implements ObjectBuilder<IndexRoutingAllocationDisk>
Builder for
IndexRoutingAllocationDisk
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aIndexRoutingAllocationDisk
.protected IndexRoutingAllocationDisk.Builder
self()
thresholdEnabled
(Boolean value) API name:threshold_enabled
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
thresholdEnabled
API name:threshold_enabled
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<IndexRoutingAllocationDisk.Builder>
-
build
Builds aIndexRoutingAllocationDisk
.- Specified by:
build
in interfaceObjectBuilder<IndexRoutingAllocationDisk>
- Throws:
NullPointerException
- if some of the required fields are null.
-