Class CfnFunction.FunctionRefProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediatailor.CfnFunction.FunctionRefProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunction.FunctionRefProperty>
- Enclosing interface:
CfnFunction.FunctionRefProperty
@Stability(Stable)
public static final class CfnFunction.FunctionRefProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunction.FunctionRefProperty>
A builder for
CfnFunction.FunctionRefProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.functionId(String functionId) Sets the value ofCfnFunction.FunctionRefProperty.getFunctionId()runCondition(String runCondition) Sets the value ofCfnFunction.FunctionRefProperty.getRunCondition()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
functionId
Sets the value ofCfnFunction.FunctionRefProperty.getFunctionId()- Parameters:
functionId- The identifier of the function to execute.- Returns:
this
-
runCondition
Sets the value ofCfnFunction.FunctionRefProperty.getRunCondition()- Parameters:
runCondition- A conditional expression that determines whether this function should execute.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunction.FunctionRefProperty>- Returns:
- a new instance of
CfnFunction.FunctionRefProperty - Throws:
NullPointerException- if any required attribute was not provided
-