Class CfnOriginEndpoint.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackage.CfnOriginEndpoint.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpoint>
- Enclosing class:
CfnOriginEndpoint
@Stability(Stable)
public static final class CfnOriginEndpoint.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpoint>
A fluent builder for
CfnOriginEndpoint
.-
Method Summary
Modifier and TypeMethodDescriptionauthorization
(IResolvable authorization) Parameters for CDN authorization.authorization
(CfnOriginEndpoint.AuthorizationProperty authorization) Parameters for CDN authorization.build()
The ID of the channel associated with this endpoint.cmafPackage
(IResolvable cmafPackage) Parameters for Common Media Application Format (CMAF) packaging.cmafPackage
(CfnOriginEndpoint.CmafPackageProperty cmafPackage) Parameters for Common Media Application Format (CMAF) packaging.static CfnOriginEndpoint.Builder
dashPackage
(IResolvable dashPackage) Parameters for DASH packaging.dashPackage
(CfnOriginEndpoint.DashPackageProperty dashPackage) Parameters for DASH packaging.description
(String description) Any descriptive information that you want to add to the endpoint for future identification purposes.hlsPackage
(IResolvable hlsPackage) Parameters for Apple HLS packaging.hlsPackage
(CfnOriginEndpoint.HlsPackageProperty hlsPackage) Parameters for Apple HLS packaging.The manifest ID is required and must be unique within the OriginEndpoint.manifestName
(String manifestName) A short string that's appended to the end of the endpoint URL to create a unique path to this endpoint.mssPackage
(IResolvable mssPackage) Parameters for Microsoft Smooth Streaming packaging.mssPackage
(CfnOriginEndpoint.MssPackageProperty mssPackage) Parameters for Microsoft Smooth Streaming packaging.origination
(String origination) Controls video origination from this endpoint.startoverWindowSeconds
(Number startoverWindowSeconds) Maximum duration (seconds) of content to retain for startover playback.The tags to assign to the endpoint.timeDelaySeconds
(Number timeDelaySeconds) Minimum duration (seconds) of delay to enforce on the playback of live content.The IP addresses that can access this endpoint.
-
Method Details
-
create
@Stability(Stable) public static CfnOriginEndpoint.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnOriginEndpoint.Builder
.
-
channelId
The ID of the channel associated with this endpoint.- Parameters:
channelId
- The ID of the channel associated with this endpoint. This parameter is required.- Returns:
this
- See Also:
-
id
The manifest ID is required and must be unique within the OriginEndpoint.The ID can't be changed after the endpoint is created.
- Parameters:
id
- The manifest ID is required and must be unique within the OriginEndpoint. This parameter is required.- Returns:
this
- See Also:
-
authorization
Parameters for CDN authorization.- Parameters:
authorization
- Parameters for CDN authorization. This parameter is required.- Returns:
this
- See Also:
-
authorization
@Stability(Stable) public CfnOriginEndpoint.Builder authorization(CfnOriginEndpoint.AuthorizationProperty authorization) Parameters for CDN authorization.- Parameters:
authorization
- Parameters for CDN authorization. This parameter is required.- Returns:
this
- See Also:
-
cmafPackage
Parameters for Common Media Application Format (CMAF) packaging.- Parameters:
cmafPackage
- Parameters for Common Media Application Format (CMAF) packaging. This parameter is required.- Returns:
this
- See Also:
-
cmafPackage
@Stability(Stable) public CfnOriginEndpoint.Builder cmafPackage(CfnOriginEndpoint.CmafPackageProperty cmafPackage) Parameters for Common Media Application Format (CMAF) packaging.- Parameters:
cmafPackage
- Parameters for Common Media Application Format (CMAF) packaging. This parameter is required.- Returns:
this
- See Also:
-
dashPackage
Parameters for DASH packaging.- Parameters:
dashPackage
- Parameters for DASH packaging. This parameter is required.- Returns:
this
- See Also:
-
dashPackage
@Stability(Stable) public CfnOriginEndpoint.Builder dashPackage(CfnOriginEndpoint.DashPackageProperty dashPackage) Parameters for DASH packaging.- Parameters:
dashPackage
- Parameters for DASH packaging. This parameter is required.- Returns:
this
- See Also:
-
description
Any descriptive information that you want to add to the endpoint for future identification purposes.- Parameters:
description
- Any descriptive information that you want to add to the endpoint for future identification purposes. This parameter is required.- Returns:
this
- See Also:
-
hlsPackage
Parameters for Apple HLS packaging.- Parameters:
hlsPackage
- Parameters for Apple HLS packaging. This parameter is required.- Returns:
this
- See Also:
-
hlsPackage
@Stability(Stable) public CfnOriginEndpoint.Builder hlsPackage(CfnOriginEndpoint.HlsPackageProperty hlsPackage) Parameters for Apple HLS packaging.- Parameters:
hlsPackage
- Parameters for Apple HLS packaging. This parameter is required.- Returns:
this
- See Also:
-
manifestName
A short string that's appended to the end of the endpoint URL to create a unique path to this endpoint.- Parameters:
manifestName
- A short string that's appended to the end of the endpoint URL to create a unique path to this endpoint. This parameter is required.- Returns:
this
- See Also:
-
mssPackage
Parameters for Microsoft Smooth Streaming packaging.- Parameters:
mssPackage
- Parameters for Microsoft Smooth Streaming packaging. This parameter is required.- Returns:
this
- See Also:
-
mssPackage
@Stability(Stable) public CfnOriginEndpoint.Builder mssPackage(CfnOriginEndpoint.MssPackageProperty mssPackage) Parameters for Microsoft Smooth Streaming packaging.- Parameters:
mssPackage
- Parameters for Microsoft Smooth Streaming packaging. This parameter is required.- Returns:
this
- See Also:
-
origination
Controls video origination from this endpoint.Valid values:
ALLOW
- enables this endpoint to serve content to requesting devices.DENY
- prevents this endpoint from serving content. Denying origination is helpful for harvesting live-to-VOD assets. For more information about harvesting and origination, see Live-to-VOD Requirements .
- Parameters:
origination
- Controls video origination from this endpoint. This parameter is required.- Returns:
this
- See Also:
-
startoverWindowSeconds
@Stability(Stable) public CfnOriginEndpoint.Builder startoverWindowSeconds(Number startoverWindowSeconds) Maximum duration (seconds) of content to retain for startover playback.Omit this attribute or enter
0
to indicate that startover playback is disabled for this endpoint.- Parameters:
startoverWindowSeconds
- Maximum duration (seconds) of content to retain for startover playback. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags to assign to the endpoint.- Parameters:
tags
- The tags to assign to the endpoint. This parameter is required.- Returns:
this
- See Also:
-
timeDelaySeconds
Minimum duration (seconds) of delay to enforce on the playback of live content.Omit this attribute or enter
0
to indicate that there is no time delay in effect for this endpoint.- Parameters:
timeDelaySeconds
- Minimum duration (seconds) of delay to enforce on the playback of live content. This parameter is required.- Returns:
this
- See Also:
-
whitelist
The IP addresses that can access this endpoint.- Parameters:
whitelist
- The IP addresses that can access this endpoint. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOriginEndpoint>
- Returns:
- a newly built instance of
CfnOriginEndpoint
.
-