Class GetAutoscalingPolicyResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.autoscaling.AutoscalingPolicy.AbstractBuilder<GetAutoscalingPolicyResponse.Builder>
co.elastic.clients.elasticsearch.autoscaling.GetAutoscalingPolicyResponse.Builder
- All Implemented Interfaces:
WithJson<GetAutoscalingPolicyResponse.Builder>
,ObjectBuilder<GetAutoscalingPolicyResponse>
- Enclosing class:
- GetAutoscalingPolicyResponse
public static class GetAutoscalingPolicyResponse.Builder
extends AutoscalingPolicy.AbstractBuilder<GetAutoscalingPolicyResponse.Builder>
implements ObjectBuilder<GetAutoscalingPolicyResponse>
Builder for
GetAutoscalingPolicyResponse
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aGetAutoscalingPolicyResponse
.protected GetAutoscalingPolicyResponse.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch.autoscaling.AutoscalingPolicy.AbstractBuilder
deciders, deciders, roles, roles
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
-
self
- Specified by:
self
in classAutoscalingPolicy.AbstractBuilder<GetAutoscalingPolicyResponse.Builder>
-
build
Builds aGetAutoscalingPolicyResponse
.- Specified by:
build
in interfaceObjectBuilder<GetAutoscalingPolicyResponse>
- Throws:
NullPointerException
- if some of the required fields are null.
-