Class AgenticContextResponseProcessor.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.search_pipeline.AgenticContextResponseProcessor.Builder
- All Implemented Interfaces:
CopyableBuilder<AgenticContextResponseProcessor.Builder,,AgenticContextResponseProcessor> MutableBuilder<AgenticContextResponseProcessor.Builder,,AgenticContextResponseProcessor> ObjectBuilder<AgenticContextResponseProcessor>
- Enclosing class:
AgenticContextResponseProcessor
public static class AgenticContextResponseProcessor.Builder
extends ObjectBuilderBase
implements CopyableBuilder<AgenticContextResponseProcessor.Builder,AgenticContextResponseProcessor>
Builder for
AgenticContextResponseProcessor.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentStepsSummary(Boolean value) Whether to include the agent's execution step summary in the response.build()Builds aAgenticContextResponseProcessor.copy()Create a new builderCopyableBuilderthat is a copy of this one.description(String value) API name:descriptionWhether to include the generated DSL query in the response.ignoreFailure(Boolean value) API name:ignore_failureAPI name:tagMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<AgenticContextResponseProcessor.Builder,AgenticContextResponseProcessor> - Returns:
- a new builder instance.
-
agentStepsSummary
@Nonnull public final AgenticContextResponseProcessor.Builder agentStepsSummary(@Nullable Boolean value) Whether to include the agent's execution step summary in the response. Available for conversational agents only.API name:
agent_steps_summary -
description
API name:description -
dslQuery
Whether to include the generated DSL query in the response. Available for both conversational and flow agents.API name:
dsl_query -
ignoreFailure
@Nonnull public final AgenticContextResponseProcessor.Builder ignoreFailure(@Nullable Boolean value) API name:ignore_failure -
tag
API name:tag -
build
Builds aAgenticContextResponseProcessor.- Specified by:
buildin interfaceObjectBuilder<AgenticContextResponseProcessor>- Throws:
NullPointerException- if some of the required fields are null.
-