Class ExecutionResultInput.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ExecutionResultInput.Builder>
co.elastic.clients.elasticsearch.watcher.ExecutionResultInput.Builder
- All Implemented Interfaces:
WithJson<ExecutionResultInput.Builder>,ObjectBuilder<ExecutionResultInput>
- Enclosing class:
- ExecutionResultInput
public static class ExecutionResultInput.Builder
extends WithJsonObjectBuilderBase<ExecutionResultInput.Builder>
implements ObjectBuilder<ExecutionResultInput>
Builder for
ExecutionResultInput.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aExecutionResultInput.chain(String key, ExecutionResultInput value) The result of each named input, present when the input is a chain input.The result of each named input, present when the input is a chain input.chain(Map<String, ExecutionResultInput> map) The result of each named input, present when the input is a chain input.error(ErrorCause value) API name:errorAPI name:errorhttp(ExecutionResultHttpInput value) The resolved HTTP request, present when the input is an HTTP input.The resolved HTTP request, present when the input is an HTTP input.API name:payloadAPI name:payloadsearch(ExecutionResultSearchInput value) The resolved search request, present when the input is a search input.The resolved search request, present when the input is a search input.protected ExecutionResultInput.Builderself()status(ExecutionResultStatus value) Required - API name:statusRequired - API name:typeMethods 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
-
payload
API name:payloadAdds all entries of
maptopayload. -
payload
API name:payloadAdds an entry to
payload. -
status
Required - API name:status -
type
Required - API name:type -
search
The resolved search request, present when the input is a search input.API name:
search -
search
public final ExecutionResultInput.Builder search(Function<ExecutionResultSearchInput.Builder, ObjectBuilder<ExecutionResultSearchInput>> fn) The resolved search request, present when the input is a search input.API name:
search -
http
The resolved HTTP request, present when the input is an HTTP input.API name:
http -
http
public final ExecutionResultInput.Builder http(Function<ExecutionResultHttpInput.Builder, ObjectBuilder<ExecutionResultHttpInput>> fn) The resolved HTTP request, present when the input is an HTTP input.API name:
http -
chain
The result of each named input, present when the input is a chain input.API name:
chainAdds all entries of
maptochain. -
chain
The result of each named input, present when the input is a chain input.API name:
chainAdds an entry to
chain. -
chain
public final ExecutionResultInput.Builder chain(String key, Function<ExecutionResultInput.Builder, ObjectBuilder<ExecutionResultInput>> fn) The result of each named input, present when the input is a chain input.API name:
chainAdds an entry to
chainusing a builder lambda. -
error
API name:error -
error
public final ExecutionResultInput.Builder error(Function<ErrorCause.Builder, ObjectBuilder<ErrorCause>> fn) API name:error -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ExecutionResultInput.Builder>
-
build
Builds aExecutionResultInput.- Specified by:
buildin interfaceObjectBuilder<ExecutionResultInput>- Throws:
NullPointerException- if some of the required fields are null.
-