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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetAutoscalingPolicyRequest.Required - the name of the autoscaling policyprotected GetAutoscalingPolicyRequest.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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:
selfin classRequestBase.AbstractBuilder<GetAutoscalingPolicyRequest.Builder>
-
build
Builds aGetAutoscalingPolicyRequest.- Specified by:
buildin interfaceObjectBuilder<GetAutoscalingPolicyRequest>- Throws:
NullPointerException- if some of the required fields are null.
-