Interface Fragment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Fragment.Builder,
,Fragment> SdkBuilder<Fragment.Builder,
,Fragment> SdkPojo
- Enclosing class:
Fragment
@Mutable
@NotThreadSafe
public static interface Fragment.Builder
extends SdkPojo, CopyableBuilder<Fragment.Builder,Fragment>
-
Method Summary
Modifier and TypeMethodDescriptionfragmentLengthInMilliseconds
(Long fragmentLengthInMilliseconds) The playback duration or other time value associated with the fragment.fragmentNumber
(String fragmentNumber) The unique identifier of the fragment.fragmentSizeInBytes
(Long fragmentSizeInBytes) The total fragment size, including information about the fragment and contained media data.producerTimestamp
(Instant producerTimestamp) The timestamp from the producer corresponding to the fragment.serverTimestamp
(Instant serverTimestamp) The timestamp from the Amazon Web Services server corresponding to the fragment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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.
-