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 Constructor Description Builder() -
Method Summary
Modifier and Type Method Description IndexRoutingAllocationIncludebuild()Builds aIndexRoutingAllocationInclude.IndexRoutingAllocationInclude.Builderid(java.lang.String value)API name:_idprotected IndexRoutingAllocationInclude.Builderself()IndexRoutingAllocationInclude.BuildertierPreference(java.lang.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, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tierPreference
public final IndexRoutingAllocationInclude.Builder tierPreference(@Nullable java.lang.String value)API name:_tier_preference -
id
API name:_id -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IndexRoutingAllocationInclude.Builder>
-
build
Builds aIndexRoutingAllocationInclude.- Specified by:
buildin interfaceObjectBuilder<IndexRoutingAllocationInclude>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-