Class ShardPath.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ShardPath.Builder>
co.elastic.clients.elasticsearch.indices.stats.ShardPath.Builder
- All Implemented Interfaces:
WithJson<ShardPath.Builder>
,ObjectBuilder<ShardPath>
- Enclosing class:
- ShardPath
public static class ShardPath.Builder
extends WithJsonObjectBuilderBase<ShardPath.Builder>
implements ObjectBuilder<ShardPath>
Builder for
ShardPath
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aShardPath
.final ShardPath.Builder
Required - API name:data_path
final ShardPath.Builder
isCustomDataPath
(boolean value) Required - API name:is_custom_data_path
protected ShardPath.Builder
self()
final ShardPath.Builder
Required - API name:state_path
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
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
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<ShardPath.Builder>
-
build
Builds aShardPath
.- Specified by:
build
in interfaceObjectBuilder<ShardPath>
- Throws:
NullPointerException
- if some of the required fields are null.
-