Class CfnOriginEndpointPropsMixin.DashDvbFontDownloadProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.mediapackagev2.mixins.CfnOriginEndpointPropsMixin.DashDvbFontDownloadProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.DashDvbFontDownloadProperty>
- Enclosing interface:
CfnOriginEndpointPropsMixin.DashDvbFontDownloadProperty
@Stability(Stable)
public static final class CfnOriginEndpointPropsMixin.DashDvbFontDownloadProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.DashDvbFontDownloadProperty>
A builder for
CfnOriginEndpointPropsMixin.DashDvbFontDownloadProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fontFamily(String fontFamily) Sets the value ofCfnOriginEndpointPropsMixin.DashDvbFontDownloadProperty.getFontFamily()Sets the value ofCfnOriginEndpointPropsMixin.DashDvbFontDownloadProperty.getMimeType()Sets the value ofCfnOriginEndpointPropsMixin.DashDvbFontDownloadProperty.getUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fontFamily
@Stability(Stable) public CfnOriginEndpointPropsMixin.DashDvbFontDownloadProperty.Builder fontFamily(String fontFamily) Sets the value ofCfnOriginEndpointPropsMixin.DashDvbFontDownloadProperty.getFontFamily()- Parameters:
fontFamily- ThefontFamilyname for subtitles, as described in EBU-TT-D Subtitling Distribution Format .- Returns:
this
-
mimeType
@Stability(Stable) public CfnOriginEndpointPropsMixin.DashDvbFontDownloadProperty.Builder mimeType(String mimeType) Sets the value ofCfnOriginEndpointPropsMixin.DashDvbFontDownloadProperty.getMimeType()- Parameters:
mimeType- ThemimeTypeof the resource that's at the font download URL. For information about font MIME types, see the MPEG-DASH Profile for Transport of ISO BMFF Based DVB Services over IP Based Networks document.- Returns:
this
-
url
@Stability(Stable) public CfnOriginEndpointPropsMixin.DashDvbFontDownloadProperty.Builder url(String url) Sets the value ofCfnOriginEndpointPropsMixin.DashDvbFontDownloadProperty.getUrl()- Parameters:
url- The URL for downloading fonts for subtitles.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.DashDvbFontDownloadProperty>- Returns:
- a new instance of
CfnOriginEndpointPropsMixin.DashDvbFontDownloadProperty - Throws:
NullPointerException- if any required attribute was not provided
-