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
public static interface ReturnControlPayload.Builder extends SdkPojo, CopyableBuilder<ReturnControlPayload.Builder,ReturnControlPayload>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReturnControlPayload.BuilderinvocationId(String invocationId)The identifier of the action group invocation.ReturnControlPayload.BuilderinvocationInputs(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.ReturnControlPayload.BuilderinvocationInputs(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.ReturnControlPayload.BuilderinvocationInputs(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
invocationId
ReturnControlPayload.Builder invocationId(String 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
ReturnControlPayload.Builder 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.
- 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(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.
- 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 to#invocationInputs(List.) - 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:
#invocationInputs(java.util.Collection)
-
-