@Generated(value="software.amazon.awssdk:codegen") public final class Categories extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Categories.Builder,Categories>
Provides the category rules that are used to automatically categorize contacts based on uttered keywords and phrases.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Categories.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Categories.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasMatchedCategories()
Returns true if the MatchedCategories property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasMatchedDetails()
Returns true if the MatchedDetails property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<String> |
matchedCategories()
The category rules that have been matched in the analyzed segment.
|
Map<String,CategoryDetails> |
matchedDetails()
The category rule that was matched and when it occurred in the transcript.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Categories.Builder> |
serializableBuilderClass() |
Categories.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasMatchedCategories()
public final List<String> matchedCategories()
The category rules that have been matched in the analyzed segment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasMatchedCategories() to see if a value was sent in this field.
public final boolean hasMatchedDetails()
public final Map<String,CategoryDetails> matchedDetails()
The category rule that was matched and when it occurred in the transcript.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasMatchedDetails() to see if a value was sent in this field.
public Categories.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Categories.Builder,Categories>public static Categories.Builder builder()
public static Class<? extends Categories.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.