Class ShardPath.Builder
java.lang.Object
org.opensearch.client.opensearch.indices.stats.ShardPath.Builder
- All Implemented Interfaces:
ObjectBuilder<ShardPath>
- Enclosing class:
- ShardPath
public static class ShardPath.Builder extends java.lang.Object implements ObjectBuilder<ShardPath>
Builder for
ShardPath.-
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 ShardPathbuild()Builds aShardPath.ShardPath.BuilderdataPath(java.lang.String value)API name:data_pathShardPath.BuilderisCustomDataPath(java.lang.Boolean value)API name:is_custom_data_pathShardPath.BuilderstatePath(java.lang.String value)API name:state_path
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataPath
API name:data_path -
isCustomDataPath
API name:is_custom_data_path -
statePath
API name:state_path -
build
Builds aShardPath.- Specified by:
buildin interfaceObjectBuilder<ShardPath>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-