Class IndexRoutingAllocationInclude.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IndexRoutingAllocationInclude.Builder>
co.elastic.clients.elasticsearch.indices.IndexRoutingAllocationInclude.Builder
- All Implemented Interfaces:
WithJson<IndexRoutingAllocationInclude.Builder>
,ObjectBuilder<IndexRoutingAllocationInclude>
- Enclosing class:
- IndexRoutingAllocationInclude
public static class IndexRoutingAllocationInclude.Builder
extends WithJsonObjectBuilderBase<IndexRoutingAllocationInclude.Builder>
implements ObjectBuilder<IndexRoutingAllocationInclude>
Builder for
IndexRoutingAllocationInclude
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aIndexRoutingAllocationInclude
.API name:_id
protected IndexRoutingAllocationInclude.Builder
self()
tierPreference
(String value) API name:_tier_preference
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
-
tierPreference
API name:_tier_preference
-
id
API name:_id
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<IndexRoutingAllocationInclude.Builder>
-
build
Builds aIndexRoutingAllocationInclude
.- Specified by:
build
in interfaceObjectBuilder<IndexRoutingAllocationInclude>
- Throws:
NullPointerException
- if some of the required fields are null.
-