Class AutoscalingResources
java.lang.Object
co.elastic.clients.elasticsearch.autoscaling.get_autoscaling_capacity.AutoscalingResources
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AutoscalingResources>Json deserializer forAutoscalingResources -
Method Summary
Modifier and TypeMethodDescriptionfinal intmemory()Required - API name:memorystatic AutoscalingResourcesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal intstorage()Required - API name:storagetoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forAutoscalingResources
-
-
Method Details
-
of
public static AutoscalingResources of(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
-
toString
-
setupAutoscalingResourcesDeserializer
protected static void setupAutoscalingResourcesDeserializer(ObjectDeserializer<AutoscalingResources.Builder> op)
-