Class ShardWeightedRoutingStatsDetail
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.ShardWeightedRoutingStatsDetail
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ShardWeightedRoutingStatsDetail.Builder,ShardWeightedRoutingStatsDetail>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ShardWeightedRoutingStatsDetail
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ShardWeightedRoutingStatsDetail.Builder,ShardWeightedRoutingStatsDetail>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ShardWeightedRoutingStatsDetail> Json deserializer forShardWeightedRoutingStatsDetail -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanfinal IntegerAPI name:fail_open_countinthashCode()of(Function<ShardWeightedRoutingStatsDetail.Builder, ObjectBuilder<ShardWeightedRoutingStatsDetail>> 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 voidsetupShardWeightedRoutingStatsDetailDeserializer(ObjectDeserializer<ShardWeightedRoutingStatsDetail.Builder> op) 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 forShardWeightedRoutingStatsDetail
-
-
Method Details
-
of
-
failOpenCount
API name:fail_open_count -
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<ShardWeightedRoutingStatsDetail.Builder,ShardWeightedRoutingStatsDetail> - Returns:
- a new builder instance.
-
builder
-
setupShardWeightedRoutingStatsDetailDeserializer
protected static void setupShardWeightedRoutingStatsDetailDeserializer(ObjectDeserializer<ShardWeightedRoutingStatsDetail.Builder> op) -
hashCode
public int hashCode() -
equals
-