Class CfnOriginEndpoint.DashDvbFontDownloadProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.CfnOriginEndpoint.DashDvbFontDownloadProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpoint.DashDvbFontDownloadProperty>
- Enclosing interface:
CfnOriginEndpoint.DashDvbFontDownloadProperty
@Stability(Stable)
public static final class CfnOriginEndpoint.DashDvbFontDownloadProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpoint.DashDvbFontDownloadProperty>
A builder for
CfnOriginEndpoint.DashDvbFontDownloadProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.fontFamily
(String fontFamily) Sets the value ofCfnOriginEndpoint.DashDvbFontDownloadProperty.getFontFamily()
Sets the value ofCfnOriginEndpoint.DashDvbFontDownloadProperty.getMimeType()
Sets the value ofCfnOriginEndpoint.DashDvbFontDownloadProperty.getUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fontFamily
@Stability(Stable) public CfnOriginEndpoint.DashDvbFontDownloadProperty.Builder fontFamily(String fontFamily) Sets the value ofCfnOriginEndpoint.DashDvbFontDownloadProperty.getFontFamily()
- Parameters:
fontFamily
- ThefontFamily
name for subtitles, as described in EBU-TT-D Subtitling Distribution Format .- Returns:
this
-
mimeType
@Stability(Stable) public CfnOriginEndpoint.DashDvbFontDownloadProperty.Builder mimeType(String mimeType) Sets the value ofCfnOriginEndpoint.DashDvbFontDownloadProperty.getMimeType()
- Parameters:
mimeType
- ThemimeType
of 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
Sets the value ofCfnOriginEndpoint.DashDvbFontDownloadProperty.getUrl()
- Parameters:
url
- The URL for downloading fonts for subtitles.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOriginEndpoint.DashDvbFontDownloadProperty>
- Returns:
- a new instance of
CfnOriginEndpoint.DashDvbFontDownloadProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-