Interface CreateInvocationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentRuntimeRequest.Builder
,Buildable
,CopyableBuilder<CreateInvocationRequest.Builder,
,CreateInvocationRequest> SdkBuilder<CreateInvocationRequest.Builder,
,CreateInvocationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateInvocationRequest
@Mutable
@NotThreadSafe
public static interface CreateInvocationRequest.Builder
extends BedrockAgentRuntimeRequest.Builder, SdkPojo, CopyableBuilder<CreateInvocationRequest.Builder,CreateInvocationRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description for the interactions in the invocation.invocationId
(String invocationId) A unique identifier for the invocation in UUID format.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sessionIdentifier
(String sessionIdentifier) The unique identifier for the associated session for the invocation.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
-
description
A description for the interactions in the invocation. For example, "User asking about weather in Seattle".
- Parameters:
description
- A description for the interactions in the invocation. For example, "User asking about weather in Seattle".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationId
A unique identifier for the invocation in UUID format.
- Parameters:
invocationId
- A unique identifier for the invocation in UUID format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionIdentifier
The unique identifier for the associated session for the invocation. You can specify either the session's
sessionId
or its Amazon Resource Name (ARN).- Parameters:
sessionIdentifier
- The unique identifier for the associated session for the invocation. 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
CreateInvocationRequest.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
CreateInvocationRequest.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.
-