@Generated(value="software.amazon.awssdk:codegen") public final class CreateJobPlaylist extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreateJobPlaylist.Builder,CreateJobPlaylist>
Information about the master playlist.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateJobPlaylist.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateJobPlaylist.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
format()
The format of the output playlist.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasOutputKeys()
For responses, this returns true if the service returned a value for the OutputKeys property.
|
HlsContentProtection |
hlsContentProtection()
The HLS content protection settings, if any, that you want Elastic Transcoder to apply to the output files
associated with this playlist.
|
String |
name()
The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8.
|
List<String> |
outputKeys()
For each output in this job that you want to include in a master playlist, the value of the
Outputs:Key object. |
PlayReadyDrm |
playReadyDrm()
The DRM settings, if any, that you want Elastic Transcoder to apply to the output files associated with this
playlist.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateJobPlaylist.Builder> |
serializableBuilderClass() |
CreateJobPlaylist.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8. If
the name includes a / character, the section of the name before the last / must be
identical for all Name objects. If you create more than one master playlist, the values of all
Name objects must be unique.
Elastic Transcoder automatically appends the relevant file extension to the file name (.m3u8 for
HLSv3 and HLSv4 playlists, and .ism and .ismc for
Smooth playlists). If you include a file extension in Name, the file name will have two
extensions.
/ character, the section of the name before the
last / must be identical for all Name objects. If you create more than one
master playlist, the values of all Name objects must be unique.
Elastic Transcoder automatically appends the relevant file extension to the file name (.m3u8
for HLSv3 and HLSv4 playlists, and .ism and .ismc for
Smooth playlists). If you include a file extension in Name, the file name will
have two extensions.
public final String format()
The format of the output playlist. Valid formats include HLSv3, HLSv4, and
Smooth.
HLSv3, HLSv4, and
Smooth.public final boolean hasOutputKeys()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> outputKeys()
For each output in this job that you want to include in a master playlist, the value of the
Outputs:Key object.
If your output is not HLS or does not have a segment duration set, the name of the output file is a
concatenation of OutputKeyPrefix and Outputs:Key:
OutputKeyPrefixOutputs:Key
If your output is HLSv3 and has a segment duration set, or is not included in a playlist, Elastic
Transcoder creates an output playlist file with a file extension of .m3u8, and a series of
.ts files that include a five-digit sequential counter beginning with 00000:
OutputKeyPrefixOutputs:Key.m3u8
OutputKeyPrefixOutputs:Key00000.ts
If your output is HLSv4, has a segment duration set, and is included in an HLSv4
playlist, Elastic Transcoder creates an output playlist file with a file extension of _v4.m3u8. If
the output is video, Elastic Transcoder also creates an output file with an extension of
_iframe.m3u8:
OutputKeyPrefixOutputs:Key_v4.m3u8
OutputKeyPrefixOutputs:Key_iframe.m3u8
OutputKeyPrefixOutputs:Key.ts
Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.
If you include more than one output in a playlist, any segment duration settings, clip settings, or caption
settings must be the same for all outputs in the playlist. For Smooth playlists, the
Audio:Profile, Video:Profile, and Video:FrameRate to
Video:KeyframesMaxDist ratio must be the same for all outputs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasOutputKeys() method.
Outputs:Key object.
If your output is not HLS or does not have a segment duration set, the name of the output
file is a concatenation of OutputKeyPrefix and Outputs:Key:
OutputKeyPrefixOutputs:Key
If your output is HLSv3 and has a segment duration set, or is not included in a playlist,
Elastic Transcoder creates an output playlist file with a file extension of .m3u8, and a
series of .ts files that include a five-digit sequential counter beginning with 00000:
OutputKeyPrefixOutputs:Key.m3u8
OutputKeyPrefixOutputs:Key00000.ts
If your output is HLSv4, has a segment duration set, and is included in an
HLSv4 playlist, Elastic Transcoder creates an output playlist file with a file extension of
_v4.m3u8. If the output is video, Elastic Transcoder also creates an output file with an
extension of _iframe.m3u8:
OutputKeyPrefixOutputs:Key_v4.m3u8
OutputKeyPrefixOutputs:Key_iframe.m3u8
OutputKeyPrefixOutputs:Key.ts
Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.
If you include more than one output in a playlist, any segment duration settings, clip settings, or
caption settings must be the same for all outputs in the playlist. For Smooth playlists, the
Audio:Profile, Video:Profile, and Video:FrameRate to
Video:KeyframesMaxDist ratio must be the same for all outputs.
public final HlsContentProtection hlsContentProtection()
The HLS content protection settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.
public final PlayReadyDrm playReadyDrm()
The DRM settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.
public CreateJobPlaylist.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateJobPlaylist.Builder,CreateJobPlaylist>public static CreateJobPlaylist.Builder builder()
public static Class<? extends CreateJobPlaylist.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.