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