@Generated(value="software.amazon.awssdk:codegen") public final class Rule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Rule.Builder,Rule>
A condition in the call between the customer and the agent that you want to filter for.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Rule.Builder |
static class |
Rule.Type |
| Modifier and Type | Method and Description |
|---|---|
static Rule.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static Rule |
fromInterruptionFilter(Consumer<InterruptionFilter.Builder> interruptionFilter)
Create an instance of this class with
interruptionFilter() initialized to the given value. |
static Rule |
fromInterruptionFilter(InterruptionFilter interruptionFilter)
Create an instance of this class with
interruptionFilter() initialized to the given value. |
static Rule |
fromNonTalkTimeFilter(Consumer<NonTalkTimeFilter.Builder> nonTalkTimeFilter)
Create an instance of this class with
nonTalkTimeFilter() initialized to the given value. |
static Rule |
fromNonTalkTimeFilter(NonTalkTimeFilter nonTalkTimeFilter)
Create an instance of this class with
nonTalkTimeFilter() initialized to the given value. |
static Rule |
fromSentimentFilter(Consumer<SentimentFilter.Builder> sentimentFilter)
Create an instance of this class with
sentimentFilter() initialized to the given value. |
static Rule |
fromSentimentFilter(SentimentFilter sentimentFilter)
Create an instance of this class with
sentimentFilter() initialized to the given value. |
static Rule |
fromTranscriptFilter(Consumer<TranscriptFilter.Builder> transcriptFilter)
Create an instance of this class with
transcriptFilter() initialized to the given value. |
static Rule |
fromTranscriptFilter(TranscriptFilter transcriptFilter)
Create an instance of this class with
transcriptFilter() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
InterruptionFilter |
interruptionFilter()
A condition for a time period when either the customer or agent was interrupting the other person.
|
NonTalkTimeFilter |
nonTalkTimeFilter()
A condition for a time period when neither the customer nor the agent was talking.
|
List<SdkField<?>> |
sdkFields() |
SentimentFilter |
sentimentFilter()
A condition that is applied to a particular customer sentiment.
|
static Class<? extends Rule.Builder> |
serializableBuilderClass() |
Rule.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TranscriptFilter |
transcriptFilter()
A condition that catches particular words or phrases based on a exact match.
|
Rule.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final NonTalkTimeFilter nonTalkTimeFilter()
A condition for a time period when neither the customer nor the agent was talking.
public final InterruptionFilter interruptionFilter()
A condition for a time period when either the customer or agent was interrupting the other person.
public final TranscriptFilter transcriptFilter()
A condition that catches particular words or phrases based on a exact match. For example, if you set the phrase "I want to speak to the manager", only that exact phrase will be returned.
public final SentimentFilter sentimentFilter()
A condition that is applied to a particular customer sentiment.
public Rule.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Rule.Builder,Rule>public static Rule.Builder builder()
public static Class<? extends Rule.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static Rule fromNonTalkTimeFilter(NonTalkTimeFilter nonTalkTimeFilter)
nonTalkTimeFilter() initialized to the given value.
A condition for a time period when neither the customer nor the agent was talking.
nonTalkTimeFilter - A condition for a time period when neither the customer nor the agent was talking.public static Rule fromNonTalkTimeFilter(Consumer<NonTalkTimeFilter.Builder> nonTalkTimeFilter)
nonTalkTimeFilter() initialized to the given value.
A condition for a time period when neither the customer nor the agent was talking.
nonTalkTimeFilter - A condition for a time period when neither the customer nor the agent was talking.public static Rule fromInterruptionFilter(InterruptionFilter interruptionFilter)
interruptionFilter() initialized to the given value.
A condition for a time period when either the customer or agent was interrupting the other person.
interruptionFilter - A condition for a time period when either the customer or agent was interrupting the other person.public static Rule fromInterruptionFilter(Consumer<InterruptionFilter.Builder> interruptionFilter)
interruptionFilter() initialized to the given value.
A condition for a time period when either the customer or agent was interrupting the other person.
interruptionFilter - A condition for a time period when either the customer or agent was interrupting the other person.public static Rule fromTranscriptFilter(TranscriptFilter transcriptFilter)
transcriptFilter() initialized to the given value.
A condition that catches particular words or phrases based on a exact match. For example, if you set the phrase "I want to speak to the manager", only that exact phrase will be returned.
transcriptFilter - A condition that catches particular words or phrases based on a exact match. For example, if you set the
phrase "I want to speak to the manager", only that exact phrase will be returned.public static Rule fromTranscriptFilter(Consumer<TranscriptFilter.Builder> transcriptFilter)
transcriptFilter() initialized to the given value.
A condition that catches particular words or phrases based on a exact match. For example, if you set the phrase "I want to speak to the manager", only that exact phrase will be returned.
transcriptFilter - A condition that catches particular words or phrases based on a exact match. For example, if you set the
phrase "I want to speak to the manager", only that exact phrase will be returned.public static Rule fromSentimentFilter(SentimentFilter sentimentFilter)
sentimentFilter() initialized to the given value.
A condition that is applied to a particular customer sentiment.
sentimentFilter - A condition that is applied to a particular customer sentiment.public static Rule fromSentimentFilter(Consumer<SentimentFilter.Builder> sentimentFilter)
sentimentFilter() initialized to the given value.
A condition that is applied to a particular customer sentiment.
sentimentFilter - A condition that is applied to a particular customer sentiment.public Rule.Type type()
Type.UNKNOWN_TO_SDK_VERSION if 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 be Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2022. All rights reserved.