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
Modifier and TypeMethodDescriptioninvocationIdentifier(String invocationIdentifier) The unique identifier (in UUID format) of the invocation to add the invocation step to.invocationStepId(String invocationStepId) The unique identifier of the invocation step in UUID format.invocationStepTime(Instant invocationStepTime) The timestamp for when the invocation step occurred.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) default PutInvocationStepRequest.Builderpayload(Consumer<InvocationStepPayload.Builder> payload) The payload for the invocation step, including text and images for the interaction.payload(InvocationStepPayload payload) The payload for the invocation step, including text and images for the interaction.sessionIdentifier(String sessionIdentifier) The unique identifier for the session to add the invocation step to.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.BedrockAgentRuntimeRequest.Builder
buildMethods 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
-
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
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
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
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
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:
-
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
-