Class CfnLiveSourceProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediatailor.CfnLiveSourceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLiveSourceProps>
- Enclosing interface:
CfnLiveSourceProps
@Stability(Stable)
public static final class CfnLiveSourceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLiveSourceProps>
A builder for
CfnLiveSourceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.httpPackageConfigurations(List<? extends Object> httpPackageConfigurations) Sets the value ofCfnLiveSourceProps.getHttpPackageConfigurations()httpPackageConfigurations(IResolvable httpPackageConfigurations) Sets the value ofCfnLiveSourceProps.getHttpPackageConfigurations()liveSourceName(String liveSourceName) Sets the value ofCfnLiveSourceProps.getLiveSourceName()sourceLocationName(String sourceLocationName) Sets the value ofCfnLiveSourceProps.getSourceLocationName()Sets the value ofCfnLiveSourceProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
httpPackageConfigurations
@Stability(Stable) public CfnLiveSourceProps.Builder httpPackageConfigurations(IResolvable httpPackageConfigurations) Sets the value ofCfnLiveSourceProps.getHttpPackageConfigurations()- Parameters:
httpPackageConfigurations- The HTTP package configurations for the live source. This parameter is required.- Returns:
this
-
httpPackageConfigurations
@Stability(Stable) public CfnLiveSourceProps.Builder httpPackageConfigurations(List<? extends Object> httpPackageConfigurations) Sets the value ofCfnLiveSourceProps.getHttpPackageConfigurations()- Parameters:
httpPackageConfigurations- The HTTP package configurations for the live source. This parameter is required.- Returns:
this
-
liveSourceName
Sets the value ofCfnLiveSourceProps.getLiveSourceName()- Parameters:
liveSourceName- The name that's used to refer to a live source. This parameter is required.- Returns:
this
-
sourceLocationName
Sets the value ofCfnLiveSourceProps.getSourceLocationName()- Parameters:
sourceLocationName- The name of the source location. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnLiveSourceProps.getTags()- Parameters:
tags- The tags assigned to the live 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<CfnLiveSourceProps>- Returns:
- a new instance of
CfnLiveSourceProps - Throws:
NullPointerException- if any required attribute was not provided
-