Class CompactNodeInfo
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.verify_repository.CompactNodeInfo
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CompactNodeInfo>Json deserializer forCompactNodeInfo -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringname()Required - A human-readable name for the node.static CompactNodeInfovoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forCompactNodeInfo
-
-
Method Details
-
of
public static CompactNodeInfo of(Function<CompactNodeInfo.Builder, ObjectBuilder<CompactNodeInfo>> fn) -
name
Required - A human-readable name for the node. You can set this name using thenode.nameproperty inelasticsearch.yml. The default value is the machine's hostname.API name:
name -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupCompactNodeInfoDeserializer
protected static void setupCompactNodeInfoDeserializer(ObjectDeserializer<CompactNodeInfo.Builder> op)
-