Class HlsManifestConfiguration.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.alpha.HlsManifestConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HlsManifestConfiguration>
- Enclosing interface:
HlsManifestConfiguration
@Stability(Experimental)
public static final class HlsManifestConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<HlsManifestConfiguration>
A builder for
HlsManifestConfiguration-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.childManifestName(String childManifestName) Sets the value ofHlsManifestConfiguration.getChildManifestName()filterConfiguration(FilterConfiguration filterConfiguration) Sets the value ofHlsManifestConfiguration.getFilterConfiguration()manifestName(String manifestName) Sets the value ofHlsManifestConfiguration.getManifestName()manifestWindow(Duration manifestWindow) Sets the value ofHlsManifestConfiguration.getManifestWindow()programDateTimeInterval(Duration programDateTimeInterval) Sets the value ofHlsManifestConfiguration.getProgramDateTimeInterval()scteAdMarkerHls(AdMarkerHls scteAdMarkerHls) Sets the value ofHlsManifestConfiguration.getScteAdMarkerHls()Sets the value ofHlsManifestConfiguration.getStartTag()urlEncodeChildManifest(Boolean urlEncodeChildManifest) Sets the value ofHlsManifestConfiguration.getUrlEncodeChildManifest()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
manifestName
Sets the value ofHlsManifestConfiguration.getManifestName()- Parameters:
manifestName- The name of the manifest associated with the HLS manifest configuration. This parameter is required.- Returns:
this
-
childManifestName
@Stability(Experimental) public HlsManifestConfiguration.Builder childManifestName(String childManifestName) Sets the value ofHlsManifestConfiguration.getChildManifestName()- Parameters:
childManifestName- The name of the child manifest associated with the HLS manifest configuration.- Returns:
this
-
filterConfiguration
@Stability(Experimental) public HlsManifestConfiguration.Builder filterConfiguration(FilterConfiguration filterConfiguration) Sets the value ofHlsManifestConfiguration.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 HlsManifestConfiguration.Builder manifestWindow(Duration manifestWindow) Sets the value ofHlsManifestConfiguration.getManifestWindow()- Parameters:
manifestWindow- The total duration (in seconds) of the manifest's content.- Returns:
this
-
programDateTimeInterval
@Stability(Experimental) public HlsManifestConfiguration.Builder programDateTimeInterval(Duration programDateTimeInterval) Sets the value ofHlsManifestConfiguration.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 HlsManifestConfiguration.Builder scteAdMarkerHls(AdMarkerHls scteAdMarkerHls) Sets the value ofHlsManifestConfiguration.getScteAdMarkerHls()- Parameters:
scteAdMarkerHls- The SCTE-35 HLS configuration associated with the HLS manifest configuration of the origin endpoint.- Returns:
this
-
startTag
Sets the value ofHlsManifestConfiguration.getStartTag()- Parameters:
startTag- Insert EXT-X-START tag in the manifest with the configured settings.- Returns:
this
-
urlEncodeChildManifest
@Stability(Experimental) public HlsManifestConfiguration.Builder urlEncodeChildManifest(Boolean urlEncodeChildManifest) Sets the value ofHlsManifestConfiguration.getUrlEncodeChildManifest()- Parameters:
urlEncodeChildManifest- When enabled, MediaPackage URL-encodes the query string for API requests for 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<HlsManifestConfiguration>- Returns:
- a new instance of
HlsManifestConfiguration - Throws:
NullPointerException- if any required attribute was not provided
-