Class FmtpVideo.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.FmtpVideo.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FmtpVideo>
- Enclosing interface:
FmtpVideo
@Stability(Experimental)
public static final class FmtpVideo.Builder
extends Object
implements software.amazon.jsii.Builder<FmtpVideo>
A builder for
FmtpVideo-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.colorimetry(Colorimetry colorimetry) Sets the value ofFmtpVideo.getColorimetry()exactFramerate(Framerate exactFramerate) Sets the value ofFmtpVideo.getExactFramerate()par(PixelAspectRatio par) Sets the value ofFmtpVideo.getPar()Sets the value ofFmtpVideo.getScanMode()Sets the value ofFmtpVideo.getTcs()videoRange(VideoRange videoRange) Sets the value ofFmtpVideo.getVideoRange()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
colorimetry
Sets the value ofFmtpVideo.getColorimetry()- Parameters:
colorimetry- The format used for the representation of color.- Returns:
this
-
exactFramerate
Sets the value ofFmtpVideo.getExactFramerate()- Parameters:
exactFramerate- The frame rate for the video stream.- Returns:
this
-
par
Sets the value ofFmtpVideo.getPar()- Parameters:
par- The pixel aspect ratio (PAR) of the video — the shape of a single pixel, not the display aspect ratio. UsePixelAspectRatio.SQUAREfor most modern content.- Returns:
this
-
scanMode
Sets the value ofFmtpVideo.getScanMode()- Parameters:
scanMode- The type of compression that was used to smooth the video's appearance.- Returns:
this
-
tcs
Sets the value ofFmtpVideo.getTcs()- Parameters:
tcs- The transfer characteristic system (TCS) that is used in the video.- Returns:
this
-
videoRange
Sets the value ofFmtpVideo.getVideoRange()- Parameters:
videoRange- The encoding range of the video.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FmtpVideo>- Returns:
- a new instance of
FmtpVideo - Throws:
NullPointerException- if any required attribute was not provided
-