Class Fragment
- java.lang.Object
-
- software.amazon.awssdk.services.kinesisvideoarchivedmedia.model.Fragment
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Fragment.Builder,Fragment>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFragment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Fragment.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)LongfragmentLengthInMilliseconds()The playback duration or other time value associated with the fragment.StringfragmentNumber()The unique identifier of the fragment.LongfragmentSizeInBytes()The total fragment size, including information about the fragment and contained media data.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantproducerTimestamp()The timestamp from the producer corresponding to the fragment.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Fragment.Builder>serializableBuilderClass()InstantserverTimestamp()The timestamp from the Amazon Web Services server corresponding to the fragment.Fragment.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
fragmentNumber
public final String fragmentNumber()
The unique identifier of the fragment. This value monotonically increases based on the ingestion order.
- Returns:
- The unique identifier of the fragment. This value monotonically increases based on the ingestion order.
-
fragmentSizeInBytes
public final Long fragmentSizeInBytes()
The total fragment size, including information about the fragment and contained media data.
- Returns:
- The total fragment size, including information about the fragment and contained media data.
-
producerTimestamp
public final Instant producerTimestamp()
The timestamp from the producer corresponding to the fragment.
- Returns:
- The timestamp from the producer corresponding to the fragment.
-
serverTimestamp
public final Instant serverTimestamp()
The timestamp from the Amazon Web Services server corresponding to the fragment.
- Returns:
- The timestamp from the Amazon Web Services server corresponding to the fragment.
-
fragmentLengthInMilliseconds
public final Long fragmentLengthInMilliseconds()
The playback duration or other time value associated with the fragment.
- Returns:
- The playback duration or other time value associated with the fragment.
-
toBuilder
public Fragment.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Fragment.Builder,Fragment>
-
builder
public static Fragment.Builder builder()
-
serializableBuilderClass
public static Class<? extends Fragment.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-