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