Class NodePackagingType
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.NodePackagingType
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<NodePackagingType>Json deserializer forNodePackagingType -
Method Summary
Modifier and TypeMethodDescriptionfinal intcount()Required - Number of selected nodes using the distribution flavor and file type.final Stringflavor()Required - Type of Elasticsearch distribution.static NodePackagingTypevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()final Stringtype()Required - File type (such astarorzip) used for the distribution package.
-
Field Details
-
_DESERIALIZER
Json deserializer forNodePackagingType
-
-
Method Details
-
of
public static NodePackagingType of(Function<NodePackagingType.Builder, ObjectBuilder<NodePackagingType>> fn) -
count
public final int count()Required - Number of selected nodes using the distribution flavor and file type.API name:
count -
flavor
Required - Type of Elasticsearch distribution. This is alwaysdefault.API name:
flavor -
type
Required - File type (such astarorzip) used for the distribution package.API name:
type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupNodePackagingTypeDeserializer
protected static void setupNodePackagingTypeDeserializer(ObjectDeserializer<NodePackagingType.Builder> op)
-