Interface SyntheticCustomerPersona.Builder

  • Method Details

    • name

      The name of the persona.

      Parameters:
      name - The name of the persona.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • communicationStyle

      SyntheticCustomerPersona.Builder communicationStyle(String communicationStyle)

      How the synthetic customer communicates.

      Parameters:
      communicationStyle - How the synthetic customer communicates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • communicationStyle

      SyntheticCustomerPersona.Builder communicationStyle(PersonaCommunicationStyle communicationStyle)

      How the synthetic customer communicates.

      Parameters:
      communicationStyle - How the synthetic customer communicates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • language

      The language that the synthetic customer uses, for example en-US.

      Parameters:
      language - The language that the synthetic customer uses, for example en-US.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • voice

      The Amazon Polly voice for the synthetic customer, for example Joanna.

      Parameters:
      voice - The Amazon Polly voice for the synthetic customer, for example Joanna.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • voiceEngine

      SyntheticCustomerPersona.Builder voiceEngine(String voiceEngine)

      The Amazon Polly engine that synthesizes the speech of the synthetic customer. Choose an engine that the selected Voice supports. If you don't specify an engine, Amazon Polly uses the standard engine.

      Parameters:
      voiceEngine - The Amazon Polly engine that synthesizes the speech of the synthetic customer. Choose an engine that the selected Voice supports. If you don't specify an engine, Amazon Polly uses the standard engine.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • voiceEngine

      The Amazon Polly engine that synthesizes the speech of the synthetic customer. Choose an engine that the selected Voice supports. If you don't specify an engine, Amazon Polly uses the standard engine.

      Parameters:
      voiceEngine - The Amazon Polly engine that synthesizes the speech of the synthetic customer. Choose an engine that the selected Voice supports. If you don't specify an engine, Amazon Polly uses the standard engine.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • domainKnowledge

      SyntheticCustomerPersona.Builder domainKnowledge(String domainKnowledge)

      The background knowledge that the synthetic customer brings to the conversation.

      Parameters:
      domainKnowledge - The background knowledge that the synthetic customer brings to the conversation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • emotionalState

      SyntheticCustomerPersona.Builder emotionalState(String emotionalState)

      How the synthetic customer feels during the conversation.

      Parameters:
      emotionalState - How the synthetic customer feels during the conversation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • emotionalState

      How the synthetic customer feels during the conversation.

      Parameters:
      emotionalState - How the synthetic customer feels during the conversation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cooperativeness

      SyntheticCustomerPersona.Builder cooperativeness(String cooperativeness)

      How cooperative the synthetic customer is.

      Parameters:
      cooperativeness - How cooperative the synthetic customer is.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cooperativeness

      SyntheticCustomerPersona.Builder cooperativeness(PersonaCooperativeness cooperativeness)

      How cooperative the synthetic customer is.

      Parameters:
      cooperativeness - How cooperative the synthetic customer is.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: