@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 segment.
|
String |
getSegmentPrefix()
An optional custom string that is prepended to the name of each segment.
|
StreamSelection |
getStreamSelection() |
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 segment.
|
void |
setSegmentPrefix(String segmentPrefix)
An optional custom string that is prepended to the name of each segment.
|
void |
setStreamSelection(StreamSelection streamSelection) |
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 segment.
|
CmafPackage |
withSegmentPrefix(String segmentPrefix)
An optional custom string that is prepended to the name of each segment.
|
CmafPackage |
withStreamSelection(StreamSelection streamSelection) |
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 configurationspublic 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 configurationspublic CmafPackage withHlsManifests(Collection<HlsManifest> hlsManifests)
hlsManifests
- A list of HLS manifest configurationspublic 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 CmafPackage 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 setSegmentPrefix(String segmentPrefix)
segmentPrefix
- An optional custom string that is prepended to the name of each segment. If not specified, it defaults to
the ChannelId.public String getSegmentPrefix()
public CmafPackage withSegmentPrefix(String segmentPrefix)
segmentPrefix
- An optional custom string that is prepended to the name of each segment. If not specified, it defaults to
the ChannelId.public void setStreamSelection(StreamSelection streamSelection)
streamSelection
- public StreamSelection getStreamSelection()
public CmafPackage withStreamSelection(StreamSelection streamSelection)
streamSelection
- 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.