Class CfnChannelPropsMixin.H265SettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnChannelPropsMixin.H265SettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.H265SettingsProperty>
- Enclosing interface:
CfnChannelPropsMixin.H265SettingsProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.H265SettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.H265SettingsProperty>
A builder for
CfnChannelPropsMixin.H265SettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadaptiveQuantization(String adaptiveQuantization) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getAdaptiveQuantization()afdSignaling(String afdSignaling) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getAfdSignaling()alternativeTransferFunction(String alternativeTransferFunction) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getBitrate()Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getBufSize()build()Builds the configured instance.colorMetadata(String colorMetadata) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getColorMetadata()colorSpaceSettings(CfnChannelPropsMixin.H265ColorSpaceSettingsProperty colorSpaceSettings) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getColorSpaceSettings()colorSpaceSettings(IResolvable colorSpaceSettings) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getColorSpaceSettings()deblocking(String deblocking) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getDeblocking()filterSettings(CfnChannelPropsMixin.H265FilterSettingsProperty filterSettings) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getFilterSettings()filterSettings(IResolvable filterSettings) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getFilterSettings()Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getFixedAfd()Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getFlickerAq()framerateDenominator(Number framerateDenominator) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getFramerateDenominator()framerateNumerator(Number framerateNumerator) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getFramerateNumerator()gopBReference(String gopBReference) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getGopBReference()gopClosedCadence(Number gopClosedCadence) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getGopClosedCadence()gopNumBFrames(Number gopNumBFrames) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getGopNumBFrames()Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getGopSize()gopSizeUnits(String gopSizeUnits) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getGopSizeUnits()Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getLevel()lookAheadRateControl(String lookAheadRateControl) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getLookAheadRateControl()maxBitrate(Number maxBitrate) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getMaxBitrate()minBitrate(Number minBitrate) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getMinBitrate()minIInterval(Number minIInterval) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getMinIInterval()Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getMinQp()mvOverPictureBoundaries(String mvOverPictureBoundaries) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getMvOverPictureBoundaries()mvTemporalPredictor(String mvTemporalPredictor) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getMvTemporalPredictor()parDenominator(Number parDenominator) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getParDenominator()parNumerator(Number parNumerator) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getParNumerator()Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getProfile()qvbrQualityLevel(Number qvbrQualityLevel) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getQvbrQualityLevel()rateControlMode(String rateControlMode) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getRateControlMode()Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getScanType()sceneChangeDetect(String sceneChangeDetect) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getSceneChangeDetect()Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getSlices()subgopLength(String subgopLength) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getSubgopLength()Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getTier()tileHeight(Number tileHeight) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getTileHeight()tilePadding(String tilePadding) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getTilePadding()Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getTileWidth()timecodeBurninSettings(CfnChannelPropsMixin.TimecodeBurninSettingsProperty timecodeBurninSettings) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getTimecodeBurninSettings()timecodeBurninSettings(IResolvable timecodeBurninSettings) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getTimecodeBurninSettings()timecodeInsertion(String timecodeInsertion) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getTimecodeInsertion()treeblockSize(String treeblockSize) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getTreeblockSize()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
adaptiveQuantization
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder adaptiveQuantization(String adaptiveQuantization) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getAdaptiveQuantization()- Parameters:
adaptiveQuantization- Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.- Returns:
this
-
afdSignaling
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder afdSignaling(String afdSignaling) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getAfdSignaling()- Parameters:
afdSignaling- Indicates that AFD values will be written into the output stream. If afdSignaling is "auto", the system will try to preserve the input AFD value (in cases where multiple AFD values are valid). If set to "fixed", the AFD value will be the value configured in the fixedAfd parameter.- Returns:
this
-
alternativeTransferFunction
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder alternativeTransferFunction(String alternativeTransferFunction) - Parameters:
alternativeTransferFunction- Whether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.- Returns:
this
-
bitrate
Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getBitrate()- Parameters:
bitrate- Average bitrate in bits/second. Required when the rate control mode is VBR or CBR. Not used for QVBR. In an MS Smooth output group, each output must have a unique value when its bitrate is rounded down to the nearest multiple of 1000.- Returns:
this
-
bufSize
Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getBufSize()- Parameters:
bufSize- Size of buffer (HRD buffer model) in bits.- Returns:
this
-
colorMetadata
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder colorMetadata(String colorMetadata) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getColorMetadata()- Parameters:
colorMetadata- Includes colorspace metadata in the output.- Returns:
this
-
colorSpaceSettings
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder colorSpaceSettings(IResolvable colorSpaceSettings) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getColorSpaceSettings()- Parameters:
colorSpaceSettings- Color Space settings.- Returns:
this
-
colorSpaceSettings
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder colorSpaceSettings(CfnChannelPropsMixin.H265ColorSpaceSettingsProperty colorSpaceSettings) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getColorSpaceSettings()- Parameters:
colorSpaceSettings- Color Space settings.- Returns:
this
-
deblocking
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder deblocking(String deblocking) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getDeblocking()- Parameters:
deblocking- the value to be set.- Returns:
this
-
filterSettings
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder filterSettings(IResolvable filterSettings) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getFilterSettings()- Parameters:
filterSettings- Optional filters that you can apply to an encode.- Returns:
this
-
filterSettings
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder filterSettings(CfnChannelPropsMixin.H265FilterSettingsProperty filterSettings) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getFilterSettings()- Parameters:
filterSettings- Optional filters that you can apply to an encode.- Returns:
this
-
fixedAfd
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder fixedAfd(String fixedAfd) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getFixedAfd()- Parameters:
fixedAfd- Four bit AFD value to write on all frames of video in the output stream. Only valid when afdSignaling is set to 'Fixed'.- Returns:
this
-
flickerAq
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder flickerAq(String flickerAq) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getFlickerAq()- Parameters:
flickerAq- If set to enabled, adjust quantization within each frame to reduce flicker or 'pop' on I-frames.- Returns:
this
-
framerateDenominator
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder framerateDenominator(Number framerateDenominator) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getFramerateDenominator()- Parameters:
framerateDenominator- Framerate denominator.- Returns:
this
-
framerateNumerator
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder framerateNumerator(Number framerateNumerator) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getFramerateNumerator()- Parameters:
framerateNumerator- Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.- Returns:
this
-
gopBReference
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder gopBReference(String gopBReference) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getGopBReference()- Parameters:
gopBReference- the value to be set.- Returns:
this
-
gopClosedCadence
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder gopClosedCadence(Number gopClosedCadence) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getGopClosedCadence()- Parameters:
gopClosedCadence- Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.- Returns:
this
-
gopNumBFrames
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder gopNumBFrames(Number gopNumBFrames) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getGopNumBFrames()- Parameters:
gopNumBFrames- the value to be set.- Returns:
this
-
gopSize
Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getGopSize()- Parameters:
gopSize- GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits. If gopSizeUnits is frames, gopSize must be an integer and must be greater than or equal to 1. If gopSizeUnits is seconds, gopSize must be greater than 0, but need not be an integer.- Returns:
this
-
gopSizeUnits
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder gopSizeUnits(String gopSizeUnits) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getGopSizeUnits()- Parameters:
gopSizeUnits- Indicates if the gopSize is specified in frames or seconds. If seconds the system will convert the gopSize into a frame count at run time.- Returns:
this
-
level
Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getLevel()- Parameters:
level- H.265 Level.- Returns:
this
-
lookAheadRateControl
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder lookAheadRateControl(String lookAheadRateControl) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getLookAheadRateControl()- Parameters:
lookAheadRateControl- Amount of lookahead. A value of low can decrease latency and memory usage, while high can produce better quality for certain content.- Returns:
this
-
maxBitrate
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder maxBitrate(Number maxBitrate) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getMaxBitrate()- Parameters:
maxBitrate- For QVBR: See the tooltip for Quality level.- Returns:
this
-
minBitrate
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder minBitrate(Number minBitrate) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getMinBitrate()- Parameters:
minBitrate- the value to be set.- Returns:
this
-
minIInterval
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder minIInterval(Number minIInterval) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getMinIInterval()- Parameters:
minIInterval- Only meaningful if sceneChangeDetect is set to enabled. Defaults to 5 if multiplex rate control is used. Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1- Returns:
this
-
minQp
Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getMinQp()- Parameters:
minQp- the value to be set.- Returns:
this
-
mvOverPictureBoundaries
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder mvOverPictureBoundaries(String mvOverPictureBoundaries) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getMvOverPictureBoundaries()- Parameters:
mvOverPictureBoundaries- the value to be set.- Returns:
this
-
mvTemporalPredictor
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder mvTemporalPredictor(String mvTemporalPredictor) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getMvTemporalPredictor()- Parameters:
mvTemporalPredictor- the value to be set.- Returns:
this
-
parDenominator
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder parDenominator(Number parDenominator) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getParDenominator()- Parameters:
parDenominator- Pixel Aspect Ratio denominator.- Returns:
this
-
parNumerator
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder parNumerator(Number parNumerator) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getParNumerator()- Parameters:
parNumerator- Pixel Aspect Ratio numerator.- Returns:
this
-
profile
Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getProfile()- Parameters:
profile- H.265 Profile.- Returns:
this
-
qvbrQualityLevel
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder qvbrQualityLevel(Number qvbrQualityLevel) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getQvbrQualityLevel()- Parameters:
qvbrQualityLevel- Controls the target quality for the video encode. Applies only when the rate control mode is QVBR. Set values for the QVBR quality level field and Max bitrate field that suit your most important viewing devices. Recommended values are:- Primary screen: Quality level: 8 to 10. Max bitrate: 4M
- PC or tablet: Quality level: 7. Max bitrate: 1.5M to 3M
- Smartphone: Quality level: 6. Max bitrate: 1M to 1.5M
- Returns:
this
-
rateControlMode
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder rateControlMode(String rateControlMode) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getRateControlMode()- Parameters:
rateControlMode- Rate control mode. QVBR: Quality will match the specified quality level except when it is constrained by the maximum bitrate. Recommended if you or your viewers pay for bandwidth. CBR: Quality varies, depending on the video complexity. Recommended only if you distribute your assets to devices that cannot handle variable bitrates. Multiplex: This rate control mode is only supported (and is required) when the video is being delivered to a MediaLive Multiplex in which case the rate control configuration is controlled by the properties within the Multiplex Program.- Returns:
this
-
scanType
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder scanType(String scanType) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getScanType()- Parameters:
scanType- Sets the scan type of the output to progressive or top-field-first interlaced.- Returns:
this
-
sceneChangeDetect
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder sceneChangeDetect(String sceneChangeDetect) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getSceneChangeDetect()- Parameters:
sceneChangeDetect- Scene change detection.- Returns:
this
-
slices
Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getSlices()- Parameters:
slices- Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive pictures, and less than or equal to half the number of macroblock rows for interlaced pictures. This field is optional; when no value is specified the encoder will choose the number of slices based on encode resolution.- Returns:
this
-
subgopLength
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder subgopLength(String subgopLength) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getSubgopLength()- Parameters:
subgopLength- the value to be set.- Returns:
this
-
tier
Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getTier()- Parameters:
tier- H.265 Tier.- Returns:
this
-
tileHeight
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder tileHeight(Number tileHeight) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getTileHeight()- Parameters:
tileHeight- the value to be set.- Returns:
this
-
tilePadding
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder tilePadding(String tilePadding) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getTilePadding()- Parameters:
tilePadding- the value to be set.- Returns:
this
-
tileWidth
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder tileWidth(Number tileWidth) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getTileWidth()- Parameters:
tileWidth- the value to be set.- Returns:
this
-
timecodeBurninSettings
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder timecodeBurninSettings(IResolvable timecodeBurninSettings) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getTimecodeBurninSettings()- Parameters:
timecodeBurninSettings- the value to be set.- Returns:
this
-
timecodeBurninSettings
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder timecodeBurninSettings(CfnChannelPropsMixin.TimecodeBurninSettingsProperty timecodeBurninSettings) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getTimecodeBurninSettings()- Parameters:
timecodeBurninSettings- the value to be set.- Returns:
this
-
timecodeInsertion
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder timecodeInsertion(String timecodeInsertion) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getTimecodeInsertion()- Parameters:
timecodeInsertion- Determines how timecodes should be inserted into the video elementary stream.- 'disabled': Do not include timecodes
- 'picTimingSei': Pass through picture timing SEI messages from the source specified in Timecode Config
- Returns:
this
-
treeblockSize
@Stability(Stable) public CfnChannelPropsMixin.H265SettingsProperty.Builder treeblockSize(String treeblockSize) Sets the value ofCfnChannelPropsMixin.H265SettingsProperty.getTreeblockSize()- Parameters:
treeblockSize- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.H265SettingsProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.H265SettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-