Class NodeInfoAggregation
java.lang.Object
org.opensearch.client.opensearch.nodes.info.NodeInfoAggregation
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<NodeInfoAggregation.Builder,NodeInfoAggregation>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class NodeInfoAggregation
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<NodeInfoAggregation.Builder,NodeInfoAggregation>
The aggregation configuration.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<NodeInfoAggregation> Json deserializer forNodeInfoAggregation -
Method Summary
Modifier and TypeMethodDescriptionstatic NodeInfoAggregation.Builderbuilder()booleaninthashCode()static NodeInfoAggregationvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.types()Required - The list of supported aggregation types.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 forNodeInfoAggregation
-
-
Method Details
-
of
public static NodeInfoAggregation of(Function<NodeInfoAggregation.Builder, ObjectBuilder<NodeInfoAggregation>> fn) -
types
Required - The list of supported aggregation types.API name:
types -
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<NodeInfoAggregation.Builder,NodeInfoAggregation> - Returns:
- a new builder instance.
-
builder
-
setupNodeInfoAggregationDeserializer
protected static void setupNodeInfoAggregationDeserializer(ObjectDeserializer<NodeInfoAggregation.Builder> op) -
hashCode
public int hashCode() -
equals
-