@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CmafPackageCreateOrUpdateParameters extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
CmafPackageCreateOrUpdateParameters() |
public void setEncryption(CmafEncryption encryption)
encryption - public CmafEncryption getEncryption()
public CmafPackageCreateOrUpdateParameters withEncryption(CmafEncryption encryption)
encryption - public List<HlsManifestCreateOrUpdateParameters> getHlsManifests()
public void setHlsManifests(Collection<HlsManifestCreateOrUpdateParameters> hlsManifests)
hlsManifests - A list of HLS manifest configurationspublic CmafPackageCreateOrUpdateParameters withHlsManifests(HlsManifestCreateOrUpdateParameters... 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 CmafPackageCreateOrUpdateParameters withHlsManifests(Collection<HlsManifestCreateOrUpdateParameters> 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 CmafPackageCreateOrUpdateParameters 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 CmafPackageCreateOrUpdateParameters 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 CmafPackageCreateOrUpdateParameters withStreamSelection(StreamSelection streamSelection)
streamSelection - public String toString()
toString in class ObjectObject.toString()public CmafPackageCreateOrUpdateParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2025. All rights reserved.