Class CfnOriginEndpointMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediapackagev2.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 TypeMethodDescriptionbuild()Builds the configured instance.channelGroupName(String channelGroupName) Sets the value ofCfnOriginEndpointMixinProps.getChannelGroupName()channelName(String channelName) Sets the value ofCfnOriginEndpointMixinProps.getChannelName()containerType(String containerType) Sets the value ofCfnOriginEndpointMixinProps.getContainerType()dashManifests(List<? extends Object> dashManifests) Sets the value ofCfnOriginEndpointMixinProps.getDashManifests()dashManifests(IResolvable dashManifests) Sets the value ofCfnOriginEndpointMixinProps.getDashManifests()description(String description) Sets the value ofCfnOriginEndpointMixinProps.getDescription()forceEndpointErrorConfiguration(CfnOriginEndpointPropsMixin.ForceEndpointErrorConfigurationProperty forceEndpointErrorConfiguration) Sets the value ofCfnOriginEndpointMixinProps.getForceEndpointErrorConfiguration()forceEndpointErrorConfiguration(IResolvable forceEndpointErrorConfiguration) Sets the value ofCfnOriginEndpointMixinProps.getForceEndpointErrorConfiguration()hlsManifests(List<? extends Object> hlsManifests) Sets the value ofCfnOriginEndpointMixinProps.getHlsManifests()hlsManifests(IResolvable hlsManifests) Sets the value ofCfnOriginEndpointMixinProps.getHlsManifests()lowLatencyHlsManifests(List<? extends Object> lowLatencyHlsManifests) Sets the value ofCfnOriginEndpointMixinProps.getLowLatencyHlsManifests()lowLatencyHlsManifests(IResolvable lowLatencyHlsManifests) Sets the value ofCfnOriginEndpointMixinProps.getLowLatencyHlsManifests()mssManifests(List<? extends Object> mssManifests) Sets the value ofCfnOriginEndpointMixinProps.getMssManifests()mssManifests(IResolvable mssManifests) Sets the value ofCfnOriginEndpointMixinProps.getMssManifests()originEndpointName(String originEndpointName) Sets the value ofCfnOriginEndpointMixinProps.getOriginEndpointName()Sets the value ofCfnOriginEndpointMixinProps.getSegment()segment(IResolvable segment) Sets the value ofCfnOriginEndpointMixinProps.getSegment()startoverWindowSeconds(Number startoverWindowSeconds) Sets the value ofCfnOriginEndpointMixinProps.getStartoverWindowSeconds()Sets the value ofCfnOriginEndpointMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelGroupName
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder channelGroupName(String channelGroupName) Sets the value ofCfnOriginEndpointMixinProps.getChannelGroupName()- Parameters:
channelGroupName- The name of the channel group associated with the origin endpoint configuration.- Returns:
this
-
channelName
Sets the value ofCfnOriginEndpointMixinProps.getChannelName()- Parameters:
channelName- The channel name associated with the origin endpoint.- Returns:
this
-
containerType
Sets the value ofCfnOriginEndpointMixinProps.getContainerType()- Parameters:
containerType- The container type associated with the origin endpoint configuration.- Returns:
this
-
dashManifests
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder dashManifests(IResolvable dashManifests) Sets the value ofCfnOriginEndpointMixinProps.getDashManifests()- Parameters:
dashManifests- A DASH manifest configuration.- Returns:
this
-
dashManifests
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder dashManifests(List<? extends Object> dashManifests) Sets the value ofCfnOriginEndpointMixinProps.getDashManifests()- Parameters:
dashManifests- A DASH manifest configuration.- Returns:
this
-
description
Sets the value ofCfnOriginEndpointMixinProps.getDescription()- Parameters:
description- The description associated with the origin endpoint.- Returns:
this
-
forceEndpointErrorConfiguration
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder forceEndpointErrorConfiguration(IResolvable forceEndpointErrorConfiguration) Sets the value ofCfnOriginEndpointMixinProps.getForceEndpointErrorConfiguration()- Parameters:
forceEndpointErrorConfiguration- The failover settings for the endpoint.- Returns:
this
-
forceEndpointErrorConfiguration
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder forceEndpointErrorConfiguration(CfnOriginEndpointPropsMixin.ForceEndpointErrorConfigurationProperty forceEndpointErrorConfiguration) Sets the value ofCfnOriginEndpointMixinProps.getForceEndpointErrorConfiguration()- Parameters:
forceEndpointErrorConfiguration- The failover settings for the endpoint.- Returns:
this
-
hlsManifests
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder hlsManifests(IResolvable hlsManifests) Sets the value ofCfnOriginEndpointMixinProps.getHlsManifests()- Parameters:
hlsManifests- The HLS manifests associated with the origin endpoint configuration.- Returns:
this
-
hlsManifests
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder hlsManifests(List<? extends Object> hlsManifests) Sets the value ofCfnOriginEndpointMixinProps.getHlsManifests()- Parameters:
hlsManifests- The HLS manifests associated with the origin endpoint configuration.- Returns:
this
-
lowLatencyHlsManifests
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder lowLatencyHlsManifests(IResolvable lowLatencyHlsManifests) Sets the value ofCfnOriginEndpointMixinProps.getLowLatencyHlsManifests()- Parameters:
lowLatencyHlsManifests- The low-latency HLS (LL-HLS) manifests associated with the origin endpoint.- Returns:
this
-
lowLatencyHlsManifests
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder lowLatencyHlsManifests(List<? extends Object> lowLatencyHlsManifests) Sets the value ofCfnOriginEndpointMixinProps.getLowLatencyHlsManifests()- Parameters:
lowLatencyHlsManifests- The low-latency HLS (LL-HLS) manifests associated with the origin endpoint.- Returns:
this
-
mssManifests
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder mssManifests(IResolvable mssManifests) Sets the value ofCfnOriginEndpointMixinProps.getMssManifests()- Parameters:
mssManifests- A list of Microsoft Smooth Streaming (MSS) manifest configurations associated with the origin endpoint. Each configuration represents a different MSS streaming option available from this endpoint.- Returns:
this
-
mssManifests
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder mssManifests(List<? extends Object> mssManifests) Sets the value ofCfnOriginEndpointMixinProps.getMssManifests()- Parameters:
mssManifests- A list of Microsoft Smooth Streaming (MSS) manifest configurations associated with the origin endpoint. Each configuration represents a different MSS streaming option available from this endpoint.- Returns:
this
-
originEndpointName
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder originEndpointName(String originEndpointName) Sets the value ofCfnOriginEndpointMixinProps.getOriginEndpointName()- Parameters:
originEndpointName- The name of the origin endpoint associated with the origin endpoint configuration.- Returns:
this
-
segment
Sets the value ofCfnOriginEndpointMixinProps.getSegment()- Parameters:
segment- The segment associated with the origin endpoint.- Returns:
this
-
segment
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder segment(CfnOriginEndpointPropsMixin.SegmentProperty segment) Sets the value ofCfnOriginEndpointMixinProps.getSegment()- Parameters:
segment- The segment associated with the origin endpoint.- Returns:
this
-
startoverWindowSeconds
@Stability(Stable) public CfnOriginEndpointMixinProps.Builder startoverWindowSeconds(Number startoverWindowSeconds) Sets the value ofCfnOriginEndpointMixinProps.getStartoverWindowSeconds()- Parameters:
startoverWindowSeconds- The size of the window (in seconds) to specify a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window.- Returns:
this
-
tags
Sets the value ofCfnOriginEndpointMixinProps.getTags()- Parameters:
tags- The tags associated with the origin 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
-