Class ShardPath
java.lang.Object
co.elastic.clients.elasticsearch.indices.stats.ShardPath
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ShardPath extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShardPath.BuilderBuilder forShardPath. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ShardPath>_DESERIALIZERJson deserializer forShardPath -
Method Summary
Modifier and Type Method Description java.lang.StringdataPath()Required - API name:data_pathbooleanisCustomDataPath()Required - API name:is_custom_data_pathstatic ShardPathof(java.util.function.Function<ShardPath.Builder,ObjectBuilder<ShardPath>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupShardPathDeserializer(ObjectDeserializer<ShardPath.Builder> op)java.lang.StringstatePath()Required - API name:state_pathjava.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forShardPath
-
-
Method Details
-
of
public static ShardPath of(java.util.function.Function<ShardPath.Builder,ObjectBuilder<ShardPath>> fn) -
dataPath
public final java.lang.String dataPath()Required - API name:data_path -
isCustomDataPath
public final boolean isCustomDataPath()Required - API name:is_custom_data_path -
statePath
public final java.lang.String statePath()Required - API name:state_path -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupShardPathDeserializer
-