Class GetAutoscalingPolicyRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.autoscaling.GetAutoscalingPolicyRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetAutoscalingPolicyRequest>
- Enclosing class:
- GetAutoscalingPolicyRequest
public static class GetAutoscalingPolicyRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<GetAutoscalingPolicyRequest>
Builder for
GetAutoscalingPolicyRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetAutoscalingPolicyRequestbuild()Builds aGetAutoscalingPolicyRequest.GetAutoscalingPolicyRequest.Buildername(java.lang.String value)Required - the name of the autoscaling policyMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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 -
build
Builds aGetAutoscalingPolicyRequest.- Specified by:
buildin interfaceObjectBuilder<GetAutoscalingPolicyRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-