Class ShardPath
java.lang.Object
org.opensearch.client.opensearch.indices.stats.ShardPath
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ShardPath.Builder,ShardPath>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ShardPath
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ShardPath.Builder,ShardPath>
The path information for a shard.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ShardPath> Json deserializer forShardPath -
Method Summary
Modifier and TypeMethodDescriptionstatic ShardPath.Builderbuilder()final StringdataPath()Required - The path to the shard's data.booleaninthashCode()final booleanRequired - Whether the shard uses a custom data path.static ShardPathvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringRequired - The path to the shard's state.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forShardPath
-
-
Method Details
-
of
-
dataPath
Required - The path to the shard's data.API name:
data_path -
isCustomDataPath
public final boolean isCustomDataPath()Required - Whether the shard uses a custom data path.API name:
is_custom_data_path -
statePath
Required - The path to the shard's state.API name:
state_path -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ShardPath.Builder,ShardPath> - Returns:
- a new builder instance.
-
builder
-
setupShardPathDeserializer
-
hashCode
public int hashCode() -
equals
-