Class ShardPath.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.indices.stats.ShardPath.Builder
- All Implemented Interfaces:
ObjectBuilder<ShardPath>
- Enclosing class:
- ShardPath
public static class ShardPath.Builder extends ObjectBuilderBase implements ObjectBuilder<ShardPath>
Builder for
ShardPath.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ShardPathbuild()Builds aShardPath.ShardPath.BuilderdataPath(java.lang.String value)Required - API name:data_pathShardPath.BuilderisCustomDataPath(boolean value)Required - API name:is_custom_data_pathShardPath.BuilderstatePath(java.lang.String value)Required - API name:state_pathMethods 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
-
dataPath
Required - API name:data_path -
isCustomDataPath
Required - API name:is_custom_data_path -
statePath
Required - API name:state_path -
build
Builds aShardPath.- Specified by:
buildin interfaceObjectBuilder<ShardPath>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-