Class NodePackagingType
java.lang.Object
org.opensearch.client.opensearch.cluster.stats.NodePackagingType
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<NodePackagingType.Builder,NodePackagingType>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class NodePackagingType
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<NodePackagingType.Builder,NodePackagingType>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<NodePackagingType> Json deserializer forNodePackagingType -
Method Summary
Modifier and TypeMethodDescriptionstatic NodePackagingType.Builderbuilder()final intcount()Required - Number of selected nodes using the distribution flavor and file type.booleanfinal Stringflavor()Type of OpenSearch distribution.inthashCode()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 voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringtype()Required - File type (such astarorzip) used for the distribution package.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 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
Type of OpenSearch 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
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<NodePackagingType.Builder,NodePackagingType> - Returns:
- a new builder instance.
-
builder
-
setupNodePackagingTypeDeserializer
protected static void setupNodePackagingTypeDeserializer(ObjectDeserializer<NodePackagingType.Builder> op) -
hashCode
public int hashCode() -
equals
-