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.Builder
payload
(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
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 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.Builder
avoiding the need to create one manually viaInvocationStepPayload.builder()
.When the
Consumer
completes,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
sessionId
or 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'ssessionId
or 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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-