Class PercentageScoreHeuristic
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.PercentageScoreHeuristic
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<PercentageScoreHeuristic.Builder,PercentageScoreHeuristic>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class PercentageScoreHeuristic
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<PercentageScoreHeuristic.Builder,PercentageScoreHeuristic>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PercentageScoreHeuristic> static final PercentageScoreHeuristicSingleton instance forPercentageScoreHeuristic. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()static PercentageScoreHeuristicvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.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
-
_INSTANCE
Singleton instance forPercentageScoreHeuristic. -
_DESERIALIZER
-
-
Method Details
-
of
public static PercentageScoreHeuristic of(Function<PercentageScoreHeuristic.Builder, ObjectBuilder<PercentageScoreHeuristic>> fn) -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<PercentageScoreHeuristic.Builder,PercentageScoreHeuristic> - Returns:
- a new builder instance.
-
builder
-
hashCode
public int hashCode() -
equals
-