@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Categories extends Object implements Serializable, Cloneable, StructuredPojo
Provides the category rules that are used to automatically categorize contacts based on uttered keywords and phrases.
Constructor and Description |
---|
Categories() |
Modifier and Type | Method and Description |
---|---|
Categories |
addMatchedDetailsEntry(String key,
CategoryDetails value)
Add a single MatchedDetails entry
|
Categories |
clearMatchedDetailsEntries()
Removes all the entries added into MatchedDetails.
|
Categories |
clone() |
boolean |
equals(Object obj) |
List<String> |
getMatchedCategories()
The category rules that have been matched in the analyzed segment.
|
Map<String,CategoryDetails> |
getMatchedDetails()
The category rule that was matched and when it occurred in the transcript.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMatchedCategories(Collection<String> matchedCategories)
The category rules that have been matched in the analyzed segment.
|
void |
setMatchedDetails(Map<String,CategoryDetails> matchedDetails)
The category rule that was matched and when it occurred in the transcript.
|
String |
toString()
Returns a string representation of this object.
|
Categories |
withMatchedCategories(Collection<String> matchedCategories)
The category rules that have been matched in the analyzed segment.
|
Categories |
withMatchedCategories(String... matchedCategories)
The category rules that have been matched in the analyzed segment.
|
Categories |
withMatchedDetails(Map<String,CategoryDetails> matchedDetails)
The category rule that was matched and when it occurred in the transcript.
|
public List<String> getMatchedCategories()
The category rules that have been matched in the analyzed segment.
public void setMatchedCategories(Collection<String> matchedCategories)
The category rules that have been matched in the analyzed segment.
matchedCategories
- The category rules that have been matched in the analyzed segment.public Categories withMatchedCategories(String... matchedCategories)
The category rules that have been matched in the analyzed segment.
NOTE: This method appends the values to the existing list (if any). Use
setMatchedCategories(java.util.Collection)
or withMatchedCategories(java.util.Collection)
if
you want to override the existing values.
matchedCategories
- The category rules that have been matched in the analyzed segment.public Categories withMatchedCategories(Collection<String> matchedCategories)
The category rules that have been matched in the analyzed segment.
matchedCategories
- The category rules that have been matched in the analyzed segment.public Map<String,CategoryDetails> getMatchedDetails()
The category rule that was matched and when it occurred in the transcript.
public void setMatchedDetails(Map<String,CategoryDetails> matchedDetails)
The category rule that was matched and when it occurred in the transcript.
matchedDetails
- The category rule that was matched and when it occurred in the transcript.public Categories withMatchedDetails(Map<String,CategoryDetails> matchedDetails)
The category rule that was matched and when it occurred in the transcript.
matchedDetails
- The category rule that was matched and when it occurred in the transcript.public Categories addMatchedDetailsEntry(String key, CategoryDetails value)
public Categories clearMatchedDetailsEntries()
public String toString()
toString
in class Object
Object.toString()
public Categories clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.