@Generated(value="software.amazon.awssdk:codegen") public final class Fragment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Fragment.Builder,Fragment>
Represents a segment of video or other time-delimited data.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Fragment.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Fragment.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Long |
fragmentLengthInMilliseconds()
The playback duration or other time value associated with the fragment.
|
String |
fragmentNumber()
The unique identifier of the fragment.
|
Long |
fragmentSizeInBytes()
The total fragment size, including information about the fragment and contained media data.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
producerTimestamp()
The timestamp from the producer corresponding to the fragment.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Fragment.Builder> |
serializableBuilderClass() |
Instant |
serverTimestamp()
The timestamp from the AWS server corresponding to the fragment.
|
Fragment.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String fragmentNumber()
The unique identifier of the fragment. This value monotonically increases based on the ingestion order.
public final Long fragmentSizeInBytes()
The total fragment size, including information about the fragment and contained media data.
public final Instant producerTimestamp()
The timestamp from the producer corresponding to the fragment.
public final Instant serverTimestamp()
The timestamp from the AWS server corresponding to the fragment.
public final Long fragmentLengthInMilliseconds()
The playback duration or other time value associated with the fragment.
public Fragment.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Fragment.Builder,Fragment>public static Fragment.Builder builder()
public static Class<? extends Fragment.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.