Interface DescribeBotResourceGenerationResponse.Builder

    • Method Detail

      • botId

        DescribeBotResourceGenerationResponse.Builder botId​(String botId)

        The unique identifier of the bot for which the generation request was made.

        Parameters:
        botId - The unique identifier of the bot for which the generation request was made.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • botVersion

        DescribeBotResourceGenerationResponse.Builder botVersion​(String botVersion)

        The version of the bot for which the generation request was made.

        Parameters:
        botVersion - The version of the bot for which the generation request was made.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • localeId

        DescribeBotResourceGenerationResponse.Builder localeId​(String localeId)

        The locale of the bot for which the generation request was made.

        Parameters:
        localeId - The locale of the bot for which the generation request was made.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • generationId

        DescribeBotResourceGenerationResponse.Builder generationId​(String generationId)

        The generation ID for which to return the generation details.

        Parameters:
        generationId - The generation ID for which to return the generation details.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureReasons

        DescribeBotResourceGenerationResponse.Builder failureReasons​(Collection<String> failureReasons)

        A list of reasons why the generation of bot resources through natural language description failed.

        Parameters:
        failureReasons - A list of reasons why the generation of bot resources through natural language description failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureReasons

        DescribeBotResourceGenerationResponse.Builder failureReasons​(String... failureReasons)

        A list of reasons why the generation of bot resources through natural language description failed.

        Parameters:
        failureReasons - A list of reasons why the generation of bot resources through natural language description failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • generationInputPrompt

        DescribeBotResourceGenerationResponse.Builder generationInputPrompt​(String generationInputPrompt)

        The prompt used in the generation request.

        Parameters:
        generationInputPrompt - The prompt used in the generation request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • generatedBotLocaleUrl

        DescribeBotResourceGenerationResponse.Builder generatedBotLocaleUrl​(String generatedBotLocaleUrl)

        The Amazon S3 location of the generated bot locale configuration.

        Parameters:
        generatedBotLocaleUrl - The Amazon S3 location of the generated bot locale configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDateTime

        DescribeBotResourceGenerationResponse.Builder creationDateTime​(Instant creationDateTime)

        The date and time at which the item was generated.

        Parameters:
        creationDateTime - The date and time at which the item was generated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • modelArn

        DescribeBotResourceGenerationResponse.Builder modelArn​(String modelArn)

        The ARN of the model used to generate the bot resources.

        Parameters:
        modelArn - The ARN of the model used to generate the bot resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedDateTime

        DescribeBotResourceGenerationResponse.Builder lastUpdatedDateTime​(Instant lastUpdatedDateTime)

        The date and time at which the generated item was updated.

        Parameters:
        lastUpdatedDateTime - The date and time at which the generated item was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.