Class CfnOriginEndpointMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediapackage.CfnOriginEndpointMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpointMixinProps>
- Enclosing interface:
CfnOriginEndpointMixinProps
@Stability(Stable)
public static final class CfnOriginEndpointMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpointMixinProps>
A builder for
CfnOriginEndpointMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorization(CfnOriginEndpointPropsMixin.AuthorizationProperty authorization) Sets the value ofCfnOriginEndpointMixinProps.getAuthorization()authorization(IResolvable authorization) Sets the value ofCfnOriginEndpointMixinProps.getAuthorization()build()Builds the configured instance.Sets the value ofCfnOriginEndpointMixinProps.getChannelId()Sets the value ofCfnOriginEndpointMixinProps.getCmafPackage()cmafPackage(IResolvable cmafPackage) Sets the value ofCfnOriginEndpointMixinProps.getCmafPackage()Sets the value ofCfnOriginEndpointMixinProps.getDashPackage()dashPackage(IResolvable dashPackage) Sets the value ofCfnOriginEndpointMixinProps.getDashPackage()description(String description) Sets the value ofCfnOriginEndpointMixinProps.getDescription()Sets the value ofCfnOriginEndpointMixinProps.getHlsPackage()hlsPackage(IResolvable hlsPackage) Sets the value ofCfnOriginEndpointMixinProps.getHlsPackage()Sets the value ofCfnOriginEndpointMixinProps.getId()manifestName(String manifestName) Sets the value ofCfnOriginEndpointMixinProps.getManifestName()Sets the value ofCfnOriginEndpointMixinProps.getMssPackage()mssPackage(IResolvable mssPackage) Sets the value ofCfnOriginEndpointMixinProps.getMssPackage()origination(String origination) Sets the value ofCfnOriginEndpointMixinProps.getOrigination()startoverWindowSeconds(Number startoverWindowSeconds) Sets the value ofCfnOriginEndpointMixinProps.getStartoverWindowSeconds()Sets the value ofCfnOriginEndpointMixinProps.getTags()timeDelaySeconds(Number timeDelaySeconds) Sets the value ofCfnOriginEndpointMixinProps.getTimeDelaySeconds()Sets the value ofCfnOriginEndpointMixinProps.getWhitelist()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorization
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder authorization(IResolvable authorization) Sets the value ofCfnOriginEndpointMixinProps.getAuthorization()- Parameters:
authorization- Parameters for CDN authorization.- Returns:
this
-
authorization
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder authorization(CfnOriginEndpointPropsMixin.AuthorizationProperty authorization) Sets the value ofCfnOriginEndpointMixinProps.getAuthorization()- Parameters:
authorization- Parameters for CDN authorization.- Returns:
this
-
channelId
Sets the value ofCfnOriginEndpointMixinProps.getChannelId()- Parameters:
channelId- The ID of the channel associated with this endpoint.- Returns:
this
-
cmafPackage
Sets the value ofCfnOriginEndpointMixinProps.getCmafPackage()- Parameters:
cmafPackage- Parameters for Common Media Application Format (CMAF) packaging.- Returns:
this
-
cmafPackage
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder cmafPackage(CfnOriginEndpointPropsMixin.CmafPackageProperty cmafPackage) Sets the value ofCfnOriginEndpointMixinProps.getCmafPackage()- Parameters:
cmafPackage- Parameters for Common Media Application Format (CMAF) packaging.- Returns:
this
-
dashPackage
Sets the value ofCfnOriginEndpointMixinProps.getDashPackage()- Parameters:
dashPackage- Parameters for DASH packaging.- Returns:
this
-
dashPackage
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder dashPackage(CfnOriginEndpointPropsMixin.DashPackageProperty dashPackage) Sets the value ofCfnOriginEndpointMixinProps.getDashPackage()- Parameters:
dashPackage- Parameters for DASH packaging.- Returns:
this
-
description
Sets the value ofCfnOriginEndpointMixinProps.getDescription()- Parameters:
description- Any descriptive information that you want to add to the endpoint for future identification purposes.- Returns:
this
-
hlsPackage
Sets the value ofCfnOriginEndpointMixinProps.getHlsPackage()- Parameters:
hlsPackage- Parameters for Apple HLS packaging.- Returns:
this
-
hlsPackage
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder hlsPackage(CfnOriginEndpointPropsMixin.HlsPackageProperty hlsPackage) Sets the value ofCfnOriginEndpointMixinProps.getHlsPackage()- Parameters:
hlsPackage- Parameters for Apple HLS packaging.- Returns:
this
-
id
Sets the value ofCfnOriginEndpointMixinProps.getId()- Parameters:
id- The manifest ID is required and must be unique within the OriginEndpoint. The ID can't be changed after the endpoint is created.- Returns:
this
-
manifestName
Sets the value ofCfnOriginEndpointMixinProps.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 ofCfnOriginEndpointMixinProps.getMssPackage()- Parameters:
mssPackage- Parameters for Microsoft Smooth Streaming packaging.- Returns:
this
-
mssPackage
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder mssPackage(CfnOriginEndpointPropsMixin.MssPackageProperty mssPackage) Sets the value ofCfnOriginEndpointMixinProps.getMssPackage()- Parameters:
mssPackage- Parameters for Microsoft Smooth Streaming packaging.- Returns:
this
-
origination
Sets the value ofCfnOriginEndpointMixinProps.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 CfnOriginEndpointMixinProps.Builder startoverWindowSeconds(Number startoverWindowSeconds) Sets the value ofCfnOriginEndpointMixinProps.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 ofCfnOriginEndpointMixinProps.getTags()- Parameters:
tags- The tags to assign to the endpoint.- Returns:
this
-
timeDelaySeconds
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder timeDelaySeconds(Number timeDelaySeconds) Sets the value ofCfnOriginEndpointMixinProps.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 ofCfnOriginEndpointMixinProps.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<CfnOriginEndpointMixinProps>- Returns:
- a new instance of
CfnOriginEndpointMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-