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
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description GetAutoscalingPolicyRequest
build()
Builds aGetAutoscalingPolicyRequest
.GetAutoscalingPolicyRequest.Builder
name(java.lang.String value)
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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:
java.lang.NullPointerException
- if some of the required fields are null.
-