Class AutoscalingResources
java.lang.Object
co.elastic.clients.elasticsearch.autoscaling.get_autoscaling_capacity.AutoscalingResources
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class AutoscalingResources extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAutoscalingResources.BuilderBuilder forAutoscalingResources. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AutoscalingResources>_DESERIALIZERJson deserializer forAutoscalingResources -
Method Summary
Modifier and Type Method Description intmemory()Required - API name:memorystatic AutoscalingResourcesof(java.util.function.Function<AutoscalingResources.Builder,ObjectBuilder<AutoscalingResources>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupAutoscalingResourcesDeserializer(ObjectDeserializer<AutoscalingResources.Builder> op)intstorage()Required - API name:storageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forAutoscalingResources
-
-
Method Details
-
of
public static AutoscalingResources of(java.util.function.Function<AutoscalingResources.Builder,ObjectBuilder<AutoscalingResources>> fn) -
storage
public final int storage()Required - API name:storage -
memory
public final int memory()Required - API name:memory -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupAutoscalingResourcesDeserializer
protected static void setupAutoscalingResourcesDeserializer(ObjectDeserializer<AutoscalingResources.Builder> op)
-