Class NodePackagingType
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.NodePackagingType
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class NodePackagingType extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodePackagingType.Builder
Builder forNodePackagingType
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<NodePackagingType>
_DESERIALIZER
Json deserializer forNodePackagingType
-
Constructor Summary
Constructors Constructor Description NodePackagingType(NodePackagingType.Builder builder)
NodePackagingType(java.util.function.Function<NodePackagingType.Builder,NodePackagingType.Builder> fn)
-
Method Summary
Modifier and Type Method Description int
count()
Required - API name:count
java.lang.String
flavor()
Required - API name:flavor
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
setupNodePackagingTypeDeserializer(DelegatingDeserializer<NodePackagingType.Builder> op)
java.lang.String
type()
Required - API name:type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forNodePackagingType
-
-
Constructor Details
-
NodePackagingType
-
NodePackagingType
public NodePackagingType(java.util.function.Function<NodePackagingType.Builder,NodePackagingType.Builder> fn)
-
-
Method Details
-
count
public int count()Required - API name:count
-
flavor
public java.lang.String flavor()Required - API name:flavor
-
type
public java.lang.String type()Required - API name:type
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupNodePackagingTypeDeserializer
protected static void setupNodePackagingTypeDeserializer(DelegatingDeserializer<NodePackagingType.Builder> op)
-