Interface GetPromptRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRequest.Builder,Buildable,CopyableBuilder<GetPromptRequest.Builder,,GetPromptRequest> SdkBuilder<GetPromptRequest.Builder,,GetPromptRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetPromptRequest
public static interface GetPromptRequest.Builder
extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<GetPromptRequest.Builder,GetPromptRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.promptIdentifier(String promptIdentifier) The unique identifier of the prompt.promptVersion(String promptVersion) The version of the prompt about which you want to retrieve information.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, sdkFields
-
Method Details
-
promptIdentifier
The unique identifier of the prompt.
- Parameters:
promptIdentifier- The unique identifier of the prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
promptVersion
The version of the prompt about which you want to retrieve information. Omit this field to return information about the working draft of the prompt.
- Parameters:
promptVersion- The version of the prompt about which you want to retrieve information. Omit this field to return information about the working draft of the prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetPromptRequest.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
GetPromptRequest.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.
-