Class SyntheticCustomerPersona
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SyntheticCustomerPersona.Builder,SyntheticCustomerPersona>
Defines who the synthetic customer is, including how they communicate, what they know, and how they behave.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()How the synthetic customer communicates.final StringHow the synthetic customer communicates.final PersonaCooperativenessHow cooperative the synthetic customer is.final StringHow cooperative the synthetic customer is.final StringThe background knowledge that the synthetic customer brings to the conversation.final PersonaEmotionalStateHow the synthetic customer feels during the conversation.final StringHow the synthetic customer feels during the conversation.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringlanguage()The language that the synthetic customer uses, for exampleen-US.final Stringname()The name of the persona.static Class<? extends SyntheticCustomerPersona.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Stringvoice()The Amazon Polly voice for the synthetic customer, for exampleJoanna.final PersonaVoiceEngineThe Amazon Polly engine that synthesizes the speech of the synthetic customer.final StringThe Amazon Polly engine that synthesizes the speech of the synthetic customer.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
-
communicationStyle
How the synthetic customer communicates.
If the service returns an enum value that is not available in the current SDK version,
communicationStylewill returnPersonaCommunicationStyle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcommunicationStyleAsString().- Returns:
- How the synthetic customer communicates.
- See Also:
-
communicationStyleAsString
How the synthetic customer communicates.
If the service returns an enum value that is not available in the current SDK version,
communicationStylewill returnPersonaCommunicationStyle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcommunicationStyleAsString().- Returns:
- How the synthetic customer communicates.
- See Also:
-
language
The language that the synthetic customer uses, for example
en-US.- Returns:
- The language that the synthetic customer uses, for example
en-US.
-
voice
The Amazon Polly voice for the synthetic customer, for example
Joanna.- Returns:
- The Amazon Polly voice for the synthetic customer, for example
Joanna.
-
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.If the service returns an enum value that is not available in the current SDK version,
voiceEnginewill returnPersonaVoiceEngine.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvoiceEngineAsString().- Returns:
- 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. - See Also:
-
voiceEngineAsString
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.If the service returns an enum value that is not available in the current SDK version,
voiceEnginewill returnPersonaVoiceEngine.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvoiceEngineAsString().- Returns:
- 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. - See Also:
-
domainKnowledge
The background knowledge that the synthetic customer brings to the conversation.
- Returns:
- The background knowledge that the synthetic customer brings to the conversation.
-
emotionalState
How the synthetic customer feels during the conversation.
If the service returns an enum value that is not available in the current SDK version,
emotionalStatewill returnPersonaEmotionalState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromemotionalStateAsString().- Returns:
- How the synthetic customer feels during the conversation.
- See Also:
-
emotionalStateAsString
How the synthetic customer feels during the conversation.
If the service returns an enum value that is not available in the current SDK version,
emotionalStatewill returnPersonaEmotionalState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromemotionalStateAsString().- Returns:
- How the synthetic customer feels during the conversation.
- See Also:
-
cooperativeness
How cooperative the synthetic customer is.
If the service returns an enum value that is not available in the current SDK version,
cooperativenesswill returnPersonaCooperativeness.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcooperativenessAsString().- Returns:
- How cooperative the synthetic customer is.
- See Also:
-
cooperativenessAsString
How cooperative the synthetic customer is.
If the service returns an enum value that is not available in the current SDK version,
cooperativenesswill returnPersonaCooperativeness.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcooperativenessAsString().- Returns:
- How cooperative the synthetic customer is.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SyntheticCustomerPersona.Builder,SyntheticCustomerPersona> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-