Class RecordingInfo

java.lang.Object
software.amazon.awssdk.services.connect.model.RecordingInfo
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<RecordingInfo.Builder,RecordingInfo>

@Generated("software.amazon.awssdk:codegen") public final class RecordingInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RecordingInfo.Builder,RecordingInfo>

Information about a voice recording, chat transcript, or screen recording.

See Also:
  • Method Details

    • storageType

      public final StorageType storageType()

      Where the recording/transcript is stored.

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

      Returns:
      Where the recording/transcript is stored.
      See Also:
    • storageTypeAsString

      public final String storageTypeAsString()

      Where the recording/transcript is stored.

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

      Returns:
      Where the recording/transcript is stored.
      See Also:
    • location

      public final String location()

      The location, in Amazon S3, for the recording/transcript.

      Returns:
      The location, in Amazon S3, for the recording/transcript.
    • mediaStreamType

      public final MediaStreamType mediaStreamType()

      Information about the media stream used during the conversation.

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

      Returns:
      Information about the media stream used during the conversation.
      See Also:
    • mediaStreamTypeAsString

      public final String mediaStreamTypeAsString()

      Information about the media stream used during the conversation.

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

      Returns:
      Information about the media stream used during the conversation.
      See Also:
    • participantType

      public final ParticipantType participantType()

      Information about the conversation participant, whether they are an agent or contact. The participant types are as follows:

      • All

      • Manager

      • Agent

      • Customer

      • Thirdparty

      • Supervisor

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

      Returns:
      Information about the conversation participant, whether they are an agent or contact. The participant types are as follows:

      • All

      • Manager

      • Agent

      • Customer

      • Thirdparty

      • Supervisor

      See Also:
    • participantTypeAsString

      public final String participantTypeAsString()

      Information about the conversation participant, whether they are an agent or contact. The participant types are as follows:

      • All

      • Manager

      • Agent

      • Customer

      • Thirdparty

      • Supervisor

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

      Returns:
      Information about the conversation participant, whether they are an agent or contact. The participant types are as follows:

      • All

      • Manager

      • Agent

      • Customer

      • Thirdparty

      • Supervisor

      See Also:
    • fragmentStartNumber

      public final String fragmentStartNumber()

      The number that identifies the Kinesis Video Streams fragment where the customer audio stream started.

      Returns:
      The number that identifies the Kinesis Video Streams fragment where the customer audio stream started.
    • fragmentStopNumber

      public final String fragmentStopNumber()

      The number that identifies the Kinesis Video Streams fragment where the customer audio stream stopped.

      Returns:
      The number that identifies the Kinesis Video Streams fragment where the customer audio stream stopped.
    • startTimestamp

      public final Instant startTimestamp()

      When the conversation of the last leg of the recording started in UTC time.

      Returns:
      When the conversation of the last leg of the recording started in UTC time.
    • stopTimestamp

      public final Instant stopTimestamp()

      When the conversation of the last leg of recording stopped in UTC time.

      Returns:
      When the conversation of the last leg of recording stopped in UTC time.
    • status

      public final RecordingStatus status()

      The status of the recording/transcript.

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

      Returns:
      The status of the recording/transcript.
      See Also:
    • statusAsString

      public final String statusAsString()

      The status of the recording/transcript.

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

      Returns:
      The status of the recording/transcript.
      See Also:
    • deletionReason

      public final String deletionReason()

      If the recording/transcript was deleted, this is the reason entered for the deletion.

      Returns:
      If the recording/transcript was deleted, this is the reason entered for the deletion.
    • toBuilder

      public RecordingInfo.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<RecordingInfo.Builder,RecordingInfo>
      Returns:
      a builder for type T
    • builder

      public static RecordingInfo.Builder builder()
    • serializableBuilderClass

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

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

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

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.