Class CfnOriginEndpointProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackage.CfnOriginEndpointProps.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnOriginEndpointProps>
- Enclosing interface:
 - CfnOriginEndpointProps
 
@Stability(Stable)
public static final class CfnOriginEndpointProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpointProps>
A builder for 
CfnOriginEndpointProps- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionauthorization(IResolvable authorization) Sets the value ofCfnOriginEndpointProps.getAuthorization()authorization(CfnOriginEndpoint.AuthorizationProperty authorization) Sets the value ofCfnOriginEndpointProps.getAuthorization()build()Builds the configured instance.Sets the value ofCfnOriginEndpointProps.getChannelId()cmafPackage(IResolvable cmafPackage) Sets the value ofCfnOriginEndpointProps.getCmafPackage()cmafPackage(CfnOriginEndpoint.CmafPackageProperty cmafPackage) Sets the value ofCfnOriginEndpointProps.getCmafPackage()dashPackage(IResolvable dashPackage) Sets the value ofCfnOriginEndpointProps.getDashPackage()dashPackage(CfnOriginEndpoint.DashPackageProperty dashPackage) Sets the value ofCfnOriginEndpointProps.getDashPackage()description(String description) Sets the value ofCfnOriginEndpointProps.getDescription()hlsPackage(IResolvable hlsPackage) Sets the value ofCfnOriginEndpointProps.getHlsPackage()hlsPackage(CfnOriginEndpoint.HlsPackageProperty hlsPackage) Sets the value ofCfnOriginEndpointProps.getHlsPackage()Sets the value ofCfnOriginEndpointProps.getId()manifestName(String manifestName) Sets the value ofCfnOriginEndpointProps.getManifestName()mssPackage(IResolvable mssPackage) Sets the value ofCfnOriginEndpointProps.getMssPackage()mssPackage(CfnOriginEndpoint.MssPackageProperty mssPackage) Sets the value ofCfnOriginEndpointProps.getMssPackage()origination(String origination) Sets the value ofCfnOriginEndpointProps.getOrigination()startoverWindowSeconds(Number startoverWindowSeconds) Sets the value ofCfnOriginEndpointProps.getStartoverWindowSeconds()Sets the value ofCfnOriginEndpointProps.getTags()timeDelaySeconds(Number timeDelaySeconds) Sets the value ofCfnOriginEndpointProps.getTimeDelaySeconds()Sets the value ofCfnOriginEndpointProps.getWhitelist() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
channelId
Sets the value ofCfnOriginEndpointProps.getChannelId()- Parameters:
 channelId- The ID of the channel associated with this endpoint. This parameter is required.- Returns:
 this
 - 
id
Sets the value ofCfnOriginEndpointProps.getId()- Parameters:
 id- The manifest ID is required and must be unique within the OriginEndpoint. This parameter is required. The ID can't be changed after the endpoint is created.- Returns:
 this
 - 
authorization
Sets the value ofCfnOriginEndpointProps.getAuthorization()- Parameters:
 authorization- Parameters for CDN authorization.- Returns:
 this
 - 
authorization
@Stability(Stable) public CfnOriginEndpointProps.Builder authorization(CfnOriginEndpoint.AuthorizationProperty authorization) Sets the value ofCfnOriginEndpointProps.getAuthorization()- Parameters:
 authorization- Parameters for CDN authorization.- Returns:
 this
 - 
cmafPackage
Sets the value ofCfnOriginEndpointProps.getCmafPackage()- Parameters:
 cmafPackage- Parameters for Common Media Application Format (CMAF) packaging.- Returns:
 this
 - 
cmafPackage
@Stability(Stable) public CfnOriginEndpointProps.Builder cmafPackage(CfnOriginEndpoint.CmafPackageProperty cmafPackage) Sets the value ofCfnOriginEndpointProps.getCmafPackage()- Parameters:
 cmafPackage- Parameters for Common Media Application Format (CMAF) packaging.- Returns:
 this
 - 
dashPackage
Sets the value ofCfnOriginEndpointProps.getDashPackage()- Parameters:
 dashPackage- Parameters for DASH packaging.- Returns:
 this
 - 
dashPackage
@Stability(Stable) public CfnOriginEndpointProps.Builder dashPackage(CfnOriginEndpoint.DashPackageProperty dashPackage) Sets the value ofCfnOriginEndpointProps.getDashPackage()- Parameters:
 dashPackage- Parameters for DASH packaging.- Returns:
 this
 - 
description
Sets the value ofCfnOriginEndpointProps.getDescription()- Parameters:
 description- Any descriptive information that you want to add to the endpoint for future identification purposes.- Returns:
 this
 - 
hlsPackage
Sets the value ofCfnOriginEndpointProps.getHlsPackage()- Parameters:
 hlsPackage- Parameters for Apple HLS packaging.- Returns:
 this
 - 
hlsPackage
@Stability(Stable) public CfnOriginEndpointProps.Builder hlsPackage(CfnOriginEndpoint.HlsPackageProperty hlsPackage) Sets the value ofCfnOriginEndpointProps.getHlsPackage()- Parameters:
 hlsPackage- Parameters for Apple HLS packaging.- Returns:
 this
 - 
manifestName
Sets the value ofCfnOriginEndpointProps.getManifestName()- Parameters:
 manifestName- A short string that's appended to the end of the endpoint URL to create a unique path to this endpoint.- Returns:
 this
 - 
mssPackage
Sets the value ofCfnOriginEndpointProps.getMssPackage()- Parameters:
 mssPackage- Parameters for Microsoft Smooth Streaming packaging.- Returns:
 this
 - 
mssPackage
@Stability(Stable) public CfnOriginEndpointProps.Builder mssPackage(CfnOriginEndpoint.MssPackageProperty mssPackage) Sets the value ofCfnOriginEndpointProps.getMssPackage()- Parameters:
 mssPackage- Parameters for Microsoft Smooth Streaming packaging.- Returns:
 this
 - 
origination
Sets the value ofCfnOriginEndpointProps.getOrigination()- Parameters:
 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 .
- Returns:
 this
 - 
startoverWindowSeconds
@Stability(Stable) public CfnOriginEndpointProps.Builder startoverWindowSeconds(Number startoverWindowSeconds) Sets the value ofCfnOriginEndpointProps.getStartoverWindowSeconds()- Parameters:
 startoverWindowSeconds- Maximum duration (seconds) of content to retain for startover playback. Omit this attribute or enter0to indicate that startover playback is disabled for this endpoint.- Returns:
 this
 - 
tags
Sets the value ofCfnOriginEndpointProps.getTags()- Parameters:
 tags- The tags to assign to the endpoint.- Returns:
 this
 - 
timeDelaySeconds
Sets the value ofCfnOriginEndpointProps.getTimeDelaySeconds()- Parameters:
 timeDelaySeconds- Minimum duration (seconds) of delay to enforce on the playback of live content. Omit this attribute or enter0to indicate that there is no time delay in effect for this endpoint.- Returns:
 this
 - 
whitelist
Sets the value ofCfnOriginEndpointProps.getWhitelist()- Parameters:
 whitelist- The IP addresses that can access this endpoint.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnOriginEndpointProps>- Returns:
 - a new instance of 
CfnOriginEndpointProps - Throws:
 NullPointerException- if any required attribute was not provided
 
 -