Class OriginEndpoint.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<OriginEndpoint>
- Enclosing class:
OriginEndpoint
OriginEndpoint.-
Method Summary
Modifier and TypeMethodDescriptionbuild()cdnAuth(CdnAuthConfiguration cdnAuth) (experimental) Provide access to MediaPackage V2 Origin Endpoint via secret header.(experimental) The channel associated with the origin endpoint.static OriginEndpoint.Builderdescription(String description) (experimental) The description associated with the origin endpoint.forceEndpointConfigurationConditions(List<? extends EndpointErrorConfiguration> forceEndpointConfigurationConditions) (experimental) The failover settings for the endpoint.(experimental) Manifests configuration for HLS, Low Latency HLS and DASH.originEndpointName(String originEndpointName) (experimental) The name of the origin endpoint associated with the origin endpoint configuration.removalPolicy(RemovalPolicy removalPolicy) (experimental) Policy to apply when the origin endpoint is removed from the stack.segment(SegmentConfiguration segment) (experimental) The segment associated with the origin endpoint.startoverWindow(Duration startoverWindow) (experimental) The size of the window to specify a window of the live stream that's available for on-demand viewing.(experimental) The tags associated with the origin endpoint.
-
Method Details
-
create
@Stability(Experimental) public static OriginEndpoint.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- This parameter is required.id- This parameter is required.- Returns:
- a new instance of
OriginEndpoint.Builder.
-
manifests
@Stability(Experimental) public OriginEndpoint.Builder manifests(List<? extends Manifest> manifests) (experimental) Manifests configuration for HLS, Low Latency HLS and DASH.- Parameters:
manifests- Manifests configuration for HLS, Low Latency HLS and DASH. This parameter is required.- Returns:
this
-
segment
(experimental) The segment associated with the origin endpoint.Inside the segment configuration you can define options such as encryption, SPEKE parameters and other general segment configurations.
Use Segment.ts() or Segment.cmaf() to create the configuration.
- Parameters:
segment- The segment associated with the origin endpoint. This parameter is required.- Returns:
this
-
cdnAuth
(experimental) Provide access to MediaPackage V2 Origin Endpoint via secret header.Default: undefined - Not configured on endpoint
- Parameters:
cdnAuth- Provide access to MediaPackage V2 Origin Endpoint via secret header. This parameter is required.- Returns:
this
-
description
(experimental) The description associated with the origin endpoint.Default: undefined - No description is added to Origin Endpoint
- Parameters:
description- The description associated with the origin endpoint. This parameter is required.- Returns:
this
-
forceEndpointConfigurationConditions
@Stability(Experimental) public OriginEndpoint.Builder forceEndpointConfigurationConditions(List<? extends EndpointErrorConfiguration> forceEndpointConfigurationConditions) (experimental) The failover settings for the endpoint.Default: undefined - No force endpoint configuration is configured
- Parameters:
forceEndpointConfigurationConditions- The failover settings for the endpoint. This parameter is required.- Returns:
this
-
originEndpointName
@Stability(Experimental) public OriginEndpoint.Builder originEndpointName(String originEndpointName) (experimental) The name of the origin endpoint associated with the origin endpoint configuration.Default: autogenerated
- Parameters:
originEndpointName- The name of the origin endpoint associated with the origin endpoint configuration. This parameter is required.- Returns:
this
-
removalPolicy
(experimental) Policy to apply when the origin endpoint is removed from the stack.Even though MediaPackage ChannelGroups, Channels and OriginEndpoints are technically stateful, their contents are transient and it is common to add and remove these while rearchitecting your application. The default is therefore
DESTROY. Change it toRETAINif the content (in a lookback window) are so valuable that accidentally losing it would be unacceptable.Default: RemovalPolicy.DESTROY
- Parameters:
removalPolicy- Policy to apply when the origin endpoint is removed from the stack. This parameter is required.- Returns:
this
-
startoverWindow
(experimental) The size of the window to specify a window of the live stream that's available for on-demand viewing.Viewers can start-over or catch-up on content that falls within the window.
Default: 900
- Parameters:
startoverWindow- The size of the window to specify a window of the live stream that's available for on-demand viewing. This parameter is required.- Returns:
this
-
tags
(experimental) The tags associated with the origin endpoint.Default: - No tagging
- Parameters:
tags- The tags associated with the origin endpoint. This parameter is required.- Returns:
this
-
channel
(experimental) The channel associated with the origin endpoint.- Parameters:
channel- The channel associated with the origin endpoint. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OriginEndpoint>- Returns:
- a newly built instance of
OriginEndpoint.
-