Class DeleteAutoscalingPolicyRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.autoscaling.DeleteAutoscalingPolicyRequest
Delete an autoscaling policy.
NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionEndpoint "autoscaling.delete_autoscaling_policy". -
Method Summary
Modifier and TypeMethodDescriptionfinal TimePeriod to wait for a connection to the master node.final Stringname()Required - Name of the autoscaling policyof(Function<DeleteAutoscalingPolicyRequest.Builder, ObjectBuilder<DeleteAutoscalingPolicyRequest>> fn) rebuild()final Timetimeout()Period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<DeleteAutoscalingPolicyRequest,DeleteAutoscalingPolicyResponse, _ENDPOINTErrorResponse> Endpoint "autoscaling.delete_autoscaling_policy".
-
-
Method Details
-
of
-
masterTimeout
Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout -
name
Required - Name of the autoscaling policyAPI name:
name -
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout -
rebuild
- Returns:
- New
DeleteAutoscalingPolicyRequest.Builderinitialized with field values of this instance
-