@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.
|
Integer |
getSegmentDurationSeconds()
Duration (in seconds) of each fragment.
|
int |
hashCode() |
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 |
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 |
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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.