Class SessionDataSortBy
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.SessionDataSortBy
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SessionDataSortBy.Builder,SessionDataSortBy>
@Generated("software.amazon.awssdk:codegen") public final class SessionDataSortBy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SessionDataSortBy.Builder,SessionDataSortBy>
An object specifying the measure and method by which to sort the session analytics data.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSessionDataSortBy.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SessionDataSortBy.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()AnalyticsSessionSortByNamename()The measure by which to sort the session analytics data.StringnameAsString()The measure by which to sort the session analytics data.AnalyticsSortOrderorder()Specifies whether to sort the results in ascending or descending order.StringorderAsString()Specifies whether to sort the results in ascending or descending order.List<SdkField<?>>sdkFields()static Class<? extends SessionDataSortBy.Builder>serializableBuilderClass()SessionDataSortBy.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final AnalyticsSessionSortByName name()
The measure by which to sort the session analytics data.
-
conversationStartTime– The date and time when the conversation began. A conversation is defined as a unique combination of asessionIdand anoriginatingRequestId. -
numberOfTurns– The number of turns that the session took. -
conversationDurationSeconds– The duration of the conversation in seconds.
If the service returns an enum value that is not available in the current SDK version,
namewill returnAnalyticsSessionSortByName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The measure by which to sort the session analytics data.
-
conversationStartTime– The date and time when the conversation began. A conversation is defined as a unique combination of asessionIdand anoriginatingRequestId. -
numberOfTurns– The number of turns that the session took. -
conversationDurationSeconds– The duration of the conversation in seconds.
-
- See Also:
AnalyticsSessionSortByName
-
-
nameAsString
public final String nameAsString()
The measure by which to sort the session analytics data.
-
conversationStartTime– The date and time when the conversation began. A conversation is defined as a unique combination of asessionIdand anoriginatingRequestId. -
numberOfTurns– The number of turns that the session took. -
conversationDurationSeconds– The duration of the conversation in seconds.
If the service returns an enum value that is not available in the current SDK version,
namewill returnAnalyticsSessionSortByName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The measure by which to sort the session analytics data.
-
conversationStartTime– The date and time when the conversation began. A conversation is defined as a unique combination of asessionIdand anoriginatingRequestId. -
numberOfTurns– The number of turns that the session took. -
conversationDurationSeconds– The duration of the conversation in seconds.
-
- See Also:
AnalyticsSessionSortByName
-
-
order
public final AnalyticsSortOrder order()
Specifies whether to sort the results in ascending or descending order.
If the service returns an enum value that is not available in the current SDK version,
orderwill returnAnalyticsSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromorderAsString().- Returns:
- Specifies whether to sort the results in ascending or descending order.
- See Also:
AnalyticsSortOrder
-
orderAsString
public final String orderAsString()
Specifies whether to sort the results in ascending or descending order.
If the service returns an enum value that is not available in the current SDK version,
orderwill returnAnalyticsSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromorderAsString().- Returns:
- Specifies whether to sort the results in ascending or descending order.
- See Also:
AnalyticsSortOrder
-
toBuilder
public SessionDataSortBy.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SessionDataSortBy.Builder,SessionDataSortBy>
-
builder
public static SessionDataSortBy.Builder builder()
-
serializableBuilderClass
public static Class<? extends SessionDataSortBy.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-