@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CmafPackage extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
CmafPackage() |
Modifier and Type | Method and Description |
---|---|
CmafPackage |
clone() |
boolean |
equals(Object obj) |
CmafEncryption |
getEncryption() |
List<HlsManifest> |
getHlsManifests()
A list of HLS manifest configurations.
|
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.
|
Integer |
getSegmentDurationSeconds()
Duration (in seconds) of each fragment.
|
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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEncryption(CmafEncryption encryption) |
void |
setHlsManifests(Collection<HlsManifest> hlsManifests)
A list of HLS manifest configurations.
|
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 |
setSegmentDurationSeconds(Integer segmentDurationSeconds)
Duration (in seconds) of each fragment.
|
String |
toString()
Returns a string representation of this object.
|
CmafPackage |
withEncryption(CmafEncryption encryption) |
CmafPackage |
withHlsManifests(Collection<HlsManifest> hlsManifests)
A list of HLS manifest configurations.
|
CmafPackage |
withHlsManifests(HlsManifest... hlsManifests)
A list of HLS manifest configurations.
|
CmafPackage |
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.
|
CmafPackage |
withSegmentDurationSeconds(Integer segmentDurationSeconds)
Duration (in seconds) of each fragment.
|
public void setEncryption(CmafEncryption encryption)
encryption
- public CmafEncryption getEncryption()
public CmafPackage withEncryption(CmafEncryption encryption)
encryption
- public List<HlsManifest> getHlsManifests()
public void setHlsManifests(Collection<HlsManifest> hlsManifests)
hlsManifests
- A list of HLS manifest configurations.public CmafPackage withHlsManifests(HlsManifest... hlsManifests)
NOTE: This method appends the values to the existing list (if any). Use
setHlsManifests(java.util.Collection)
or withHlsManifests(java.util.Collection)
if you want to
override the existing values.
hlsManifests
- A list of HLS manifest configurations.public CmafPackage withHlsManifests(Collection<HlsManifest> hlsManifests)
hlsManifests
- A list of HLS manifest configurations.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 CmafPackage 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 setSegmentDurationSeconds(Integer segmentDurationSeconds)
segmentDurationSeconds
- Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the
source fragment duration.public Integer getSegmentDurationSeconds()
public CmafPackage withSegmentDurationSeconds(Integer segmentDurationSeconds)
segmentDurationSeconds
- Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the
source fragment duration.public String toString()
toString
in class Object
Object.toString()
public CmafPackage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.