Class CfnVodSourceProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediatailor.CfnVodSourceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVodSourceProps>
- Enclosing interface:
CfnVodSourceProps
@Stability(Stable)
public static final class CfnVodSourceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVodSourceProps>
A builder for
CfnVodSourceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.httpPackageConfigurations(List<? extends Object> httpPackageConfigurations) Sets the value ofCfnVodSourceProps.getHttpPackageConfigurations()httpPackageConfigurations(IResolvable httpPackageConfigurations) Sets the value ofCfnVodSourceProps.getHttpPackageConfigurations()sourceLocationName(String sourceLocationName) Sets the value ofCfnVodSourceProps.getSourceLocationName()Sets the value ofCfnVodSourceProps.getTags()vodSourceName(String vodSourceName) Sets the value ofCfnVodSourceProps.getVodSourceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
httpPackageConfigurations
@Stability(Stable) public CfnVodSourceProps.Builder httpPackageConfigurations(IResolvable httpPackageConfigurations) Sets the value ofCfnVodSourceProps.getHttpPackageConfigurations()- Parameters:
httpPackageConfigurations- The HTTP package configurations for the VOD source. This parameter is required.- Returns:
this
-
httpPackageConfigurations
@Stability(Stable) public CfnVodSourceProps.Builder httpPackageConfigurations(List<? extends Object> httpPackageConfigurations) Sets the value ofCfnVodSourceProps.getHttpPackageConfigurations()- Parameters:
httpPackageConfigurations- The HTTP package configurations for the VOD source. This parameter is required.- Returns:
this
-
sourceLocationName
Sets the value ofCfnVodSourceProps.getSourceLocationName()- Parameters:
sourceLocationName- The name of the source location that the VOD source is associated with. This parameter is required.- Returns:
this
-
vodSourceName
Sets the value ofCfnVodSourceProps.getVodSourceName()- Parameters:
vodSourceName- The name of the VOD source. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnVodSourceProps.getTags()- Parameters:
tags- The tags assigned to the VOD source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVodSourceProps>- Returns:
- a new instance of
CfnVodSourceProps - Throws:
NullPointerException- if any required attribute was not provided
-