Class GetAutoscalingPolicyResponse.Builder
java.lang.Object
co.elastic.clients.elasticsearch.autoscaling.GetAutoscalingPolicyResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<GetAutoscalingPolicyResponse>
- Enclosing class:
- GetAutoscalingPolicyResponse
public static class GetAutoscalingPolicyResponse.Builder extends java.lang.Object implements ObjectBuilder<GetAutoscalingPolicyResponse>
Builder for
GetAutoscalingPolicyResponse
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description GetAutoscalingPolicyResponse
build()
Builds aGetAutoscalingPolicyResponse
.GetAutoscalingPolicyResponse.Builder
valueBody(AutoscalingPolicy value)
Required - Response value.GetAutoscalingPolicyResponse.Builder
valueBody(java.util.function.Function<AutoscalingPolicy.Builder,ObjectBuilder<AutoscalingPolicy>> fn)
Required - Response value.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
-
valueBody
Required - Response value.API name:
_value_body
-
valueBody
public GetAutoscalingPolicyResponse.Builder valueBody(java.util.function.Function<AutoscalingPolicy.Builder,ObjectBuilder<AutoscalingPolicy>> fn)Required - Response value.API name:
_value_body
-
build
Builds aGetAutoscalingPolicyResponse
.- Specified by:
build
in interfaceObjectBuilder<GetAutoscalingPolicyResponse>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-