Interface ListPromptsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, BedrockAgentRequest.Builder, Buildable, CopyableBuilder<ListPromptsRequest.Builder,ListPromptsRequest>, SdkBuilder<ListPromptsRequest.Builder,ListPromptsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListPromptsRequest

  • Method Details

    • promptIdentifier

      ListPromptsRequest.Builder promptIdentifier(String 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.

      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.
    • maxResults

      ListPromptsRequest.Builder maxResults(Integer 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 nextToken field 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 nextToken field 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.
    • nextToken

      ListPromptsRequest.Builder nextToken(String nextToken)

      If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field 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 maxResults value provided in the request, enter the token returned in the nextToken field 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.
    • overrideConfiguration

      ListPromptsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
    • overrideConfiguration

      Specified by:
      overrideConfiguration in interface AwsRequest.Builder