@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnalyticsUtteranceFilter extends Object implements Serializable, Cloneable, StructuredPojo
Contains fields describing a condition by which to filter the utterances. The expression may be understood as
name
operator
values
. For example:
LocaleId EQ Book
– The locale is the string "en".
UtteranceText CO help
– The text of the utterance contains the string "help".
The operators that each filter supports are listed below:
BotAlias
– EQ
.
BotVersion
– EQ
.
LocaleId
– EQ
.
Modality
– EQ
.
Channel
– EQ
.
SessionId
– EQ
.
OriginatingRequestId
– EQ
.
UtteranceState
– EQ
.
UtteranceText
– EQ
, CO
.
Constructor and Description |
---|
AnalyticsUtteranceFilter() |
Modifier and Type | Method and Description |
---|---|
AnalyticsUtteranceFilter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The category by which to filter the utterances.
|
String |
getOperator()
The operation by which to filter the category.
|
List<String> |
getValues()
An array containing the values of the category by which to apply the operator to filter the results.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The category by which to filter the utterances.
|
void |
setOperator(String operator)
The operation by which to filter the category.
|
void |
setValues(Collection<String> values)
An array containing the values of the category by which to apply the operator to filter the results.
|
String |
toString()
Returns a string representation of this object.
|
AnalyticsUtteranceFilter |
withName(AnalyticsUtteranceFilterName name)
The category by which to filter the utterances.
|
AnalyticsUtteranceFilter |
withName(String name)
The category by which to filter the utterances.
|
AnalyticsUtteranceFilter |
withOperator(AnalyticsFilterOperator operator)
The operation by which to filter the category.
|
AnalyticsUtteranceFilter |
withOperator(String operator)
The operation by which to filter the category.
|
AnalyticsUtteranceFilter |
withValues(Collection<String> values)
An array containing the values of the category by which to apply the operator to filter the results.
|
AnalyticsUtteranceFilter |
withValues(String... values)
An array containing the values of the category by which to apply the operator to filter the results.
|
public void setName(String name)
The category by which to filter the utterances. The descriptions for each option are as follows:
BotAlias
– The name of the bot alias.
BotVersion
– The version of the bot.
LocaleId
– The locale of the bot.
Modality
– The modality of the session with the bot (audio, DTMF, or text).
Channel
– The channel that the bot is integrated with.
SessionId
– The identifier of the session with the bot.
OriginatingRequestId
– The identifier of the first request in a session.
UtteranceState
– The state of the utterance.
UtteranceText
– The text in the utterance.
name
- The category by which to filter the utterances. The descriptions for each option are as follows:
BotAlias
– The name of the bot alias.
BotVersion
– The version of the bot.
LocaleId
– The locale of the bot.
Modality
– The modality of the session with the bot (audio, DTMF, or text).
Channel
– The channel that the bot is integrated with.
SessionId
– The identifier of the session with the bot.
OriginatingRequestId
– The identifier of the first request in a session.
UtteranceState
– The state of the utterance.
UtteranceText
– The text in the utterance.
AnalyticsUtteranceFilterName
public String getName()
The category by which to filter the utterances. The descriptions for each option are as follows:
BotAlias
– The name of the bot alias.
BotVersion
– The version of the bot.
LocaleId
– The locale of the bot.
Modality
– The modality of the session with the bot (audio, DTMF, or text).
Channel
– The channel that the bot is integrated with.
SessionId
– The identifier of the session with the bot.
OriginatingRequestId
– The identifier of the first request in a session.
UtteranceState
– The state of the utterance.
UtteranceText
– The text in the utterance.
BotAlias
– The name of the bot alias.
BotVersion
– The version of the bot.
LocaleId
– The locale of the bot.
Modality
– The modality of the session with the bot (audio, DTMF, or text).
Channel
– The channel that the bot is integrated with.
SessionId
– The identifier of the session with the bot.
OriginatingRequestId
– The identifier of the first request in a session.
UtteranceState
– The state of the utterance.
UtteranceText
– The text in the utterance.
AnalyticsUtteranceFilterName
public AnalyticsUtteranceFilter withName(String name)
The category by which to filter the utterances. The descriptions for each option are as follows:
BotAlias
– The name of the bot alias.
BotVersion
– The version of the bot.
LocaleId
– The locale of the bot.
Modality
– The modality of the session with the bot (audio, DTMF, or text).
Channel
– The channel that the bot is integrated with.
SessionId
– The identifier of the session with the bot.
OriginatingRequestId
– The identifier of the first request in a session.
UtteranceState
– The state of the utterance.
UtteranceText
– The text in the utterance.
name
- The category by which to filter the utterances. The descriptions for each option are as follows:
BotAlias
– The name of the bot alias.
BotVersion
– The version of the bot.
LocaleId
– The locale of the bot.
Modality
– The modality of the session with the bot (audio, DTMF, or text).
Channel
– The channel that the bot is integrated with.
SessionId
– The identifier of the session with the bot.
OriginatingRequestId
– The identifier of the first request in a session.
UtteranceState
– The state of the utterance.
UtteranceText
– The text in the utterance.
AnalyticsUtteranceFilterName
public AnalyticsUtteranceFilter withName(AnalyticsUtteranceFilterName name)
The category by which to filter the utterances. The descriptions for each option are as follows:
BotAlias
– The name of the bot alias.
BotVersion
– The version of the bot.
LocaleId
– The locale of the bot.
Modality
– The modality of the session with the bot (audio, DTMF, or text).
Channel
– The channel that the bot is integrated with.
SessionId
– The identifier of the session with the bot.
OriginatingRequestId
– The identifier of the first request in a session.
UtteranceState
– The state of the utterance.
UtteranceText
– The text in the utterance.
name
- The category by which to filter the utterances. The descriptions for each option are as follows:
BotAlias
– The name of the bot alias.
BotVersion
– The version of the bot.
LocaleId
– The locale of the bot.
Modality
– The modality of the session with the bot (audio, DTMF, or text).
Channel
– The channel that the bot is integrated with.
SessionId
– The identifier of the session with the bot.
OriginatingRequestId
– The identifier of the first request in a session.
UtteranceState
– The state of the utterance.
UtteranceText
– The text in the utterance.
AnalyticsUtteranceFilterName
public void setOperator(String operator)
The operation by which to filter the category. The following operations are possible:
CO
– Contains
EQ
– Equals
GT
– Greater than
LT
– Less than
The operators that each filter supports are listed below:
BotAlias
– EQ
.
BotVersion
– EQ
.
LocaleId
– EQ
.
Modality
– EQ
.
Channel
– EQ
.
SessionId
– EQ
.
OriginatingRequestId
– EQ
.
UtteranceState
– EQ
.
UtteranceText
– EQ
, CO
.
operator
- The operation by which to filter the category. The following operations are possible:
CO
– Contains
EQ
– Equals
GT
– Greater than
LT
– Less than
The operators that each filter supports are listed below:
BotAlias
– EQ
.
BotVersion
– EQ
.
LocaleId
– EQ
.
Modality
– EQ
.
Channel
– EQ
.
SessionId
– EQ
.
OriginatingRequestId
– EQ
.
UtteranceState
– EQ
.
UtteranceText
– EQ
, CO
.
AnalyticsFilterOperator
public String getOperator()
The operation by which to filter the category. The following operations are possible:
CO
– Contains
EQ
– Equals
GT
– Greater than
LT
– Less than
The operators that each filter supports are listed below:
BotAlias
– EQ
.
BotVersion
– EQ
.
LocaleId
– EQ
.
Modality
– EQ
.
Channel
– EQ
.
SessionId
– EQ
.
OriginatingRequestId
– EQ
.
UtteranceState
– EQ
.
UtteranceText
– EQ
, CO
.
CO
– Contains
EQ
– Equals
GT
– Greater than
LT
– Less than
The operators that each filter supports are listed below:
BotAlias
– EQ
.
BotVersion
– EQ
.
LocaleId
– EQ
.
Modality
– EQ
.
Channel
– EQ
.
SessionId
– EQ
.
OriginatingRequestId
– EQ
.
UtteranceState
– EQ
.
UtteranceText
– EQ
, CO
.
AnalyticsFilterOperator
public AnalyticsUtteranceFilter withOperator(String operator)
The operation by which to filter the category. The following operations are possible:
CO
– Contains
EQ
– Equals
GT
– Greater than
LT
– Less than
The operators that each filter supports are listed below:
BotAlias
– EQ
.
BotVersion
– EQ
.
LocaleId
– EQ
.
Modality
– EQ
.
Channel
– EQ
.
SessionId
– EQ
.
OriginatingRequestId
– EQ
.
UtteranceState
– EQ
.
UtteranceText
– EQ
, CO
.
operator
- The operation by which to filter the category. The following operations are possible:
CO
– Contains
EQ
– Equals
GT
– Greater than
LT
– Less than
The operators that each filter supports are listed below:
BotAlias
– EQ
.
BotVersion
– EQ
.
LocaleId
– EQ
.
Modality
– EQ
.
Channel
– EQ
.
SessionId
– EQ
.
OriginatingRequestId
– EQ
.
UtteranceState
– EQ
.
UtteranceText
– EQ
, CO
.
AnalyticsFilterOperator
public AnalyticsUtteranceFilter withOperator(AnalyticsFilterOperator operator)
The operation by which to filter the category. The following operations are possible:
CO
– Contains
EQ
– Equals
GT
– Greater than
LT
– Less than
The operators that each filter supports are listed below:
BotAlias
– EQ
.
BotVersion
– EQ
.
LocaleId
– EQ
.
Modality
– EQ
.
Channel
– EQ
.
SessionId
– EQ
.
OriginatingRequestId
– EQ
.
UtteranceState
– EQ
.
UtteranceText
– EQ
, CO
.
operator
- The operation by which to filter the category. The following operations are possible:
CO
– Contains
EQ
– Equals
GT
– Greater than
LT
– Less than
The operators that each filter supports are listed below:
BotAlias
– EQ
.
BotVersion
– EQ
.
LocaleId
– EQ
.
Modality
– EQ
.
Channel
– EQ
.
SessionId
– EQ
.
OriginatingRequestId
– EQ
.
UtteranceState
– EQ
.
UtteranceText
– EQ
, CO
.
AnalyticsFilterOperator
public List<String> getValues()
An array containing the values of the category by which to apply the operator to filter the results. You can
provide multiple values if the operator is EQ
or CO
. If you provide multiple values,
you filter for results that equal/contain any of the values. For example, if the name
,
operator
, and values
fields are Modality
, EQ
, and
[Speech, Text]
, the operation filters for results where the modality was either Speech
or Text
.
EQ
or CO
. If you provide
multiple values, you filter for results that equal/contain any of the values. For example, if the
name
, operator
, and values
fields are Modality
,
EQ
, and [Speech, Text]
, the operation filters for results where the modality
was either Speech
or Text
.public void setValues(Collection<String> values)
An array containing the values of the category by which to apply the operator to filter the results. You can
provide multiple values if the operator is EQ
or CO
. If you provide multiple values,
you filter for results that equal/contain any of the values. For example, if the name
,
operator
, and values
fields are Modality
, EQ
, and
[Speech, Text]
, the operation filters for results where the modality was either Speech
or Text
.
values
- An array containing the values of the category by which to apply the operator to filter the results. You
can provide multiple values if the operator is EQ
or CO
. If you provide multiple
values, you filter for results that equal/contain any of the values. For example, if the name
, operator
, and values
fields are Modality
, EQ
, and
[Speech, Text]
, the operation filters for results where the modality was either
Speech
or Text
.public AnalyticsUtteranceFilter withValues(String... values)
An array containing the values of the category by which to apply the operator to filter the results. You can
provide multiple values if the operator is EQ
or CO
. If you provide multiple values,
you filter for results that equal/contain any of the values. For example, if the name
,
operator
, and values
fields are Modality
, EQ
, and
[Speech, Text]
, the operation filters for results where the modality was either Speech
or Text
.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- An array containing the values of the category by which to apply the operator to filter the results. You
can provide multiple values if the operator is EQ
or CO
. If you provide multiple
values, you filter for results that equal/contain any of the values. For example, if the name
, operator
, and values
fields are Modality
, EQ
, and
[Speech, Text]
, the operation filters for results where the modality was either
Speech
or Text
.public AnalyticsUtteranceFilter withValues(Collection<String> values)
An array containing the values of the category by which to apply the operator to filter the results. You can
provide multiple values if the operator is EQ
or CO
. If you provide multiple values,
you filter for results that equal/contain any of the values. For example, if the name
,
operator
, and values
fields are Modality
, EQ
, and
[Speech, Text]
, the operation filters for results where the modality was either Speech
or Text
.
values
- An array containing the values of the category by which to apply the operator to filter the results. You
can provide multiple values if the operator is EQ
or CO
. If you provide multiple
values, you filter for results that equal/contain any of the values. For example, if the name
, operator
, and values
fields are Modality
, EQ
, and
[Speech, Text]
, the operation filters for results where the modality was either
Speech
or Text
.public String toString()
toString
in class Object
Object.toString()
public AnalyticsUtteranceFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.