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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Fragment.BuilderfragmentLengthInMilliseconds(Long fragmentLengthInMilliseconds)The playback duration or other time value associated with the fragment.Fragment.BuilderfragmentNumber(String fragmentNumber)The unique identifier of the fragment.Fragment.BuilderfragmentSizeInBytes(Long fragmentSizeInBytes)The total fragment size, including information about the fragment and contained media data.Fragment.BuilderproducerTimestamp(Instant producerTimestamp)The timestamp from the producer corresponding to the fragment.Fragment.BuilderserverTimestamp(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 Detail
-
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.
-
-