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 String
name()
Required - A human-readable name for the node.static CompactNodeInfo
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
-
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.name
property inelasticsearch.yml
. The default value is the machine's hostname.API name:
name
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupCompactNodeInfoDeserializer
protected static void setupCompactNodeInfoDeserializer(ObjectDeserializer<CompactNodeInfo.Builder> op)
-