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) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
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.
-
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.
-
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:
-
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.
-
overrideConfiguration
PutInvocationStepRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutInvocationStepRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-