Class CfnChannel.MultiviewConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.CfnChannel.MultiviewConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.MultiviewConfigurationProperty>
- Enclosing interface:
CfnChannel.MultiviewConfigurationProperty
@Stability(Stable)
public static final class CfnChannel.MultiviewConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.MultiviewConfigurationProperty>
A builder for
CfnChannel.MultiviewConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailableLayouts(List<String> availableLayouts) Sets the value ofCfnChannel.MultiviewConfigurationProperty.getAvailableLayouts()availableSources(List<String> availableSources) Sets the value ofCfnChannel.MultiviewConfigurationProperty.getAvailableSources()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
availableLayouts
@Stability(Stable) public CfnChannel.MultiviewConfigurationProperty.Builder availableLayouts(List<String> availableLayouts) Sets the value ofCfnChannel.MultiviewConfigurationProperty.getAvailableLayouts()- Parameters:
availableLayouts-The tile layouts that players can request from this multiview channel's origin endpoints. This parameter is required. Only the layouts that you list here are available. Each layout must appear at most once.
- Returns:
this
-
availableSources
@Stability(Stable) public CfnChannel.MultiviewConfigurationProperty.Builder availableSources(List<String> availableSources) Sets the value ofCfnChannel.MultiviewConfigurationProperty.getAvailableSources()- Parameters:
availableSources-The channels that players can use as tiles in this multiview channel's output. This parameter is required. Each source channel must be in the same channel group as the multiview channel, and must have an
InputTypeofCMAF. Only the channels that you list here are available as tiles.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.MultiviewConfigurationProperty>- Returns:
- a new instance of
CfnChannel.MultiviewConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-