public static interface DashPackage.Builder extends CopyableBuilder<DashPackage.Builder,DashPackage>
Modifier and Type | Method and Description |
---|---|
default DashPackage.Builder |
encryption(Consumer<DashEncryption.Builder> encryption)
Sets the value of the Encryption property for this object.
|
DashPackage.Builder |
encryption(DashEncryption encryption)
Sets the value of the Encryption property for this object.
|
DashPackage.Builder |
manifestWindowSeconds(Integer manifestWindowSeconds)
Time window (in seconds) contained in each manifest.
|
DashPackage.Builder |
minBufferTimeSeconds(Integer minBufferTimeSeconds)
Minimum duration (in seconds) that a player will buffer media before starting the presentation.
|
DashPackage.Builder |
minUpdatePeriodSeconds(Integer minUpdatePeriodSeconds)
Minimum duration (in seconds) between potential changes to the Dynamic Adaptive Streaming over HTTP (DASH)
Media Presentation Description (MPD).
|
DashPackage.Builder |
profile(Profile profile)
The Dynamic Adaptive Streaming over HTTP (DASH) profile type.
|
DashPackage.Builder |
profile(String profile)
The Dynamic Adaptive Streaming over HTTP (DASH) profile type.
|
DashPackage.Builder |
segmentDurationSeconds(Integer segmentDurationSeconds)
Duration (in seconds) of each segment.
|
default DashPackage.Builder |
streamSelection(Consumer<StreamSelection.Builder> streamSelection)
Sets the value of the StreamSelection property for this object.
|
DashPackage.Builder |
streamSelection(StreamSelection streamSelection)
Sets the value of the StreamSelection property for this object.
|
DashPackage.Builder |
suggestedPresentationDelaySeconds(Integer suggestedPresentationDelaySeconds)
Duration (in seconds) to delay live content before presentation.
|
copy
applyMutation, build
DashPackage.Builder encryption(DashEncryption encryption)
encryption
- The new value for the Encryption property for this object.default DashPackage.Builder encryption(Consumer<DashEncryption.Builder> encryption)
DashEncryption.Builder
avoiding the need to
create one manually via DashEncryption.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to encryption(DashEncryption)
.encryption
- a consumer that will call methods on DashEncryption.Builder
encryption(DashEncryption)
DashPackage.Builder manifestWindowSeconds(Integer manifestWindowSeconds)
manifestWindowSeconds
- Time window (in seconds) contained in each manifest.DashPackage.Builder minBufferTimeSeconds(Integer minBufferTimeSeconds)
minBufferTimeSeconds
- Minimum duration (in seconds) that a player will buffer media before starting the presentation.DashPackage.Builder minUpdatePeriodSeconds(Integer minUpdatePeriodSeconds)
minUpdatePeriodSeconds
- Minimum duration (in seconds) between potential changes to the Dynamic Adaptive Streaming over HTTP
(DASH) Media Presentation Description (MPD).DashPackage.Builder profile(String profile)
DashPackage.Builder profile(Profile profile)
DashPackage.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.DashPackage.Builder streamSelection(StreamSelection streamSelection)
streamSelection
- The new value for the StreamSelection property for this object.default DashPackage.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.Builder
streamSelection(StreamSelection)
DashPackage.Builder suggestedPresentationDelaySeconds(Integer suggestedPresentationDelaySeconds)
suggestedPresentationDelaySeconds
- Duration (in seconds) to delay live content before presentation.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.