Class CfnChannel.SlateSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediatailor.CfnChannel.SlateSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.SlateSourceProperty>
- Enclosing interface:
CfnChannel.SlateSourceProperty
@Stability(Stable)
public static final class CfnChannel.SlateSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.SlateSourceProperty>
A builder for
CfnChannel.SlateSourceProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.sourceLocationName
(String sourceLocationName) Sets the value ofCfnChannel.SlateSourceProperty.getSourceLocationName()
vodSourceName
(String vodSourceName) Sets the value ofCfnChannel.SlateSourceProperty.getVodSourceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sourceLocationName
@Stability(Stable) public CfnChannel.SlateSourceProperty.Builder sourceLocationName(String sourceLocationName) Sets the value ofCfnChannel.SlateSourceProperty.getSourceLocationName()
- Parameters:
sourceLocationName
- The name of the source location where the slate VOD source is stored.- Returns:
this
-
vodSourceName
@Stability(Stable) public CfnChannel.SlateSourceProperty.Builder vodSourceName(String vodSourceName) Sets the value ofCfnChannel.SlateSourceProperty.getVodSourceName()
- Parameters:
vodSourceName
- The slate VOD source name. The VOD source must already exist in a source location before it can be used for slate.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.SlateSourceProperty>
- Returns:
- a new instance of
CfnChannel.SlateSourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-