Class NodeInfoNetworkInterface
java.lang.Object
org.opensearch.client.opensearch.nodes.info.NodeInfoNetworkInterface
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<NodeInfoNetworkInterface.Builder,NodeInfoNetworkInterface>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class NodeInfoNetworkInterface
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<NodeInfoNetworkInterface.Builder,NodeInfoNetworkInterface>
Describes a network interface on the node.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<NodeInfoNetworkInterface> Json deserializer forNodeInfoNetworkInterface -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringaddress()Required - The IP address of the interface.builder()booleaninthashCode()final StringRequired - The MAC address of the interface.final Stringname()Required - API name:namestatic NodeInfoNetworkInterfacevoidserialize(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.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 forNodeInfoNetworkInterface
-
-
Method Details
-
of
public static NodeInfoNetworkInterface of(Function<NodeInfoNetworkInterface.Builder, ObjectBuilder<NodeInfoNetworkInterface>> fn) -
address
Required - The IP address of the interface.API name:
address -
macAddress
Required - The MAC address of the interface.API name:
mac_address -
name
Required - API name:name -
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<NodeInfoNetworkInterface.Builder,NodeInfoNetworkInterface> - Returns:
- a new builder instance.
-
builder
-
setupNodeInfoNetworkInterfaceDeserializer
protected static void setupNodeInfoNetworkInterfaceDeserializer(ObjectDeserializer<NodeInfoNetworkInterface.Builder> op) -
hashCode
public int hashCode() -
equals
-