@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CmafPackageCreateOrUpdateParameters extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
CmafPackageCreateOrUpdateParameters() |
| Modifier and Type | Method and Description |
|---|---|
CmafPackageCreateOrUpdateParameters |
clone() |
boolean |
equals(Object obj) |
CmafEncryption |
getEncryption() |
List<HlsManifestCreateOrUpdateParameters> |
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<HlsManifestCreateOrUpdateParameters> 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.
|
CmafPackageCreateOrUpdateParameters |
withEncryption(CmafEncryption encryption) |
CmafPackageCreateOrUpdateParameters |
withHlsManifests(Collection<HlsManifestCreateOrUpdateParameters> hlsManifests)
A list of HLS manifest configurations
|
CmafPackageCreateOrUpdateParameters |
withHlsManifests(HlsManifestCreateOrUpdateParameters... hlsManifests)
A list of HLS manifest configurations
|
CmafPackageCreateOrUpdateParameters |
withSegmentDurationSeconds(Integer segmentDurationSeconds)
Duration (in seconds) of each segment.
|
CmafPackageCreateOrUpdateParameters |
withSegmentPrefix(String segmentPrefix)
An optional custom string that is prepended to the name of each segment.
|
CmafPackageCreateOrUpdateParameters |
withStreamSelection(StreamSelection streamSelection) |
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)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.