@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Rule extends Object implements Serializable, Cloneable, StructuredPojo
A condition in the call between the customer and the agent that you want to filter for.
Constructor and Description |
---|
Rule() |
Modifier and Type | Method and Description |
---|---|
Rule |
clone() |
boolean |
equals(Object obj) |
InterruptionFilter |
getInterruptionFilter()
A condition for a time period when either the customer or agent was interrupting the other person.
|
NonTalkTimeFilter |
getNonTalkTimeFilter()
A condition for a time period when neither the customer nor the agent was talking.
|
SentimentFilter |
getSentimentFilter()
A condition that is applied to a particular customer sentiment.
|
TranscriptFilter |
getTranscriptFilter()
A condition that catches particular words or phrases based on a exact match.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInterruptionFilter(InterruptionFilter interruptionFilter)
A condition for a time period when either the customer or agent was interrupting the other person.
|
void |
setNonTalkTimeFilter(NonTalkTimeFilter nonTalkTimeFilter)
A condition for a time period when neither the customer nor the agent was talking.
|
void |
setSentimentFilter(SentimentFilter sentimentFilter)
A condition that is applied to a particular customer sentiment.
|
void |
setTranscriptFilter(TranscriptFilter transcriptFilter)
A condition that catches particular words or phrases based on a exact match.
|
String |
toString()
Returns a string representation of this object.
|
Rule |
withInterruptionFilter(InterruptionFilter interruptionFilter)
A condition for a time period when either the customer or agent was interrupting the other person.
|
Rule |
withNonTalkTimeFilter(NonTalkTimeFilter nonTalkTimeFilter)
A condition for a time period when neither the customer nor the agent was talking.
|
Rule |
withSentimentFilter(SentimentFilter sentimentFilter)
A condition that is applied to a particular customer sentiment.
|
Rule |
withTranscriptFilter(TranscriptFilter transcriptFilter)
A condition that catches particular words or phrases based on a exact match.
|
public void setNonTalkTimeFilter(NonTalkTimeFilter nonTalkTimeFilter)
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 NonTalkTimeFilter getNonTalkTimeFilter()
A condition for a time period when neither the customer nor the agent was talking.
public Rule withNonTalkTimeFilter(NonTalkTimeFilter nonTalkTimeFilter)
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 void setInterruptionFilter(InterruptionFilter interruptionFilter)
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 InterruptionFilter getInterruptionFilter()
A condition for a time period when either the customer or agent was interrupting the other person.
public Rule withInterruptionFilter(InterruptionFilter interruptionFilter)
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 void setTranscriptFilter(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.
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 TranscriptFilter getTranscriptFilter()
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 Rule withTranscriptFilter(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.
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 void setSentimentFilter(SentimentFilter sentimentFilter)
A condition that is applied to a particular customer sentiment.
sentimentFilter
- A condition that is applied to a particular customer sentiment.public SentimentFilter getSentimentFilter()
A condition that is applied to a particular customer sentiment.
public Rule withSentimentFilter(SentimentFilter sentimentFilter)
A condition that is applied to a particular customer sentiment.
sentimentFilter
- A condition that is applied to a particular customer sentiment.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.