Class InlineAgentReturnControlPayload.BuilderImpl
- All Implemented Interfaces:
SdkPojo,InlineAgentReturnControlPayload.Builder,Buildable,CopyableBuilder<InlineAgentReturnControlPayload.Builder,,InlineAgentReturnControlPayload> SdkBuilder<InlineAgentReturnControlPayload.Builder,InlineAgentReturnControlPayload>
- Enclosing class:
- InlineAgentReturnControlPayload
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()final StringinvocationId(String invocationId) The identifier of the action group invocation.invocationInputs(Collection<InvocationInputMember> invocationInputs) A list of objects that contain information about the parameters and inputs that need to be sent into the API operation or function, based on what the agent determines from its session with the user.invocationInputs(Consumer<InvocationInputMember.Builder>... invocationInputs) A list of objects that contain information about the parameters and inputs that need to be sent into the API operation or function, based on what the agent determines from its session with the user.invocationInputs(InvocationInputMember... invocationInputs) A list of objects that contain information about the parameters and inputs that need to be sent into the API operation or function, based on what the agent determines from its session with the user.final voidsetInvocationId(String invocationId) final voidsetInvocationInputs(Collection<software.amazon.awssdk.services.bedrockagentruntime.model.InvocationInputMember.BuilderImpl> invocationInputs) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutationMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
-
Constructor Details
-
BuilderImpl
protected BuilderImpl() -
BuilderImpl
-
-
Method Details
-
getInvocationId
-
setInvocationId
-
invocationId
Description copied from interface:InlineAgentReturnControlPayload.BuilderThe identifier of the action group invocation.
- Specified by:
invocationIdin interfaceInlineAgentReturnControlPayload.Builder- Parameters:
invocationId- The identifier of the action group invocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getInvocationInputs
-
setInvocationInputs
public final void setInvocationInputs(Collection<software.amazon.awssdk.services.bedrockagentruntime.model.InvocationInputMember.BuilderImpl> invocationInputs) -
invocationInputs
public final InlineAgentReturnControlPayload.Builder invocationInputs(Collection<InvocationInputMember> invocationInputs) Description copied from interface:InlineAgentReturnControlPayload.BuilderA list of objects that contain information about the parameters and inputs that need to be sent into the API operation or function, based on what the agent determines from its session with the user.
- Specified by:
invocationInputsin interfaceInlineAgentReturnControlPayload.Builder- Parameters:
invocationInputs- A list of objects that contain information about the parameters and inputs that need to be sent into the API operation or function, based on what the agent determines from its session with the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationInputs
@SafeVarargs public final InlineAgentReturnControlPayload.Builder invocationInputs(InvocationInputMember... invocationInputs) Description copied from interface:InlineAgentReturnControlPayload.BuilderA list of objects that contain information about the parameters and inputs that need to be sent into the API operation or function, based on what the agent determines from its session with the user.
- Specified by:
invocationInputsin interfaceInlineAgentReturnControlPayload.Builder- Parameters:
invocationInputs- A list of objects that contain information about the parameters and inputs that need to be sent into the API operation or function, based on what the agent determines from its session with the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationInputs
@SafeVarargs public final InlineAgentReturnControlPayload.Builder invocationInputs(Consumer<InvocationInputMember.Builder>... invocationInputs) Description copied from interface:InlineAgentReturnControlPayload.BuilderA list of objects that contain information about the parameters and inputs that need to be sent into the API operation or function, based on what the agent determines from its session with the user.
This is a convenience method that creates an instance of theInvocationInputMember.Builderavoiding the need to create one manually viaInvocationInputMember.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toInlineAgentReturnControlPayload.Builder.invocationInputs(List<InvocationInputMember>).- Specified by:
invocationInputsin interfaceInlineAgentReturnControlPayload.Builder- Parameters:
invocationInputs- a consumer that will call methods onInvocationInputMember.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
build
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<InlineAgentReturnControlPayload.Builder,InlineAgentReturnControlPayload>
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-