Interface Fragment.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Fragment.Builder,Fragment>, SdkBuilder<Fragment.Builder,Fragment>, SdkPojo
Enclosing class:
Fragment

public static interface Fragment.Builder extends SdkPojo, CopyableBuilder<Fragment.Builder,Fragment>
  • Method Details

    • fragmentNumber

      Fragment.Builder fragmentNumber(String fragmentNumber)

      The unique identifier of the fragment. This value monotonically increases based on the ingestion order.

      Parameters:
      fragmentNumber - The unique identifier of the fragment. This value monotonically increases based on the ingestion order.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fragmentSizeInBytes

      Fragment.Builder fragmentSizeInBytes(Long fragmentSizeInBytes)

      The total fragment size, including information about the fragment and contained media data.

      Parameters:
      fragmentSizeInBytes - The total fragment size, including information about the fragment and contained media data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • producerTimestamp

      Fragment.Builder producerTimestamp(Instant producerTimestamp)

      The timestamp from the producer corresponding to the fragment.

      Parameters:
      producerTimestamp - The timestamp from the producer corresponding to the fragment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverTimestamp

      Fragment.Builder serverTimestamp(Instant serverTimestamp)

      The timestamp from the Amazon Web Services server corresponding to the fragment.

      Parameters:
      serverTimestamp - The timestamp from the Amazon Web Services server corresponding to the fragment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fragmentLengthInMilliseconds

      Fragment.Builder fragmentLengthInMilliseconds(Long fragmentLengthInMilliseconds)

      The playback duration or other time value associated with the fragment.

      Parameters:
      fragmentLengthInMilliseconds - The playback duration or other time value associated with the fragment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.