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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexRoutingAllocationInclude.API name:_idprotected IndexRoutingAllocationInclude.Builderself()tierPreference(String value) API name:_tier_preferenceMethods 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
-
tierPreference
API name:_tier_preference -
id
API name:_id -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IndexRoutingAllocationInclude.Builder>
-
build
Builds aIndexRoutingAllocationInclude.- Specified by:
buildin interfaceObjectBuilder<IndexRoutingAllocationInclude>- Throws:
NullPointerException- if some of the required fields are null.
-