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
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ShardPath
build()
Builds aShardPath
.ShardPath.Builder
dataPath(java.lang.String value)
Required - API name:data_path
ShardPath.Builder
isCustomDataPath(boolean value)
Required - API name:is_custom_data_path
protected ShardPath.Builder
self()
ShardPath.Builder
statePath(java.lang.String value)
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
Methods 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
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<ShardPath.Builder>
-
build
Builds aShardPath
.- Specified by:
build
in interfaceObjectBuilder<ShardPath>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-