Interface ReturnControlPayload.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ReturnControlPayload.Builder,,ReturnControlPayload> SdkBuilder<ReturnControlPayload.Builder,,ReturnControlPayload> SdkPojo
- All Known Subinterfaces:
DefaultReturnControl.Builder
- All Known Implementing Classes:
ReturnControlPayload.BuilderImpl
- Enclosing class:
- ReturnControlPayload
-
Method Summary
Modifier and TypeMethodDescriptioninvocationId(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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
invocationId
The identifier of the action group invocation.
- Parameters:
invocationId- The identifier of the action group invocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- 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
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.
- 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
ReturnControlPayload.Builder 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.
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 toinvocationInputs(List<InvocationInputMember>).- 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:
-