Class ShardWeightedRoutingStats
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.ShardWeightedRoutingStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ShardWeightedRoutingStats.Builder,ShardWeightedRoutingStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ShardWeightedRoutingStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ShardWeightedRoutingStats.Builder,ShardWeightedRoutingStats>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ShardWeightedRoutingStats> Json deserializer forShardWeightedRoutingStats -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()static ShardWeightedRoutingStatsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupShardWeightedRoutingStatsDeserializer(ObjectDeserializer<ShardWeightedRoutingStats.Builder> op) stats()API name:statsCreate 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 forShardWeightedRoutingStats
-
-
Method Details
-
of
public static ShardWeightedRoutingStats of(Function<ShardWeightedRoutingStats.Builder, ObjectBuilder<ShardWeightedRoutingStats>> fn) -
stats
API name:stats -
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<ShardWeightedRoutingStats.Builder,ShardWeightedRoutingStats> - Returns:
- a new builder instance.
-
builder
-
setupShardWeightedRoutingStatsDeserializer
protected static void setupShardWeightedRoutingStatsDeserializer(ObjectDeserializer<ShardWeightedRoutingStats.Builder> op) -
hashCode
public int hashCode() -
equals
-