Class Segment
- java.lang.Object
-
- software.amazon.awssdk.services.mediapackagev2.model.Segment
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Segment.Builder,Segment>
@Generated("software.amazon.awssdk:codegen") public final class Segment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Segment.Builder,Segment>
The segment configuration, including the segment name, duration, and other configuration values.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSegment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Segment.Builderbuilder()Encryptionencryption()Returns the value of the Encryption property for this object.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanincludeIframeOnlyStreams()When selected, the stream set includes an additional I-frame only stream, along with the other tracks.Sctescte()The SCTE configuration options in the segment settings.List<SdkField<?>>sdkFields()IntegersegmentDurationSeconds()The duration (in seconds) of each segment.StringsegmentName()The name that describes the segment.static Class<? extends Segment.Builder>serializableBuilderClass()Segment.BuildertoBuilder()StringtoString()Returns a string representation of this object.BooleantsIncludeDvbSubtitles()By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles from the output.BooleantsUseAudioRenditionGroup()When selected, MediaPackage bundles all audio tracks in a rendition group.-
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
-
segmentDurationSeconds
public final Integer segmentDurationSeconds()
The duration (in seconds) of each segment. Enter a value equal to, or a multiple of, the input segment duration. If the value that you enter is different from the input segment duration, MediaPackage rounds segments to the nearest multiple of the input segment duration.
- Returns:
- The duration (in seconds) of each segment. Enter a value equal to, or a multiple of, the input segment duration. If the value that you enter is different from the input segment duration, MediaPackage rounds segments to the nearest multiple of the input segment duration.
-
segmentName
public final String segmentName()
The name that describes the segment. The name is the base name of the segment used in all content manifests inside of the endpoint. You can't use spaces in the name.
- Returns:
- The name that describes the segment. The name is the base name of the segment used in all content manifests inside of the endpoint. You can't use spaces in the name.
-
tsUseAudioRenditionGroup
public final Boolean tsUseAudioRenditionGroup()
When selected, MediaPackage bundles all audio tracks in a rendition group. All other tracks in the stream can be used with any audio rendition from the group.
- Returns:
- When selected, MediaPackage bundles all audio tracks in a rendition group. All other tracks in the stream can be used with any audio rendition from the group.
-
includeIframeOnlyStreams
public final Boolean includeIframeOnlyStreams()
When selected, the stream set includes an additional I-frame only stream, along with the other tracks. If false, this extra stream is not included. MediaPackage generates an I-frame only stream from the first rendition in the manifest. The service inserts EXT-I-FRAMES-ONLY tags in the output manifest, and then generates and includes an I-frames only playlist in the stream. This playlist permits player functionality like fast forward and rewind.
- Returns:
- When selected, the stream set includes an additional I-frame only stream, along with the other tracks. If false, this extra stream is not included. MediaPackage generates an I-frame only stream from the first rendition in the manifest. The service inserts EXT-I-FRAMES-ONLY tags in the output manifest, and then generates and includes an I-frames only playlist in the stream. This playlist permits player functionality like fast forward and rewind.
-
tsIncludeDvbSubtitles
public final Boolean tsIncludeDvbSubtitles()
By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles from the output. When selected, MediaPackage passes through DVB subtitles into the output.
- Returns:
- By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles from the output. When selected, MediaPackage passes through DVB subtitles into the output.
-
scte
public final Scte scte()
The SCTE configuration options in the segment settings.
- Returns:
- The SCTE configuration options in the segment settings.
-
encryption
public final Encryption encryption()
Returns the value of the Encryption property for this object.- Returns:
- The value of the Encryption property for this object.
-
toBuilder
public Segment.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Segment.Builder,Segment>
-
builder
public static Segment.Builder builder()
-
serializableBuilderClass
public static Class<? extends Segment.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.
-
-