Class IndexRoutingAllocationInclude.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.indices.IndexRoutingAllocationInclude.Builder
-
- All Implemented Interfaces:
ObjectBuilder<IndexRoutingAllocationInclude>
- Enclosing class:
- IndexRoutingAllocationInclude
public static class IndexRoutingAllocationInclude.Builder extends ObjectBuilderBase implements ObjectBuilder<IndexRoutingAllocationInclude>
Builder forIndexRoutingAllocationInclude.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexRoutingAllocationIncludebuild()Builds aIndexRoutingAllocationInclude.IndexRoutingAllocationInclude.Builderid(java.lang.String value)API name:_idIndexRoutingAllocationInclude.BuildertierPreference(java.lang.String value)API name:_tier_preference-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
tierPreference
public final IndexRoutingAllocationInclude.Builder tierPreference(@Nullable java.lang.String value)
API name:_tier_preference
-
id
public final IndexRoutingAllocationInclude.Builder id(@Nullable java.lang.String value)
API name:_id
-
build
public IndexRoutingAllocationInclude build()
Builds aIndexRoutingAllocationInclude.- Specified by:
buildin interfaceObjectBuilder<IndexRoutingAllocationInclude>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-