Class IndexRoutingAllocationInclude.Builder
java.lang.Object
org.opensearch.client.opensearch.indices.IndexRoutingAllocationInclude.Builder
- All Implemented Interfaces:
ObjectBuilder<IndexRoutingAllocationInclude>
- Enclosing class:
- IndexRoutingAllocationInclude
public static class IndexRoutingAllocationInclude.Builder extends java.lang.Object implements ObjectBuilder<IndexRoutingAllocationInclude>
Builder for
IndexRoutingAllocationInclude.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
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
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tierPreference
API name:_tier_preference -
id
API name:_id -
build
Builds aIndexRoutingAllocationInclude.- Specified by:
buildin interfaceObjectBuilder<IndexRoutingAllocationInclude>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-