public static final class CfnOriginEndpoint.Builder
extends java.lang.Object
CfnOriginEndpoint
.Modifier and Type | Method and Description |
---|---|
CfnOriginEndpoint.Builder |
authorization(CfnOriginEndpoint.AuthorizationProperty authorization)
Parameters for CDN authorization.
|
CfnOriginEndpoint.Builder |
authorization(IResolvable authorization)
Parameters for CDN authorization.
|
CfnOriginEndpoint |
build() |
CfnOriginEndpoint.Builder |
channelId(java.lang.String channelId)
The ID of the channel associated with this endpoint.
|
CfnOriginEndpoint.Builder |
cmafPackage(CfnOriginEndpoint.CmafPackageProperty cmafPackage)
Parameters for Common Media Application Format (CMAF) packaging.
|
CfnOriginEndpoint.Builder |
cmafPackage(IResolvable cmafPackage)
Parameters for Common Media Application Format (CMAF) packaging.
|
static CfnOriginEndpoint.Builder |
create(Construct scope,
java.lang.String id) |
CfnOriginEndpoint.Builder |
dashPackage(CfnOriginEndpoint.DashPackageProperty dashPackage)
Parameters for DASH packaging.
|
CfnOriginEndpoint.Builder |
dashPackage(IResolvable dashPackage)
Parameters for DASH packaging.
|
CfnOriginEndpoint.Builder |
description(java.lang.String description)
Any descriptive information that you want to add to the endpoint for future identification purposes.
|
CfnOriginEndpoint.Builder |
hlsPackage(CfnOriginEndpoint.HlsPackageProperty hlsPackage)
Parameters for Apple HLS packaging.
|
CfnOriginEndpoint.Builder |
hlsPackage(IResolvable hlsPackage)
Parameters for Apple HLS packaging.
|
CfnOriginEndpoint.Builder |
id(java.lang.String id)
The manifest ID is required and must be unique within the OriginEndpoint.
|
CfnOriginEndpoint.Builder |
manifestName(java.lang.String manifestName)
A short string that's appended to the end of the endpoint URL to create a unique path to this endpoint.
|
CfnOriginEndpoint.Builder |
mssPackage(CfnOriginEndpoint.MssPackageProperty mssPackage)
Parameters for Microsoft Smooth Streaming packaging.
|
CfnOriginEndpoint.Builder |
mssPackage(IResolvable mssPackage)
Parameters for Microsoft Smooth Streaming packaging.
|
CfnOriginEndpoint.Builder |
origination(java.lang.String origination)
Controls video origination from this endpoint.
|
CfnOriginEndpoint.Builder |
startoverWindowSeconds(java.lang.Number startoverWindowSeconds)
Maximum duration (seconds) of content to retain for startover playback.
|
CfnOriginEndpoint.Builder |
tags(java.util.List<? extends CfnTag> tags)
The tags to assign to the endpoint.
|
CfnOriginEndpoint.Builder |
timeDelaySeconds(java.lang.Number timeDelaySeconds)
Minimum duration (seconds) of delay to enforce on the playback of live content.
|
CfnOriginEndpoint.Builder |
whitelist(java.util.List<java.lang.String> whitelist)
The IP addresses that can access this endpoint.
|
public static CfnOriginEndpoint.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnOriginEndpoint.AuthorizationProperty.Builder
.public CfnOriginEndpoint.Builder channelId(java.lang.String channelId)
channelId
- The ID of the channel associated with this endpoint. This parameter is required.this
public CfnOriginEndpoint.Builder id(java.lang.String id)
The ID can't be changed after the endpoint is created.
id
- The manifest ID is required and must be unique within the OriginEndpoint. This parameter is required.this
public CfnOriginEndpoint.Builder authorization(IResolvable authorization)
authorization
- Parameters for CDN authorization. This parameter is required.this
public CfnOriginEndpoint.Builder authorization(CfnOriginEndpoint.AuthorizationProperty authorization)
authorization
- Parameters for CDN authorization. This parameter is required.this
public CfnOriginEndpoint.Builder cmafPackage(IResolvable cmafPackage)
cmafPackage
- Parameters for Common Media Application Format (CMAF) packaging. This parameter is required.this
public CfnOriginEndpoint.Builder cmafPackage(CfnOriginEndpoint.CmafPackageProperty cmafPackage)
cmafPackage
- Parameters for Common Media Application Format (CMAF) packaging. This parameter is required.this
public CfnOriginEndpoint.Builder dashPackage(IResolvable dashPackage)
dashPackage
- Parameters for DASH packaging. This parameter is required.this
public CfnOriginEndpoint.Builder dashPackage(CfnOriginEndpoint.DashPackageProperty dashPackage)
dashPackage
- Parameters for DASH packaging. This parameter is required.this
public CfnOriginEndpoint.Builder description(java.lang.String description)
description
- Any descriptive information that you want to add to the endpoint for future identification purposes. This parameter is required.this
public CfnOriginEndpoint.Builder hlsPackage(IResolvable hlsPackage)
hlsPackage
- Parameters for Apple HLS packaging. This parameter is required.this
public CfnOriginEndpoint.Builder hlsPackage(CfnOriginEndpoint.HlsPackageProperty hlsPackage)
hlsPackage
- Parameters for Apple HLS packaging. This parameter is required.this
public CfnOriginEndpoint.Builder manifestName(java.lang.String manifestName)
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.this
public CfnOriginEndpoint.Builder mssPackage(IResolvable mssPackage)
mssPackage
- Parameters for Microsoft Smooth Streaming packaging. This parameter is required.this
public CfnOriginEndpoint.Builder mssPackage(CfnOriginEndpoint.MssPackageProperty mssPackage)
mssPackage
- Parameters for Microsoft Smooth Streaming packaging. This parameter is required.this
public CfnOriginEndpoint.Builder origination(java.lang.String origination)
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 .origination
- Controls video origination from this endpoint. This parameter is required.this
public CfnOriginEndpoint.Builder startoverWindowSeconds(java.lang.Number startoverWindowSeconds)
Omit this attribute or enter 0
to indicate that startover playback is disabled for this endpoint.
startoverWindowSeconds
- Maximum duration (seconds) of content to retain for startover playback. This parameter is required.this
public CfnOriginEndpoint.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- The tags to assign to the endpoint. This parameter is required.this
public CfnOriginEndpoint.Builder timeDelaySeconds(java.lang.Number timeDelaySeconds)
Omit this attribute or enter 0
to indicate that there is no time delay in effect for this endpoint
timeDelaySeconds
- Minimum duration (seconds) of delay to enforce on the playback of live content. This parameter is required.this
public CfnOriginEndpoint.Builder whitelist(java.util.List<java.lang.String> whitelist)
whitelist
- The IP addresses that can access this endpoint. This parameter is required.this
public CfnOriginEndpoint build()