Class CfnFeed.SubtitlingConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elementalinference.CfnFeed.SubtitlingConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFeed.SubtitlingConfigProperty>
- Enclosing interface:
CfnFeed.SubtitlingConfigProperty
@Stability(Stable)
public static final class CfnFeed.SubtitlingConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFeed.SubtitlingConfigProperty>
A builder for
CfnFeed.SubtitlingConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaspectRatio(IResolvable aspectRatio) Sets the value ofCfnFeed.SubtitlingConfigProperty.getAspectRatio()aspectRatio(CfnFeed.AspectRatioProperty aspectRatio) Sets the value ofCfnFeed.SubtitlingConfigProperty.getAspectRatio()build()Builds the configured instance.dictionary(String dictionary) Sets the value ofCfnFeed.SubtitlingConfigProperty.getDictionary()Sets the value ofCfnFeed.SubtitlingConfigProperty.getLanguage()profanityFilter(String profanityFilter) Sets the value ofCfnFeed.SubtitlingConfigProperty.getProfanityFilter()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
language
Sets the value ofCfnFeed.SubtitlingConfigProperty.getLanguage()- Parameters:
language- the value to be set. This parameter is required.- Returns:
this
-
aspectRatio
@Stability(Stable) public CfnFeed.SubtitlingConfigProperty.Builder aspectRatio(IResolvable aspectRatio) Sets the value ofCfnFeed.SubtitlingConfigProperty.getAspectRatio()- Parameters:
aspectRatio- the value to be set.- Returns:
this
-
aspectRatio
@Stability(Stable) public CfnFeed.SubtitlingConfigProperty.Builder aspectRatio(CfnFeed.AspectRatioProperty aspectRatio) Sets the value ofCfnFeed.SubtitlingConfigProperty.getAspectRatio()- Parameters:
aspectRatio- the value to be set.- Returns:
this
-
dictionary
Sets the value ofCfnFeed.SubtitlingConfigProperty.getDictionary()- Parameters:
dictionary- the value to be set.- Returns:
this
-
profanityFilter
@Stability(Stable) public CfnFeed.SubtitlingConfigProperty.Builder profanityFilter(String profanityFilter) Sets the value ofCfnFeed.SubtitlingConfigProperty.getProfanityFilter()- Parameters:
profanityFilter- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFeed.SubtitlingConfigProperty>- Returns:
- a new instance of
CfnFeed.SubtitlingConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-