Interface CreateRetrievalInstructionVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRequest.Builder,Buildable,CopyableBuilder<CreateRetrievalInstructionVersionRequest.Builder,,CreateRetrievalInstructionVersionRequest> SdkBuilder<CreateRetrievalInstructionVersionRequest.Builder,,CreateRetrievalInstructionVersionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRetrievalInstructionVersionRequest
@Mutable
@NotThreadSafe
public static interface CreateRetrievalInstructionVersionRequest.Builder
extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<CreateRetrievalInstructionVersionRequest.Builder,CreateRetrievalInstructionVersionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A caller-supplied token that makes a retried call return the version created by the first call rather than a second version.description(String description) A description of this version.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.retrievalInstructionId(String retrievalInstructionId) The identifier of the retrieval instruction to version.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentRequest.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
-
retrievalInstructionId
CreateRetrievalInstructionVersionRequest.Builder retrievalInstructionId(String retrievalInstructionId) The identifier of the retrieval instruction to version.
- Parameters:
retrievalInstructionId- The identifier of the retrieval instruction to version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of this version. Independent of the retrieval instruction's own description.
- Parameters:
description- A description of this version. Independent of the retrieval instruction's own description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A caller-supplied token that makes a retried call return the version created by the first call rather than a second version. The window is 8 hours.
- Parameters:
clientToken- A caller-supplied token that makes a retried call return the version created by the first call rather than a second version. The window is 8 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateRetrievalInstructionVersionRequest.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
CreateRetrievalInstructionVersionRequest.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.
-