@Generated(value="software.amazon.awssdk:codegen") public final class AnalyticsIntentStageFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AnalyticsIntentStageFilter.Builder,AnalyticsIntentStageFilter>
Contains fields describing a condition by which to filter the intent stages. The expression may be understood as
name operator values. For example:
IntentName CO Book – The intent name contains the string "Book."
BotVersion EQ 2 – The bot version is equal to two.
The operators that each filter supports are listed below:
BotAlias – EQ.
BotVersion – EQ.
LocaleId – EQ.
Modality – EQ.
Channel – EQ.
SessionId – EQ.
OriginatingRequestId – EQ.
IntentName – EQ, CO.
IntentStageName – EQ, CO.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AnalyticsIntentStageFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AnalyticsIntentStageFilter.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasValues()
For responses, this returns true if the service returned a value for the Values property.
|
AnalyticsIntentStageFilterName |
name()
The category by which to filter the intent stages.
|
String |
nameAsString()
The category by which to filter the intent stages.
|
AnalyticsFilterOperator |
operator()
The operation by which to filter the category.
|
String |
operatorAsString()
The operation by which to filter the category.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AnalyticsIntentStageFilter.Builder> |
serializableBuilderClass() |
AnalyticsIntentStageFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<String> |
values()
An array containing the values of the category by which to apply the operator to filter the results.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AnalyticsIntentStageFilterName name()
The category by which to filter the intent stages. 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.
IntentName – The name of the intent.
IntentStageName – The stage in the intent.
If the service returns an enum value that is not available in the current SDK version, name will return
AnalyticsIntentStageFilterName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from nameAsString().
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.
IntentName – The name of the intent.
IntentStageName – The stage in the intent.
AnalyticsIntentStageFilterNamepublic final String nameAsString()
The category by which to filter the intent stages. 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.
IntentName – The name of the intent.
IntentStageName – The stage in the intent.
If the service returns an enum value that is not available in the current SDK version, name will return
AnalyticsIntentStageFilterName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from nameAsString().
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.
IntentName – The name of the intent.
IntentStageName – The stage in the intent.
AnalyticsIntentStageFilterNamepublic final 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.
IntentName – EQ, CO.
IntentStageName – EQ, CO.
If the service returns an enum value that is not available in the current SDK version, operator will
return AnalyticsFilterOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from operatorAsString().
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.
IntentName – EQ, CO.
IntentStageName – EQ, CO.
AnalyticsFilterOperatorpublic final String operatorAsString()
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.
IntentName – EQ, CO.
IntentStageName – EQ, CO.
If the service returns an enum value that is not available in the current SDK version, operator will
return AnalyticsFilterOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from operatorAsString().
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.
IntentName – EQ, CO.
IntentStageName – EQ, CO.
AnalyticsFilterOperatorpublic final boolean hasValues()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasValues() method.
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 AnalyticsIntentStageFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AnalyticsIntentStageFilter.Builder,AnalyticsIntentStageFilter>public static AnalyticsIntentStageFilter.Builder builder()
public static Class<? extends AnalyticsIntentStageFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.