Class GetNodeStatsResponse
java.lang.Object
org.opensearch.client.opensearch.search_relevance.GetNodeStatsResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<GetNodeStatsResponse.Builder,GetNodeStatsResponse>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class GetNodeStatsResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<GetNodeStatsResponse.Builder,GetNodeStatsResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetNodeStatsResponse> static final GetNodeStatsResponseSingleton instance forGetNodeStatsResponse. -
Method Summary
Modifier and TypeMethodDescriptionstatic GetNodeStatsResponse.Builderbuilder()booleaninthashCode()static GetNodeStatsResponsevoidserialize(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 forGetNodeStatsResponse. -
_DESERIALIZER
-
-
Method Details
-
of
public static GetNodeStatsResponse of(Function<GetNodeStatsResponse.Builder, ObjectBuilder<GetNodeStatsResponse>> 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<GetNodeStatsResponse.Builder,GetNodeStatsResponse> - Returns:
- a new builder instance.
-
builder
-
hashCode
public int hashCode() -
equals
-