Class CfnFunctionPropsMixin.FunctionRefProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediatailor.CfnFunctionPropsMixin.FunctionRefProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionPropsMixin.FunctionRefProperty>
- Enclosing interface:
CfnFunctionPropsMixin.FunctionRefProperty
@Stability(Stable)
public static final class CfnFunctionPropsMixin.FunctionRefProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionPropsMixin.FunctionRefProperty>
A builder for
CfnFunctionPropsMixin.FunctionRefProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnFunctionPropsMixin.FunctionRefProperty.getAlias()build()Builds the configured instance.functionId(String functionId) Sets the value ofCfnFunctionPropsMixin.FunctionRefProperty.getFunctionId()runCondition(String runCondition) Sets the value ofCfnFunctionPropsMixin.FunctionRefProperty.getRunCondition()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alias
Sets the value ofCfnFunctionPropsMixin.FunctionRefProperty.getAlias()- Parameters:
alias- An optional alternate name for the child function within the executor. MediaTailor uses this value as the namespace for the child function's output. If omitted, MediaTailor uses the function identifier. The resolved namespace must be unique across all child functions in the list.- Returns:
this
-
functionId
@Stability(Stable) public CfnFunctionPropsMixin.FunctionRefProperty.Builder functionId(String functionId) Sets the value ofCfnFunctionPropsMixin.FunctionRefProperty.getFunctionId()- Parameters:
functionId- The identifier of the child function to execute.- Returns:
this
-
runCondition
@Stability(Stable) public CfnFunctionPropsMixin.FunctionRefProperty.Builder runCondition(String runCondition) Sets the value ofCfnFunctionPropsMixin.FunctionRefProperty.getRunCondition()- Parameters:
runCondition- An optional expression that evaluates to a boolean. MediaTailor evaluates this expression immediately before running the child function, using the accumulated state at that point. If the expression evaluates to false, MediaTailor skips the child function. If omitted, the child function always runs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionPropsMixin.FunctionRefProperty>- Returns:
- a new instance of
CfnFunctionPropsMixin.FunctionRefProperty - Throws:
NullPointerException- if any required attribute was not provided
-