Class CurrentNode
java.lang.Object
org.opensearch.client.opensearch.cluster.allocation_explain.CurrentNode
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<CurrentNode.Builder,CurrentNode>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class CurrentNode
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<CurrentNode.Builder,CurrentNode>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CurrentNode> Json deserializer forCurrentNode -
Method Summary
Modifier and TypeMethodDescriptionRequired - API name:attributesstatic CurrentNode.Builderbuilder()booleaninthashCode()final Stringid()Required - API name:idfinal Stringname()Required - API name:namestatic CurrentNodevoidserialize(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.final StringRequired - API name:transport_addressfinal intRequired - API name:weight_rankingMethods 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 forCurrentNode
-
-
Method Details
-
of
-
attributes
Required - API name:attributes -
id
Required - API name:id -
name
Required - API name:name -
transportAddress
Required - API name:transport_address -
weightRanking
public final int weightRanking()Required - API name:weight_ranking -
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<CurrentNode.Builder,CurrentNode> - Returns:
- a new builder instance.
-
builder
-
setupCurrentNodeDeserializer
-
hashCode
public int hashCode() -
equals
-