@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SessionDataSortBy.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SessionDataSortBy.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
AnalyticsSessionSortByName |
name()
The measure by which to sort the session analytics data.
|
String |
nameAsString()
The measure by which to sort the session analytics data.
|
AnalyticsSortOrder |
order()
Specifies whether to sort the results in ascending or descending order.
|
String |
orderAsString()
Specifies whether to sort the results in ascending or descending order.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SessionDataSortBy.Builder> |
serializableBuilderClass() |
SessionDataSortBy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 a sessionId and an originatingRequestId.
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, name will return
AnalyticsSessionSortByName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from nameAsString().
conversationStartTime – The date and time when the conversation began. A conversation is
defined as a unique combination of a sessionId and an originatingRequestId.
numberOfTurns – The number of turns that the session took.
conversationDurationSeconds – The duration of the conversation in seconds.
AnalyticsSessionSortByNamepublic 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 a sessionId and an originatingRequestId.
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, name will return
AnalyticsSessionSortByName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from nameAsString().
conversationStartTime – The date and time when the conversation began. A conversation is
defined as a unique combination of a sessionId and an originatingRequestId.
numberOfTurns – The number of turns that the session took.
conversationDurationSeconds – The duration of the conversation in seconds.
AnalyticsSessionSortByNamepublic 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, order will return
AnalyticsSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
orderAsString().
AnalyticsSortOrderpublic 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, order will return
AnalyticsSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
orderAsString().
AnalyticsSortOrderpublic SessionDataSortBy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SessionDataSortBy.Builder,SessionDataSortBy>public static SessionDataSortBy.Builder builder()
public static Class<? extends SessionDataSortBy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.