Class GetAutoscalingPolicyRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetAutoscalingPolicyRequest.Builder>
co.elastic.clients.elasticsearch.autoscaling.GetAutoscalingPolicyRequest.Builder
- All Implemented Interfaces:
WithJson<GetAutoscalingPolicyRequest.Builder>
,ObjectBuilder<GetAutoscalingPolicyRequest>
- Enclosing class:
- GetAutoscalingPolicyRequest
public static class GetAutoscalingPolicyRequest.Builder
extends RequestBase.AbstractBuilder<GetAutoscalingPolicyRequest.Builder>
implements ObjectBuilder<GetAutoscalingPolicyRequest>
Builder for
GetAutoscalingPolicyRequest
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aGetAutoscalingPolicyRequest
.Required - the name of the autoscaling policyprotected GetAutoscalingPolicyRequest.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Required - the name of the autoscaling policyAPI name:
name
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<GetAutoscalingPolicyRequest.Builder>
-
build
Builds aGetAutoscalingPolicyRequest
.- Specified by:
build
in interfaceObjectBuilder<GetAutoscalingPolicyRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-