Class CmafInputProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.alpha.CmafInputProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CmafInputProps>
- Enclosing interface:
CmafInputProps
@Stability(Experimental)
public static final class CmafInputProps.Builder
extends Object
implements software.amazon.jsii.Builder<CmafInputProps>
A builder for
CmafInputProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.inputSwitchConfiguration(InputSwitchConfiguration inputSwitchConfiguration) Sets the value ofCmafInputProps.getInputSwitchConfiguration()outputHeaders(List<? extends HeadersCMSD> outputHeaders) Sets the value ofCmafInputProps.getOutputHeaders()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputSwitchConfiguration
@Stability(Experimental) public CmafInputProps.Builder inputSwitchConfiguration(InputSwitchConfiguration inputSwitchConfiguration) Sets the value ofCmafInputProps.getInputSwitchConfiguration()- Parameters:
inputSwitchConfiguration- The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.- Returns:
this
-
outputHeaders
@Stability(Experimental) public CmafInputProps.Builder outputHeaders(List<? extends HeadersCMSD> outputHeaders) Sets the value ofCmafInputProps.getOutputHeaders()- Parameters:
outputHeaders- The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CmafInputProps>- Returns:
- a new instance of
CmafInputProps - Throws:
NullPointerException- if any required attribute was not provided
-