Class NodeAttributesRecord
java.lang.Object
org.opensearch.client.opensearch.cat.nodeattrs.NodeAttributesRecord
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<NodeAttributesRecord.Builder,NodeAttributesRecord>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class NodeAttributesRecord
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<NodeAttributesRecord.Builder,NodeAttributesRecord>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<NodeAttributesRecord> Json deserializer forNodeAttributesRecord -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringattr()The attribute name.static NodeAttributesRecord.Builderbuilder()booleaninthashCode()final Stringhost()The hostname.final Stringid()The unique node identifier.final Stringip()The IP address.final Stringnode()The node name.static NodeAttributesRecordfinal Stringpid()The process identifier.final Stringport()The bound transport port.voidserialize(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 Stringvalue()The attribute value.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 forNodeAttributesRecord
-
-
Method Details
-
of
public static NodeAttributesRecord of(Function<NodeAttributesRecord.Builder, ObjectBuilder<NodeAttributesRecord>> fn) -
attr
The attribute name.API name:
attr -
host
The hostname.API name:
host -
id
The unique node identifier.API name:
id -
ip
The IP address.API name:
ip -
node
The node name.API name:
node -
pid
The process identifier.API name:
pid -
port
The bound transport port.API name:
port -
value
The attribute value.API name:
value -
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<NodeAttributesRecord.Builder,NodeAttributesRecord> - Returns:
- a new builder instance.
-
builder
-
setupNodeAttributesRecordDeserializer
protected static void setupNodeAttributesRecordDeserializer(ObjectDeserializer<NodeAttributesRecord.Builder> op) -
hashCode
public int hashCode() -
equals
-