Interface SyntheticCustomerPersona.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SyntheticCustomerPersona.Builder,,SyntheticCustomerPersona> SdkBuilder<SyntheticCustomerPersona.Builder,,SyntheticCustomerPersona> SdkPojo
- Enclosing class:
SyntheticCustomerPersona
-
Method Summary
Modifier and TypeMethodDescriptioncommunicationStyle(String communicationStyle) How the synthetic customer communicates.communicationStyle(PersonaCommunicationStyle communicationStyle) How the synthetic customer communicates.cooperativeness(String cooperativeness) How cooperative the synthetic customer is.cooperativeness(PersonaCooperativeness cooperativeness) How cooperative the synthetic customer is.domainKnowledge(String domainKnowledge) The background knowledge that the synthetic customer brings to the conversation.emotionalState(String emotionalState) How the synthetic customer feels during the conversation.emotionalState(PersonaEmotionalState emotionalState) How the synthetic customer feels during the conversation.The language that the synthetic customer uses, for exampleen-US.The name of the persona.The Amazon Polly voice for the synthetic customer, for exampleJoanna.voiceEngine(String voiceEngine) The Amazon Polly engine that synthesizes the speech of the synthetic customer.voiceEngine(PersonaVoiceEngine voiceEngine) The Amazon Polly engine that synthesizes the speech of the synthetic customer.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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
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 exampleen-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 exampleJoanna.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceEngine
The Amazon Polly engine that synthesizes the speech of the synthetic customer. Choose an engine that the selected
Voicesupports. 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 selectedVoicesupports. 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
Voicesupports. 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 selectedVoicesupports. 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
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
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
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
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:
-