Class CfnLiveSource.HttpPackageConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediatailor.CfnLiveSource.HttpPackageConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLiveSource.HttpPackageConfigurationProperty>
- Enclosing interface:
CfnLiveSource.HttpPackageConfigurationProperty
@Stability(Stable)
public static final class CfnLiveSource.HttpPackageConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLiveSource.HttpPackageConfigurationProperty>
A builder for
CfnLiveSource.HttpPackageConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLiveSource.HttpPackageConfigurationProperty.getPath()sourceGroup(String sourceGroup) Sets the value ofCfnLiveSource.HttpPackageConfigurationProperty.getSourceGroup()Sets the value ofCfnLiveSource.HttpPackageConfigurationProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
path
Sets the value ofCfnLiveSource.HttpPackageConfigurationProperty.getPath()- Parameters:
path- The relative path to the URL for this VOD source. This parameter is required. This is combined withSourceLocation::HttpConfiguration::BaseUrlto form a valid URL.- Returns:
this
-
sourceGroup
@Stability(Stable) public CfnLiveSource.HttpPackageConfigurationProperty.Builder sourceGroup(String sourceGroup) Sets the value ofCfnLiveSource.HttpPackageConfigurationProperty.getSourceGroup()- Parameters:
sourceGroup- The name of the source group. This parameter is required. This has to match one of theChannel::Outputs::SourceGroup.- Returns:
this
-
type
Sets the value ofCfnLiveSource.HttpPackageConfigurationProperty.getType()- Parameters:
type- The streaming protocol for this package configuration. This parameter is required. Supported values areHLSandDASH.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLiveSource.HttpPackageConfigurationProperty>- Returns:
- a new instance of
CfnLiveSource.HttpPackageConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-