Class GetPipelineResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.logstash.GetPipelineResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<GetPipelineResponse>
- Enclosing class:
- GetPipelineResponse
public static class GetPipelineResponse.Builder extends ObjectBuilderBase implements ObjectBuilder<GetPipelineResponse>
Builder for
GetPipelineResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetPipelineResponsebuild()Builds aGetPipelineResponse.GetPipelineResponse.BuildervalueBody(java.lang.String key, Pipeline value)Required - Response value.GetPipelineResponse.BuildervalueBody(java.lang.String key, java.util.function.Function<Pipeline.Builder,ObjectBuilder<Pipeline>> fn)Required - Response value.GetPipelineResponse.BuildervalueBody(java.util.Map<java.lang.String,Pipeline> map)Required - Response value.Methods 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
-
valueBody
Required - Response value.API name:
_value_bodyAdds all entries of
maptovalueBody. -
valueBody
Required - Response value.API name:
_value_bodyAdds an entry to
valueBody. -
valueBody
public final GetPipelineResponse.Builder valueBody(java.lang.String key, java.util.function.Function<Pipeline.Builder,ObjectBuilder<Pipeline>> fn)Required - Response value.API name:
_value_bodyAdds an entry to
valueBodyusing a builder lambda. -
build
Builds aGetPipelineResponse.- Specified by:
buildin interfaceObjectBuilder<GetPipelineResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-