Interface CreatePromptVersionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRequest.Builder,Buildable,CopyableBuilder<CreatePromptVersionRequest.Builder,CreatePromptVersionRequest>,SdkBuilder<CreatePromptVersionRequest.Builder,CreatePromptVersionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreatePromptVersionRequest
public static interface CreatePromptVersionRequest.Builder extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<CreatePromptVersionRequest.Builder,CreatePromptVersionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreatePromptVersionRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier to ensure that the API request completes no more than one time.CreatePromptVersionRequest.Builderdescription(String description)A description for the version of the prompt.CreatePromptVersionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreatePromptVersionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreatePromptVersionRequest.BuilderpromptIdentifier(String promptIdentifier)The unique identifier of the prompt that you want to create a version of.CreatePromptVersionRequest.Buildertags(Map<String,String> tags)Any tags that you want to attach to the version of the prompt.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentRequest.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, sdkFields
-
-
-
-
Method Detail
-
clientToken
CreatePromptVersionRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreatePromptVersionRequest.Builder description(String description)
A description for the version of the prompt.
- Parameters:
description- A description for the version of the prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
promptIdentifier
CreatePromptVersionRequest.Builder promptIdentifier(String promptIdentifier)
The unique identifier of the prompt that you want to create a version of.
- Parameters:
promptIdentifier- The unique identifier of the prompt that you want to create a version of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreatePromptVersionRequest.Builder tags(Map<String,String> tags)
Any tags that you want to attach to the version of the prompt. For more information, see Tagging resources in Amazon Bedrock.
- Parameters:
tags- Any tags that you want to attach to the version of the prompt. For more information, see Tagging resources in Amazon Bedrock.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreatePromptVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreatePromptVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-