Class CfnPlaybackConfiguration.DashConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediatailor.CfnPlaybackConfiguration.DashConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlaybackConfiguration.DashConfigurationProperty>
- Enclosing interface:
CfnPlaybackConfiguration.DashConfigurationProperty
@Stability(Stable)
public static final class CfnPlaybackConfiguration.DashConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlaybackConfiguration.DashConfigurationProperty>
A builder for
CfnPlaybackConfiguration.DashConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.manifestEndpointPrefix
(String manifestEndpointPrefix) mpdLocation
(String mpdLocation) Sets the value ofCfnPlaybackConfiguration.DashConfigurationProperty.getMpdLocation()
originManifestType
(String originManifestType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
manifestEndpointPrefix
@Stability(Stable) public CfnPlaybackConfiguration.DashConfigurationProperty.Builder manifestEndpointPrefix(String manifestEndpointPrefix) - Parameters:
manifestEndpointPrefix
- The URL generated by MediaTailor to initiate a playback session. The session uses server-side reporting. This setting is ignored in PUT operations.- Returns:
this
-
mpdLocation
@Stability(Stable) public CfnPlaybackConfiguration.DashConfigurationProperty.Builder mpdLocation(String mpdLocation) Sets the value ofCfnPlaybackConfiguration.DashConfigurationProperty.getMpdLocation()
- Parameters:
mpdLocation
- The setting that controls whether MediaTailor includes the Location tag in DASH manifests. MediaTailor populates the Location tag with the URL for manifest update requests, to be used by players that don't support sticky redirects. Disable this if you have CDN routing rules set up for accessing MediaTailor manifests, and you are either using client-side reporting or your players support sticky HTTP redirects. Valid values areDISABLED
andEMT_DEFAULT
. TheEMT_DEFAULT
setting enables the inclusion of the tag and is the default value.- Returns:
this
-
originManifestType
@Stability(Stable) public CfnPlaybackConfiguration.DashConfigurationProperty.Builder originManifestType(String originManifestType) - Parameters:
originManifestType
- The setting that controls whether MediaTailor handles manifests from the origin server as multi-period manifests or single-period manifests. If your origin server produces single-period manifests, set this toSINGLE_PERIOD
. The default setting isMULTI_PERIOD
. For multi-period manifests, omit this setting or set it toMULTI_PERIOD
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPlaybackConfiguration.DashConfigurationProperty>
- Returns:
- a new instance of
CfnPlaybackConfiguration.DashConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-