Class CfnOriginEndpointPropsMixin.StreamSelectionProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.mediapackage.mixins.CfnOriginEndpointPropsMixin.StreamSelectionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.StreamSelectionProperty>
- Enclosing interface:
CfnOriginEndpointPropsMixin.StreamSelectionProperty
@Stability(Stable)
public static final class CfnOriginEndpointPropsMixin.StreamSelectionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.StreamSelectionProperty>
A builder for
CfnOriginEndpointPropsMixin.StreamSelectionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxVideoBitsPerSecond(Number maxVideoBitsPerSecond) minVideoBitsPerSecond(Number minVideoBitsPerSecond) streamOrder(String streamOrder) Sets the value ofCfnOriginEndpointPropsMixin.StreamSelectionProperty.getStreamOrder()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxVideoBitsPerSecond
@Stability(Stable) public CfnOriginEndpointPropsMixin.StreamSelectionProperty.Builder maxVideoBitsPerSecond(Number maxVideoBitsPerSecond) - Parameters:
maxVideoBitsPerSecond- The upper limit of the bitrates that this endpoint serves. If the video track exceeds this threshold, then AWS Elemental MediaPackage excludes it from output. If you don't specify a value, it defaults to 2147483647 bits per second.- Returns:
this
-
minVideoBitsPerSecond
@Stability(Stable) public CfnOriginEndpointPropsMixin.StreamSelectionProperty.Builder minVideoBitsPerSecond(Number minVideoBitsPerSecond) - Parameters:
minVideoBitsPerSecond- The lower limit of the bitrates that this endpoint serves. If the video track is below this threshold, then AWS Elemental MediaPackage excludes it from output. If you don't specify a value, it defaults to 0 bits per second.- Returns:
this
-
streamOrder
@Stability(Stable) public CfnOriginEndpointPropsMixin.StreamSelectionProperty.Builder streamOrder(String streamOrder) Sets the value ofCfnOriginEndpointPropsMixin.StreamSelectionProperty.getStreamOrder()- Parameters:
streamOrder- Order in which the different video bitrates are presented to the player. Valid values:ORIGINAL,VIDEO_BITRATE_ASCENDING,VIDEO_BITRATE_DESCENDING.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.StreamSelectionProperty>- Returns:
- a new instance of
CfnOriginEndpointPropsMixin.StreamSelectionProperty - Throws:
NullPointerException- if any required attribute was not provided
-