Class Rule
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Rule.Builder,Rule>
A rule is a set of criteria that you can specify to flag an attribute in your Call Analytics output. Rules define a Call Analytics category.
Rules can include these parameters: , , , and .
To learn more about Call Analytics rules and categories, see Creating categories for post-call transcriptions and Creating categories for real-time transcriptions.
To learn more about Call Analytics, see Analyzing call center audio with Call Analytics.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Rule.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.static RulefromInterruptionFilter(Consumer<InterruptionFilter.Builder> interruptionFilter) Create an instance of this class withinterruptionFilter()initialized to the given value.static RulefromInterruptionFilter(InterruptionFilter interruptionFilter) Create an instance of this class withinterruptionFilter()initialized to the given value.static RulefromNonTalkTimeFilter(Consumer<NonTalkTimeFilter.Builder> nonTalkTimeFilter) Create an instance of this class withnonTalkTimeFilter()initialized to the given value.static RulefromNonTalkTimeFilter(NonTalkTimeFilter nonTalkTimeFilter) Create an instance of this class withnonTalkTimeFilter()initialized to the given value.static RulefromSentimentFilter(Consumer<SentimentFilter.Builder> sentimentFilter) Create an instance of this class withsentimentFilter()initialized to the given value.static RulefromSentimentFilter(SentimentFilter sentimentFilter) Create an instance of this class withsentimentFilter()initialized to the given value.static RulefromTranscriptFilter(Consumer<TranscriptFilter.Builder> transcriptFilter) Create an instance of this class withtranscriptFilter()initialized to the given value.static RulefromTranscriptFilter(TranscriptFilter transcriptFilter) Create an instance of this class withtranscriptFilter()initialized to the given value.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InterruptionFilterFlag the presence or absence of interruptions in your Call Analytics transcription output.final NonTalkTimeFilterFlag the presence or absence of periods of silence in your Call Analytics transcription output.final SentimentFilterFlag the presence or absence of specific sentiments in your Call Analytics transcription output.static Class<? extends Rule.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 TranscriptFilterFlag the presence or absence of specific words or phrases in your Call Analytics transcription output.type()Retrieve an enum value representing which member of this object is populated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
nonTalkTimeFilter
Flag the presence or absence of periods of silence in your Call Analytics transcription output. Refer to for more detail.
- Returns:
- Flag the presence or absence of periods of silence in your Call Analytics transcription output. Refer to for more detail.
-
interruptionFilter
Flag the presence or absence of interruptions in your Call Analytics transcription output. Refer to for more detail.
- Returns:
- Flag the presence or absence of interruptions in your Call Analytics transcription output. Refer to for more detail.
-
transcriptFilter
Flag the presence or absence of specific words or phrases in your Call Analytics transcription output. Refer to for more detail.
- Returns:
- Flag the presence or absence of specific words or phrases in your Call Analytics transcription output. Refer to for more detail.
-
sentimentFilter
Flag the presence or absence of specific sentiments in your Call Analytics transcription output. Refer to for more detail.
- Returns:
- Flag the presence or absence of specific sentiments in your Call Analytics transcription output. Refer to for more detail.
-
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<Rule.Builder,Rule> - 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
-
fromNonTalkTimeFilter
Create an instance of this class withnonTalkTimeFilter()initialized to the given value.Flag the presence or absence of periods of silence in your Call Analytics transcription output. Refer to for more detail.
- Parameters:
nonTalkTimeFilter- Flag the presence or absence of periods of silence in your Call Analytics transcription output. Refer to for more detail.
-
fromNonTalkTimeFilter
Create an instance of this class withnonTalkTimeFilter()initialized to the given value.Flag the presence or absence of periods of silence in your Call Analytics transcription output. Refer to for more detail.
- Parameters:
nonTalkTimeFilter- Flag the presence or absence of periods of silence in your Call Analytics transcription output. Refer to for more detail.
-
fromInterruptionFilter
Create an instance of this class withinterruptionFilter()initialized to the given value.Flag the presence or absence of interruptions in your Call Analytics transcription output. Refer to for more detail.
- Parameters:
interruptionFilter- Flag the presence or absence of interruptions in your Call Analytics transcription output. Refer to for more detail.
-
fromInterruptionFilter
Create an instance of this class withinterruptionFilter()initialized to the given value.Flag the presence or absence of interruptions in your Call Analytics transcription output. Refer to for more detail.
- Parameters:
interruptionFilter- Flag the presence or absence of interruptions in your Call Analytics transcription output. Refer to for more detail.
-
fromTranscriptFilter
Create an instance of this class withtranscriptFilter()initialized to the given value.Flag the presence or absence of specific words or phrases in your Call Analytics transcription output. Refer to for more detail.
- Parameters:
transcriptFilter- Flag the presence or absence of specific words or phrases in your Call Analytics transcription output. Refer to for more detail.
-
fromTranscriptFilter
Create an instance of this class withtranscriptFilter()initialized to the given value.Flag the presence or absence of specific words or phrases in your Call Analytics transcription output. Refer to for more detail.
- Parameters:
transcriptFilter- Flag the presence or absence of specific words or phrases in your Call Analytics transcription output. Refer to for more detail.
-
fromSentimentFilter
Create an instance of this class withsentimentFilter()initialized to the given value.Flag the presence or absence of specific sentiments in your Call Analytics transcription output. Refer to for more detail.
- Parameters:
sentimentFilter- Flag the presence or absence of specific sentiments in your Call Analytics transcription output. Refer to for more detail.
-
fromSentimentFilter
Create an instance of this class withsentimentFilter()initialized to the given value.Flag the presence or absence of specific sentiments in your Call Analytics transcription output. Refer to for more detail.
- Parameters:
sentimentFilter- Flag the presence or absence of specific sentiments in your Call Analytics transcription output. Refer to for more detail.
-
type
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beRule.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beRule.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set. -
sdkFields
-