Class SpeakerPrompt

All Implemented Interfaces:

public class SpeakerPrompt
A prompt that a speaker has defined for a custom model.
  • Constructor Details

    • SpeakerPrompt

      public SpeakerPrompt()
  • Method Details

    • getPrompt

      public String getPrompt()
      Gets the prompt.

      The user-specified text of the prompt.

      the prompt
    • getPromptId

      public String getPromptId()
      Gets the promptId.

      The user-specified identifier (name) of the prompt.

      the promptId
    • getStatus

      public String getStatus()
      Gets the status.

      The status of the prompt: * `processing`: The service received the request to add the prompt and is analyzing the validity of the prompt. * `available`: The service successfully validated the prompt, which is now ready for use in a speech synthesis request. * `failed`: The service's validation of the prompt failed. The status of the prompt includes an `error` field that describes the reason for the failure.

      the status
    • getError

      public String getError()
      Gets the error.

      If the status of the prompt is `failed`, an error message that describes the reason for the failure. The field is omitted if no error occurred.

      the error