public static interface CmafPackage.Builder extends SdkPojo, CopyableBuilder<CmafPackage.Builder,CmafPackage>
| Modifier and Type | Method and Description |
|---|---|
CmafPackage.Builder |
encryption(CmafEncryption encryption)
Sets the value of the Encryption property for this object.
|
default CmafPackage.Builder |
encryption(Consumer<CmafEncryption.Builder> encryption)
Sets the value of the Encryption property for this object.
|
CmafPackage.Builder |
hlsManifests(Collection<HlsManifest> hlsManifests)
A list of HLS manifest configurations
|
CmafPackage.Builder |
hlsManifests(Consumer<HlsManifest.Builder>... hlsManifests)
A list of HLS manifest configurations This is a convenience that creates an instance of the
avoiding the need to create one manually via List. |
CmafPackage.Builder |
hlsManifests(HlsManifest... hlsManifests)
A list of HLS manifest configurations
|
CmafPackage.Builder |
segmentDurationSeconds(Integer segmentDurationSeconds)
Duration (in seconds) of each segment.
|
CmafPackage.Builder |
segmentPrefix(String segmentPrefix)
An optional custom string that is prepended to the name of each segment.
|
default CmafPackage.Builder |
streamSelection(Consumer<StreamSelection.Builder> streamSelection)
Sets the value of the StreamSelection property for this object.
|
CmafPackage.Builder |
streamSelection(StreamSelection streamSelection)
Sets the value of the StreamSelection property for this object.
|
copyapplyMutation, buildCmafPackage.Builder encryption(CmafEncryption encryption)
encryption - The new value for the Encryption property for this object.default CmafPackage.Builder encryption(Consumer<CmafEncryption.Builder> encryption)
CmafEncryption.Builder avoiding the need to
create one manually via CmafEncryption.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to encryption(CmafEncryption).encryption - a consumer that will call methods on CmafEncryption.Builderencryption(CmafEncryption)CmafPackage.Builder hlsManifests(Collection<HlsManifest> hlsManifests)
hlsManifests - A list of HLS manifest configurationsCmafPackage.Builder hlsManifests(HlsManifest... hlsManifests)
hlsManifests - A list of HLS manifest configurationsCmafPackage.Builder hlsManifests(Consumer<HlsManifest.Builder>... hlsManifests)
.Builder avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #hlsManifests(List) .hlsManifests - a consumer that will call methods on List.Builder #hlsManifests(List) CmafPackage.Builder segmentDurationSeconds(Integer segmentDurationSeconds)
segmentDurationSeconds - Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the
source segment duration.CmafPackage.Builder segmentPrefix(String segmentPrefix)
segmentPrefix - An optional custom string that is prepended to the name of each segment. If not specified, it defaults
to the ChannelId.CmafPackage.Builder streamSelection(StreamSelection streamSelection)
streamSelection - The new value for the StreamSelection property for this object.default CmafPackage.Builder streamSelection(Consumer<StreamSelection.Builder> streamSelection)
StreamSelection.Builder avoiding the need to
create one manually via StreamSelection.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to streamSelection(StreamSelection).streamSelection - a consumer that will call methods on StreamSelection.BuilderstreamSelection(StreamSelection)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.