Interface GetPromptRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRequest.Builder,Buildable,CopyableBuilder<GetPromptRequest.Builder,,GetPromptRequest> SdkBuilder<GetPromptRequest.Builder,,GetPromptRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetPromptRequest
@Mutable
@NotThreadSafe
public static interface GetPromptRequest.Builder
extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<GetPromptRequest.Builder,GetPromptRequest>
-
Method Summary
Modifier and TypeMethodDescriptionincludedData(String includedData) Controls the scope of data returned.includedData(IncludedData includedData) Controls the scope of data returned.overrideConfiguration(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, sdkFieldNameToField, 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.
-
includedData
Controls the scope of data returned. Set to
METADATA_ONLYto return only resource metadata. Set toALL_DATAor omit this field to return the full response.- Parameters:
includedData- Controls the scope of data returned. Set toMETADATA_ONLYto return only resource metadata. Set toALL_DATAor omit this field to return the full response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
includedData
Controls the scope of data returned. Set to
METADATA_ONLYto return only resource metadata. Set toALL_DATAor omit this field to return the full response.- Parameters:
includedData- Controls the scope of data returned. Set toMETADATA_ONLYto return only resource metadata. Set toALL_DATAor omit this field to return the full response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-