Class CfnPlaybackConfigurationPropsMixin.CdnConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediatailor.CfnPlaybackConfigurationPropsMixin.CdnConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlaybackConfigurationPropsMixin.CdnConfigurationProperty>
- Enclosing interface:
CfnPlaybackConfigurationPropsMixin.CdnConfigurationProperty
@Stability(Stable)
public static final class CfnPlaybackConfigurationPropsMixin.CdnConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlaybackConfigurationPropsMixin.CdnConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadSegmentUrlPrefix(String adSegmentUrlPrefix) build()Builds the configured instance.contentSegmentUrlPrefix(String contentSegmentUrlPrefix)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
adSegmentUrlPrefix
@Stability(Stable) public CfnPlaybackConfigurationPropsMixin.CdnConfigurationProperty.Builder adSegmentUrlPrefix(String adSegmentUrlPrefix) Sets the value ofCfnPlaybackConfigurationPropsMixin.CdnConfigurationProperty.getAdSegmentUrlPrefix()- Parameters:
adSegmentUrlPrefix- A non-default content delivery network (CDN) to serve ad segments. By default, AWS Elemental MediaTailor uses Amazon CloudFront with default cache settings as its CDN for ad segments. To set up an alternate CDN, create a rule in your CDN for the origin ads.mediatailor..amazonaws.com. Then specify the rule's name in this AdSegmentUrlPrefix. When AWS Elemental MediaTailor serves a manifest, it reports your CDN as the source for ad segments.- Returns:
this
-
contentSegmentUrlPrefix
@Stability(Stable) public CfnPlaybackConfigurationPropsMixin.CdnConfigurationProperty.Builder contentSegmentUrlPrefix(String contentSegmentUrlPrefix) Sets the value ofCfnPlaybackConfigurationPropsMixin.CdnConfigurationProperty.getContentSegmentUrlPrefix()- Parameters:
contentSegmentUrlPrefix- A content delivery network (CDN) to cache content segments, so that content requests don’t always have to go to the origin server. First, create a rule in your CDN for the content segment origin server. Then specify the rule's name in thisContentSegmentUrlPrefix. When AWS Elemental MediaTailor serves a manifest, it reports your CDN as the source for content segments.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlaybackConfigurationPropsMixin.CdnConfigurationProperty>- Returns:
- a new instance of
CfnPlaybackConfigurationPropsMixin.CdnConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-