Interface PutInvocationStepRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRuntimeRequest.Builder,Buildable,CopyableBuilder<PutInvocationStepRequest.Builder,PutInvocationStepRequest>,SdkBuilder<PutInvocationStepRequest.Builder,PutInvocationStepRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutInvocationStepRequest
@Mutable @NotThreadSafe public static interface PutInvocationStepRequest.Builder extends BedrockAgentRuntimeRequest.Builder, SdkPojo, CopyableBuilder<PutInvocationStepRequest.Builder,PutInvocationStepRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PutInvocationStepRequest.BuilderinvocationIdentifier(String invocationIdentifier)The unique identifier (in UUID format) of the invocation to add the invocation step to.PutInvocationStepRequest.BuilderinvocationStepId(String invocationStepId)The unique identifier of the invocation step in UUID format.PutInvocationStepRequest.BuilderinvocationStepTime(Instant invocationStepTime)The timestamp for when the invocation step occurred.PutInvocationStepRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutInvocationStepRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default PutInvocationStepRequest.Builderpayload(Consumer<InvocationStepPayload.Builder> payload)The payload for the invocation step, including text and images for the interaction.PutInvocationStepRequest.Builderpayload(InvocationStepPayload payload)The payload for the invocation step, including text and images for the interaction.PutInvocationStepRequest.BuildersessionIdentifier(String sessionIdentifier)The unique identifier for the session to add the invocation step to.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.BedrockAgentRuntimeRequest.Builder
build
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
invocationIdentifier
PutInvocationStepRequest.Builder invocationIdentifier(String invocationIdentifier)
The unique identifier (in UUID format) of the invocation to add the invocation step to.
- Parameters:
invocationIdentifier- The unique identifier (in UUID format) of the invocation to add the invocation step to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationStepId
PutInvocationStepRequest.Builder invocationStepId(String invocationStepId)
The unique identifier of the invocation step in UUID format.
- Parameters:
invocationStepId- The unique identifier of the invocation step in UUID format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationStepTime
PutInvocationStepRequest.Builder invocationStepTime(Instant invocationStepTime)
The timestamp for when the invocation step occurred.
- Parameters:
invocationStepTime- The timestamp for when the invocation step occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
PutInvocationStepRequest.Builder payload(InvocationStepPayload payload)
The payload for the invocation step, including text and images for the interaction.
- Parameters:
payload- The payload for the invocation step, including text and images for the interaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
default PutInvocationStepRequest.Builder payload(Consumer<InvocationStepPayload.Builder> payload)
The payload for the invocation step, including text and images for the interaction.
This is a convenience method that creates an instance of theInvocationStepPayload.Builderavoiding the need to create one manually viaInvocationStepPayload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topayload(InvocationStepPayload).- Parameters:
payload- a consumer that will call methods onInvocationStepPayload.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
payload(InvocationStepPayload)
-
sessionIdentifier
PutInvocationStepRequest.Builder sessionIdentifier(String sessionIdentifier)
The unique identifier for the session to add the invocation step to. You can specify either the session's
sessionIdor its Amazon Resource Name (ARN).- Parameters:
sessionIdentifier- The unique identifier for the session to add the invocation step to. You can specify either the session'ssessionIdor its Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutInvocationStepRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutInvocationStepRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-