Class VideoSelectorSettings.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.VideoSelectorSettings.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VideoSelectorSettings>
- Enclosing interface:
VideoSelectorSettings
@Stability(Experimental)
public static final class VideoSelectorSettings.Builder
extends Object
implements software.amazon.jsii.Builder<VideoSelectorSettings>
A builder for
VideoSelectorSettings-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.colorSpace(VideoColorSpace colorSpace) Sets the value ofVideoSelectorSettings.getColorSpace()colorSpaceUsage(VideoColorSpaceUsage colorSpaceUsage) Sets the value ofVideoSelectorSettings.getColorSpaceUsage()hdr10(Hdr10Settings hdr10) Sets the value ofVideoSelectorSettings.getHdr10()selectBy(VideoSelection selectBy) Sets the value ofVideoSelectorSettings.getSelectBy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
colorSpace
@Stability(Experimental) public VideoSelectorSettings.Builder colorSpace(VideoColorSpace colorSpace) Sets the value ofVideoSelectorSettings.getColorSpace()- Parameters:
colorSpace- The color space of the input video.- Returns:
this
-
colorSpaceUsage
@Stability(Experimental) public VideoSelectorSettings.Builder colorSpaceUsage(VideoColorSpaceUsage colorSpaceUsage) Sets the value ofVideoSelectorSettings.getColorSpaceUsage()- Parameters:
colorSpaceUsage- HowcolorSpaceis applied when it is notFOLLOW.- Returns:
this
-
hdr10
Sets the value ofVideoSelectorSettings.getHdr10()- Parameters:
hdr10- HDR10 color space metadata for the input.- Returns:
this
-
selectBy
Sets the value ofVideoSelectorSettings.getSelectBy()- Parameters:
selectBy- Selects the specific video to extract from the input (by PID or by program).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VideoSelectorSettings>- Returns:
- a new instance of
VideoSelectorSettings - Throws:
NullPointerException- if any required attribute was not provided
-