@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Segment extends Object implements Serializable, Cloneable, StructuredPojo
The segment configuration, including the segment name, duration, and other configuration values.
Constructor and Description |
---|
Segment() |
Modifier and Type | Method and Description |
---|---|
Segment |
clone() |
boolean |
equals(Object obj) |
Encryption |
getEncryption() |
Boolean |
getIncludeIframeOnlyStreams()
When selected, the stream set includes an additional I-frame only stream, along with the other tracks.
|
Scte |
getScte()
The SCTE configuration options in the segment settings.
|
Integer |
getSegmentDurationSeconds()
The duration (in seconds) of each segment.
|
String |
getSegmentName()
The name that describes the segment.
|
Boolean |
getTsIncludeDvbSubtitles()
By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles from the output.
|
Boolean |
getTsUseAudioRenditionGroup()
When selected, MediaPackage bundles all audio tracks in a rendition group.
|
int |
hashCode() |
Boolean |
isIncludeIframeOnlyStreams()
When selected, the stream set includes an additional I-frame only stream, along with the other tracks.
|
Boolean |
isTsIncludeDvbSubtitles()
By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles from the output.
|
Boolean |
isTsUseAudioRenditionGroup()
When selected, MediaPackage bundles all audio tracks in a rendition group.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEncryption(Encryption encryption) |
void |
setIncludeIframeOnlyStreams(Boolean includeIframeOnlyStreams)
When selected, the stream set includes an additional I-frame only stream, along with the other tracks.
|
void |
setScte(Scte scte)
The SCTE configuration options in the segment settings.
|
void |
setSegmentDurationSeconds(Integer segmentDurationSeconds)
The duration (in seconds) of each segment.
|
void |
setSegmentName(String segmentName)
The name that describes the segment.
|
void |
setTsIncludeDvbSubtitles(Boolean tsIncludeDvbSubtitles)
By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles from the output.
|
void |
setTsUseAudioRenditionGroup(Boolean tsUseAudioRenditionGroup)
When selected, MediaPackage bundles all audio tracks in a rendition group.
|
String |
toString()
Returns a string representation of this object.
|
Segment |
withEncryption(Encryption encryption) |
Segment |
withIncludeIframeOnlyStreams(Boolean includeIframeOnlyStreams)
When selected, the stream set includes an additional I-frame only stream, along with the other tracks.
|
Segment |
withScte(Scte scte)
The SCTE configuration options in the segment settings.
|
Segment |
withSegmentDurationSeconds(Integer segmentDurationSeconds)
The duration (in seconds) of each segment.
|
Segment |
withSegmentName(String segmentName)
The name that describes the segment.
|
Segment |
withTsIncludeDvbSubtitles(Boolean tsIncludeDvbSubtitles)
By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles from the output.
|
Segment |
withTsUseAudioRenditionGroup(Boolean tsUseAudioRenditionGroup)
When selected, MediaPackage bundles all audio tracks in a rendition group.
|
public void setSegmentDurationSeconds(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.
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.public Integer getSegmentDurationSeconds()
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.
public Segment withSegmentDurationSeconds(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.
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.public void setSegmentName(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.
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.public String getSegmentName()
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.
public Segment withSegmentName(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.
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.public void setTsUseAudioRenditionGroup(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.
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.public Boolean getTsUseAudioRenditionGroup()
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.
public Segment withTsUseAudioRenditionGroup(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.
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.public Boolean isTsUseAudioRenditionGroup()
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.
public void setIncludeIframeOnlyStreams(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.
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.public Boolean getIncludeIframeOnlyStreams()
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.
public Segment withIncludeIframeOnlyStreams(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.
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.public Boolean isIncludeIframeOnlyStreams()
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.
public void setTsIncludeDvbSubtitles(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.
tsIncludeDvbSubtitles
- By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles from the output. When
selected, MediaPackage passes through DVB subtitles into the output.public Boolean getTsIncludeDvbSubtitles()
By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles from the output. When selected, MediaPackage passes through DVB subtitles into the output.
public Segment withTsIncludeDvbSubtitles(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.
tsIncludeDvbSubtitles
- By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles from the output. When
selected, MediaPackage passes through DVB subtitles into the output.public Boolean isTsIncludeDvbSubtitles()
By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles from the output. When selected, MediaPackage passes through DVB subtitles into the output.
public void setScte(Scte scte)
The SCTE configuration options in the segment settings.
scte
- The SCTE configuration options in the segment settings.public Scte getScte()
The SCTE configuration options in the segment settings.
public Segment withScte(Scte scte)
The SCTE configuration options in the segment settings.
scte
- The SCTE configuration options in the segment settings.public void setEncryption(Encryption encryption)
encryption
- public Encryption getEncryption()
public Segment withEncryption(Encryption encryption)
encryption
- public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.