Class AutoscalingPolicy
java.lang.Object
co.elastic.clients.elasticsearch.autoscaling.AutoscalingPolicy
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
GetAutoscalingPolicyResponse
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<AutoscalingPolicy>
Json deserializer forAutoscalingPolicy
-
Constructor Summary
ModifierConstructorDescriptionprotected
AutoscalingPolicy
(AutoscalingPolicy.AbstractBuilder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionstatic AutoscalingPolicy
deciders()
Required - Decider settingsroles()
Required - API name:roles
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 <BuilderT extends AutoscalingPolicy.AbstractBuilder<BuilderT>>
voidsetupAutoscalingPolicyDeserializer
(ObjectDeserializer<BuilderT> op) toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forAutoscalingPolicy
-
-
Constructor Details
-
AutoscalingPolicy
-
-
Method Details
-
autoscalingPolicyOf
public static AutoscalingPolicy autoscalingPolicyOf(Function<AutoscalingPolicy.Builder, ObjectBuilder<AutoscalingPolicy>> fn) -
roles
Required - API name:roles
-
deciders
Required - Decider settingsAPI name:
deciders
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupAutoscalingPolicyDeserializer
protected static <BuilderT extends AutoscalingPolicy.AbstractBuilder<BuilderT>> void setupAutoscalingPolicyDeserializer(ObjectDeserializer<BuilderT> op)
-