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 SummaryModifier 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.BuilderdashPackage(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- Parameters:
- scope-- scope in which this resource is defined.
 
- id-- scoped id of the resource.
 
- Returns:
- a new instance of CfnOriginEndpoint.Builder.
 
- 
channelIdThe 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
 
- 
idThe 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
 
- 
authorizationParameters for CDN authorization.- Parameters:
- authorization- Parameters for CDN authorization. This parameter is required.
- Returns:
- this
 
- 
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
 
- 
cmafPackageParameters for Common Media Application Format (CMAF) packaging.- Parameters:
- cmafPackage- Parameters for Common Media Application Format (CMAF) packaging. This parameter is required.
- Returns:
- this
 
- 
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
 
- 
dashPackageParameters for DASH packaging.- Parameters:
- dashPackage- Parameters for DASH packaging. This parameter is required.
- Returns:
- this
 
- 
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
 
- 
descriptionAny 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
 
- 
hlsPackageParameters for Apple HLS packaging.- Parameters:
- hlsPackage- Parameters for Apple HLS packaging. This parameter is required.
- Returns:
- this
 
- 
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
 
- 
manifestNameA 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
 
- 
mssPackageParameters for Microsoft Smooth Streaming packaging.- Parameters:
- mssPackage- Parameters for Microsoft Smooth Streaming packaging. This parameter is required.
- Returns:
- this
 
- 
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
 
- 
originationControls 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
 
- 
startoverWindowSeconds@Stability(Stable) public CfnOriginEndpoint.Builder startoverWindowSeconds(Number startoverWindowSeconds) Maximum duration (seconds) of content to retain for startover playback.Omit this attribute or enter 0to 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
 
- 
tagsThe tags to assign to the endpoint.- Parameters:
- tags- The tags to assign to the endpoint. This parameter is required.
- Returns:
- this
 
- 
timeDelaySecondsMinimum duration (seconds) of delay to enforce on the playback of live content.Omit this attribute or enter 0to 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
 
- 
whitelistThe IP addresses that can access this endpoint.- Parameters:
- whitelist- The IP addresses that can access this endpoint. This parameter is required.
- Returns:
- this
 
- 
build- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnOriginEndpoint>
- Returns:
- a newly built instance of CfnOriginEndpoint.
 
 
-