@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DashPackage extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
DashPackage() |
Modifier and Type | Method and Description |
---|---|
DashPackage |
clone() |
boolean |
equals(Object obj) |
List<DashManifest> |
getDashManifests()
A list of DASH manifest configurations.
|
DashEncryption |
getEncryption() |
Boolean |
getIncludeEncoderConfigurationInSegments()
When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter
Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of
in the init fragment.
|
Boolean |
getIncludeIframeOnlyStream()
When enabled, an I-Frame only stream will be included in the output.
|
List<String> |
getPeriodTriggers()
A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation
Description (MPD) will be partitioned into multiple periods.
|
Integer |
getSegmentDurationSeconds()
Duration (in seconds) of each segment.
|
String |
getSegmentTemplateFormat()
Determines the type of SegmentTemplate included in the Media Presentation Description (MPD).
|
int |
hashCode() |
Boolean |
isIncludeEncoderConfigurationInSegments()
When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter
Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of
in the init fragment.
|
Boolean |
isIncludeIframeOnlyStream()
When enabled, an I-Frame only stream will be included in the output.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDashManifests(Collection<DashManifest> dashManifests)
A list of DASH manifest configurations.
|
void |
setEncryption(DashEncryption encryption) |
void |
setIncludeEncoderConfigurationInSegments(Boolean includeEncoderConfigurationInSegments)
When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter
Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of
in the init fragment.
|
void |
setIncludeIframeOnlyStream(Boolean includeIframeOnlyStream)
When enabled, an I-Frame only stream will be included in the output.
|
void |
setPeriodTriggers(Collection<String> periodTriggers)
A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation
Description (MPD) will be partitioned into multiple periods.
|
void |
setSegmentDurationSeconds(Integer segmentDurationSeconds)
Duration (in seconds) of each segment.
|
void |
setSegmentTemplateFormat(String segmentTemplateFormat)
Determines the type of SegmentTemplate included in the Media Presentation Description (MPD).
|
String |
toString()
Returns a string representation of this object.
|
DashPackage |
withDashManifests(Collection<DashManifest> dashManifests)
A list of DASH manifest configurations.
|
DashPackage |
withDashManifests(DashManifest... dashManifests)
A list of DASH manifest configurations.
|
DashPackage |
withEncryption(DashEncryption encryption) |
DashPackage |
withIncludeEncoderConfigurationInSegments(Boolean includeEncoderConfigurationInSegments)
When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter
Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of
in the init fragment.
|
DashPackage |
withIncludeIframeOnlyStream(Boolean includeIframeOnlyStream)
When enabled, an I-Frame only stream will be included in the output.
|
DashPackage |
withPeriodTriggers(Collection<String> periodTriggers)
A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation
Description (MPD) will be partitioned into multiple periods.
|
DashPackage |
withPeriodTriggers(PeriodTriggersElement... periodTriggers)
A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation
Description (MPD) will be partitioned into multiple periods.
|
DashPackage |
withPeriodTriggers(String... periodTriggers)
A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation
Description (MPD) will be partitioned into multiple periods.
|
DashPackage |
withSegmentDurationSeconds(Integer segmentDurationSeconds)
Duration (in seconds) of each segment.
|
DashPackage |
withSegmentTemplateFormat(SegmentTemplateFormat segmentTemplateFormat)
Determines the type of SegmentTemplate included in the Media Presentation Description (MPD).
|
DashPackage |
withSegmentTemplateFormat(String segmentTemplateFormat)
Determines the type of SegmentTemplate included in the Media Presentation Description (MPD).
|
public List<DashManifest> getDashManifests()
public void setDashManifests(Collection<DashManifest> dashManifests)
dashManifests
- A list of DASH manifest configurations.public DashPackage withDashManifests(DashManifest... dashManifests)
NOTE: This method appends the values to the existing list (if any). Use
setDashManifests(java.util.Collection)
or withDashManifests(java.util.Collection)
if you want
to override the existing values.
dashManifests
- A list of DASH manifest configurations.public DashPackage withDashManifests(Collection<DashManifest> dashManifests)
dashManifests
- A list of DASH manifest configurations.public void setEncryption(DashEncryption encryption)
encryption
- public DashEncryption getEncryption()
public DashPackage withEncryption(DashEncryption encryption)
encryption
- public void setIncludeEncoderConfigurationInSegments(Boolean includeEncoderConfigurationInSegments)
includeEncoderConfigurationInSegments
- When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence
Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video
segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets
during content playback.public Boolean getIncludeEncoderConfigurationInSegments()
public DashPackage withIncludeEncoderConfigurationInSegments(Boolean includeEncoderConfigurationInSegments)
includeEncoderConfigurationInSegments
- When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence
Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video
segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets
during content playback.public Boolean isIncludeEncoderConfigurationInSegments()
public void setIncludeIframeOnlyStream(Boolean includeIframeOnlyStream)
includeIframeOnlyStream
- When enabled, an I-Frame only stream will be included in the output.public Boolean getIncludeIframeOnlyStream()
public DashPackage withIncludeIframeOnlyStream(Boolean includeIframeOnlyStream)
includeIframeOnlyStream
- When enabled, an I-Frame only stream will be included in the output.public Boolean isIncludeIframeOnlyStream()
public List<String> getPeriodTriggers()
PeriodTriggersElement
public void setPeriodTriggers(Collection<String> periodTriggers)
periodTriggers
- A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media
Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not
be partitioned into more than one period. If the list contains "ADS", new periods will be created where
the Asset contains SCTE-35 ad markers.PeriodTriggersElement
public DashPackage withPeriodTriggers(String... periodTriggers)
NOTE: This method appends the values to the existing list (if any). Use
setPeriodTriggers(java.util.Collection)
or withPeriodTriggers(java.util.Collection)
if you want
to override the existing values.
periodTriggers
- A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media
Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not
be partitioned into more than one period. If the list contains "ADS", new periods will be created where
the Asset contains SCTE-35 ad markers.PeriodTriggersElement
public DashPackage withPeriodTriggers(Collection<String> periodTriggers)
periodTriggers
- A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media
Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not
be partitioned into more than one period. If the list contains "ADS", new periods will be created where
the Asset contains SCTE-35 ad markers.PeriodTriggersElement
public DashPackage withPeriodTriggers(PeriodTriggersElement... periodTriggers)
periodTriggers
- A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media
Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not
be partitioned into more than one period. If the list contains "ADS", new periods will be created where
the Asset contains SCTE-35 ad markers.PeriodTriggersElement
public void setSegmentDurationSeconds(Integer segmentDurationSeconds)
segmentDurationSeconds
- Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the
source segment duration.public Integer getSegmentDurationSeconds()
public DashPackage withSegmentDurationSeconds(Integer segmentDurationSeconds)
segmentDurationSeconds
- Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the
source segment duration.public void setSegmentTemplateFormat(String segmentTemplateFormat)
segmentTemplateFormat
- Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set to
NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When
set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs.
When set to NUMBER_WITH_DURATION, only a duration is included in each SegmentTemplate, with $Number$ media
URLs.SegmentTemplateFormat
public String getSegmentTemplateFormat()
SegmentTemplateFormat
public DashPackage withSegmentTemplateFormat(String segmentTemplateFormat)
segmentTemplateFormat
- Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set to
NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When
set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs.
When set to NUMBER_WITH_DURATION, only a duration is included in each SegmentTemplate, with $Number$ media
URLs.SegmentTemplateFormat
public DashPackage withSegmentTemplateFormat(SegmentTemplateFormat segmentTemplateFormat)
segmentTemplateFormat
- Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set to
NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When
set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs.
When set to NUMBER_WITH_DURATION, only a duration is included in each SegmentTemplate, with $Number$ media
URLs.SegmentTemplateFormat
public String toString()
toString
in class Object
Object.toString()
public DashPackage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.