Class BaseNode
java.lang.Object
org.opensearch.client.opensearch._types.BaseNode
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable
- Direct Known Subclasses:
ReindexNode,TaskExecutingNode,UpdateByQueryRethrottleNode
@Generated("org.opensearch.client.codegen.CodeGenerator")
public abstract class BaseNode
extends Object
implements PlainJsonSerializable
The base information about a node.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe attributes of the node.booleaninthashCode()final Stringhost()API name:hostfinal Stringip()API name:ipfinal Stringname()Required - API name:nameroles()API name:rolesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <BuilderT extends BaseNode.AbstractBuilder<BuilderT>>
voidsetupBaseNodeDeserializer(ObjectDeserializer<BuilderT> op) final StringAPI name:transport_addressMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Constructor Details
-
BaseNode
-
-
Method Details
-
attributes
The attributes of the node.API name:
attributes -
host
API name:host -
ip
API name:ip -
name
Required - API name:name -
roles
API name:roles -
transportAddress
API name:transport_address -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupBaseNodeDeserializer
protected static <BuilderT extends BaseNode.AbstractBuilder<BuilderT>> void setupBaseNodeDeserializer(ObjectDeserializer<BuilderT> op) -
hashCode
public int hashCode() -
equals
-