Class ReturnControlPayload.BuilderImpl
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.ReturnControlPayload.BuilderImpl
-
- All Implemented Interfaces:
SdkPojo,ReturnControlPayload.Builder,Buildable,CopyableBuilder<ReturnControlPayload.Builder,ReturnControlPayload>,SdkBuilder<ReturnControlPayload.Builder,ReturnControlPayload>
- Enclosing class:
- ReturnControlPayload
protected static class ReturnControlPayload.BuilderImpl extends Object implements ReturnControlPayload.Builder
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilderImpl()protectedBuilderImpl(ReturnControlPayload model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReturnControlPayloadbuild()StringgetInvocationId()List<InvocationInputMember.Builder>getInvocationInputs()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.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()voidsetInvocationId(String invocationId)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, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
-
-
-
-
Constructor Detail
-
BuilderImpl
protected BuilderImpl()
-
BuilderImpl
protected BuilderImpl(ReturnControlPayload model)
-
-
Method Detail
-
getInvocationId
public final String getInvocationId()
-
setInvocationId
public final void setInvocationId(String invocationId)
-
invocationId
public final ReturnControlPayload.Builder invocationId(String invocationId)
Description copied from interface:ReturnControlPayload.BuilderThe identifier of the action group invocation.
- Specified by:
invocationIdin interfaceReturnControlPayload.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
public final List<InvocationInputMember.Builder> getInvocationInputs()
-
setInvocationInputs
public final void setInvocationInputs(Collection<software.amazon.awssdk.services.bedrockagentruntime.model.InvocationInputMember.BuilderImpl> invocationInputs)
-
invocationInputs
public final ReturnControlPayload.Builder invocationInputs(Collection<InvocationInputMember> invocationInputs)
Description copied from interface:ReturnControlPayload.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 interfaceReturnControlPayload.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 ReturnControlPayload.Builder invocationInputs(InvocationInputMember... invocationInputs)
Description copied from interface:ReturnControlPayload.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 interfaceReturnControlPayload.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 ReturnControlPayload.Builder invocationInputs(Consumer<InvocationInputMember.Builder>... invocationInputs)
Description copied from interface:ReturnControlPayload.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 to#invocationInputs(List.) - Specified by:
invocationInputsin interfaceReturnControlPayload.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:
#invocationInputs(java.util.Collection)
-
build
public ReturnControlPayload build()
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<ReturnControlPayload.Builder,ReturnControlPayload>
-
sdkFieldNameToField
public Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-