Interface ListPromptsRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- BedrockAgentRequest.Builder,- Buildable,- CopyableBuilder<ListPromptsRequest.Builder,,- ListPromptsRequest> - SdkBuilder<ListPromptsRequest.Builder,,- ListPromptsRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- ListPromptsRequest
@Mutable
@NotThreadSafe
public static interface ListPromptsRequest.Builder
extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<ListPromptsRequest.Builder,ListPromptsRequest> 
- 
Method SummaryModifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of results to return in the response.If the total number of results is greater than themaxResultsvalue provided in the request, enter the token returned in thenextTokenfield in the response in this field to return the next batch of results.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 for whose versions you want to return information.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
promptIdentifierThe unique identifier of the prompt for whose versions you want to return information. Omit this field to list information about all prompts in an account. - Parameters:
- promptIdentifier- The unique identifier of the prompt for whose versions you want to return information. Omit this field to list information about all prompts in an account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
maxResultsThe maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextTokenfield when making another request to return the next batch of results.- Parameters:
- maxResults- The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the- nextTokenfield when making another request to return the next batch of results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nextTokenIf the total number of results is greater than the maxResultsvalue provided in the request, enter the token returned in thenextTokenfield in the response in this field to return the next batch of results.- Parameters:
- nextToken- If the total number of results is greater than the- maxResultsvalue provided in the request, enter the token returned in the- nextTokenfield in the response in this field to return the next batch of results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationListPromptsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationListPromptsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-