Class GetTranscriptRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<GetTranscriptRequest.Builder,GetTranscriptRequest>

@Generated("software.amazon.awssdk:codegen") public final class GetTranscriptRequest extends ConnectParticipantRequest implements ToCopyableBuilder<GetTranscriptRequest.Builder,GetTranscriptRequest>
  • Method Details

    • contactId

      public final String contactId()

      The contactId from the current contact chain for which transcript is needed.

      Returns:
      The contactId from the current contact chain for which transcript is needed.
    • maxResults

      public final Integer maxResults()

      The maximum number of results to return in the page. Default: 10.

      Returns:
      The maximum number of results to return in the page. Default: 10.
    • nextToken

      public final String nextToken()

      The pagination token. Use the value returned previously in the next subsequent request to retrieve the next set of results.

      Returns:
      The pagination token. Use the value returned previously in the next subsequent request to retrieve the next set of results.
    • scanDirection

      public final ScanDirection scanDirection()

      The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is provided, FORWARD with StartPosition.

      If the service returns an enum value that is not available in the current SDK version, scanDirection will return ScanDirection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from scanDirectionAsString().

      Returns:
      The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is provided, FORWARD with StartPosition.
      See Also:
    • scanDirectionAsString

      public final String scanDirectionAsString()

      The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is provided, FORWARD with StartPosition.

      If the service returns an enum value that is not available in the current SDK version, scanDirection will return ScanDirection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from scanDirectionAsString().

      Returns:
      The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is provided, FORWARD with StartPosition.
      See Also:
    • sortOrder

      public final SortKey sortOrder()

      The sort order for the records. Default: DESCENDING.

      If the service returns an enum value that is not available in the current SDK version, sortOrder will return SortKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from sortOrderAsString().

      Returns:
      The sort order for the records. Default: DESCENDING.
      See Also:
    • sortOrderAsString

      public final String sortOrderAsString()

      The sort order for the records. Default: DESCENDING.

      If the service returns an enum value that is not available in the current SDK version, sortOrder will return SortKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from sortOrderAsString().

      Returns:
      The sort order for the records. Default: DESCENDING.
      See Also:
    • startPosition

      public final StartPosition startPosition()

      A filtering option for where to start.

      Returns:
      A filtering option for where to start.
    • connectionToken

      public final String connectionToken()

      The authentication token associated with the participant's connection.

      Returns:
      The authentication token associated with the participant's connection.
    • toBuilder

      public GetTranscriptRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<GetTranscriptRequest.Builder,GetTranscriptRequest>
      Specified by:
      toBuilder in class ConnectParticipantRequest
    • builder

      public static GetTranscriptRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends GetTranscriptRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo