Class ShardPath
- java.lang.Object
-
- org.opensearch.client.opensearch.indices.stats.ShardPath
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ShardPath extends java.lang.Object implements JsonpSerializable
-
-
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
All Methods Static Methods Instance Methods Concrete Methods 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_path
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ShardPath> _DESERIALIZER
Json deserializer forShardPath
-
-
Method Detail
-
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
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupShardPathDeserializer
protected static void setupShardPathDeserializer(ObjectDeserializer<ShardPath.Builder> op)
-
-