Class LowLatencyHlsManifestConfiguration.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.alpha.LowLatencyHlsManifestConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LowLatencyHlsManifestConfiguration>
- Enclosing interface:
LowLatencyHlsManifestConfiguration
@Stability(Experimental)
public static final class LowLatencyHlsManifestConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<LowLatencyHlsManifestConfiguration>
A builder for
LowLatencyHlsManifestConfiguration-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.childManifestName(String childManifestName) Sets the value ofLowLatencyHlsManifestConfiguration.getChildManifestName()filterConfiguration(FilterConfiguration filterConfiguration) Sets the value ofLowLatencyHlsManifestConfiguration.getFilterConfiguration()manifestName(String manifestName) Sets the value ofLowLatencyHlsManifestConfiguration.getManifestName()manifestWindow(Duration manifestWindow) Sets the value ofLowLatencyHlsManifestConfiguration.getManifestWindow()programDateTimeInterval(Duration programDateTimeInterval) Sets the value ofLowLatencyHlsManifestConfiguration.getProgramDateTimeInterval()scteAdMarkerHls(AdMarkerHls scteAdMarkerHls) Sets the value ofLowLatencyHlsManifestConfiguration.getScteAdMarkerHls()Sets the value ofLowLatencyHlsManifestConfiguration.getStartTag()urlEncodeChildManifest(Boolean urlEncodeChildManifest) Sets the value ofLowLatencyHlsManifestConfiguration.getUrlEncodeChildManifest()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
manifestName
@Stability(Experimental) public LowLatencyHlsManifestConfiguration.Builder manifestName(String manifestName) Sets the value ofLowLatencyHlsManifestConfiguration.getManifestName()- Parameters:
manifestName- A short string that's appended to the endpoint URL. This parameter is required. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.- Returns:
this
-
childManifestName
@Stability(Experimental) public LowLatencyHlsManifestConfiguration.Builder childManifestName(String childManifestName) Sets the value ofLowLatencyHlsManifestConfiguration.getChildManifestName()- Parameters:
childManifestName- The name of the child manifest associated with the low-latency HLS (LL-HLS) manifest configuration of the origin endpoint.- Returns:
this
-
filterConfiguration
@Stability(Experimental) public LowLatencyHlsManifestConfiguration.Builder filterConfiguration(FilterConfiguration filterConfiguration) Sets the value ofLowLatencyHlsManifestConfiguration.getFilterConfiguration()- Parameters:
filterConfiguration- Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest. https://docs.aws.amazon.com/mediapackage/latest/userguide/manifest-filter-query-parameters.html- Returns:
this
-
manifestWindow
@Stability(Experimental) public LowLatencyHlsManifestConfiguration.Builder manifestWindow(Duration manifestWindow) Sets the value ofLowLatencyHlsManifestConfiguration.getManifestWindow()- Parameters:
manifestWindow- The total duration (in seconds) of the manifest's content.- Returns:
this
-
programDateTimeInterval
@Stability(Experimental) public LowLatencyHlsManifestConfiguration.Builder programDateTimeInterval(Duration programDateTimeInterval) Sets the value ofLowLatencyHlsManifestConfiguration.getProgramDateTimeInterval()- Parameters:
programDateTimeInterval- Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player.- Returns:
this
-
scteAdMarkerHls
@Stability(Experimental) public LowLatencyHlsManifestConfiguration.Builder scteAdMarkerHls(AdMarkerHls scteAdMarkerHls) Sets the value ofLowLatencyHlsManifestConfiguration.getScteAdMarkerHls()- Parameters:
scteAdMarkerHls- The SCTE-35 HLS configuration associated with the low-latency HLS (LL-HLS) manifest configuration of the origin endpoint.- Returns:
this
-
startTag
@Stability(Experimental) public LowLatencyHlsManifestConfiguration.Builder startTag(StartTag startTag) Sets the value ofLowLatencyHlsManifestConfiguration.getStartTag()- Parameters:
startTag- Insert EXT-X-START tag in the manifest with the configured settings.- Returns:
this
-
urlEncodeChildManifest
@Stability(Experimental) public LowLatencyHlsManifestConfiguration.Builder urlEncodeChildManifest(Boolean urlEncodeChildManifest) Sets the value ofLowLatencyHlsManifestConfiguration.getUrlEncodeChildManifest()- Parameters:
urlEncodeChildManifest- When enabled, MediaPackage URL-encodes the query string for API requests for LL-HLS child manifests to comply with AWS Signature Version 4 (SigV4) signature signing protocol. For more information, see AWS Signature Version 4 for API requests in AWS Identity and Access Management User Guide.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LowLatencyHlsManifestConfiguration>- Returns:
- a new instance of
LowLatencyHlsManifestConfiguration - Throws:
NullPointerException- if any required attribute was not provided
-