Class AutoscalingNode
java.lang.Object
co.elastic.clients.elasticsearch.autoscaling.get_autoscaling_capacity.AutoscalingNode
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class AutoscalingNode extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AutoscalingNode.Builder
Builder forAutoscalingNode
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AutoscalingNode>
_DESERIALIZER
Json deserializer forAutoscalingNode
-
Method Summary
Modifier and Type Method Description java.lang.String
name()
Required - API name:name
static AutoscalingNode
of(java.util.function.Function<AutoscalingNode.Builder,ObjectBuilder<AutoscalingNode>> fn)
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
setupAutoscalingNodeDeserializer(ObjectDeserializer<AutoscalingNode.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forAutoscalingNode
-
-
Method Details
-
of
public static AutoscalingNode of(java.util.function.Function<AutoscalingNode.Builder,ObjectBuilder<AutoscalingNode>> fn) -
name
public final java.lang.String name()Required - API name:name
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupAutoscalingNodeDeserializer
protected static void setupAutoscalingNodeDeserializer(ObjectDeserializer<AutoscalingNode.Builder> op)
-