Class CfnFunctionProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediatailor.CfnFunctionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionProps>
- Enclosing interface:
CfnFunctionProps
@Stability(Stable)
public static final class CfnFunctionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionProps>
A builder for
CfnFunctionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customOutputConfiguration(IResolvable customOutputConfiguration) Sets the value ofCfnFunctionProps.getCustomOutputConfiguration()customOutputConfiguration(CfnFunction.CustomOutputConfigurationProperty customOutputConfiguration) Sets the value ofCfnFunctionProps.getCustomOutputConfiguration()description(String description) Sets the value ofCfnFunctionProps.getDescription()functionId(String functionId) Sets the value ofCfnFunctionProps.getFunctionId()functionType(String functionType) Sets the value ofCfnFunctionProps.getFunctionType()httpRequestConfiguration(IResolvable httpRequestConfiguration) Sets the value ofCfnFunctionProps.getHttpRequestConfiguration()httpRequestConfiguration(CfnFunction.HttpRequestConfigurationProperty httpRequestConfiguration) Sets the value ofCfnFunctionProps.getHttpRequestConfiguration()sequentialExecutorConfiguration(IResolvable sequentialExecutorConfiguration) Sets the value ofCfnFunctionProps.getSequentialExecutorConfiguration()sequentialExecutorConfiguration(CfnFunction.SequentialExecutorConfigurationProperty sequentialExecutorConfiguration) Sets the value ofCfnFunctionProps.getSequentialExecutorConfiguration()Sets the value ofCfnFunctionProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
functionId
Sets the value ofCfnFunctionProps.getFunctionId()- Parameters:
functionId- The unique identifier for the function. This parameter is required.- Returns:
this
-
functionType
Sets the value ofCfnFunctionProps.getFunctionType()- Parameters:
functionType- the value to be set. This parameter is required.- Returns:
this
-
customOutputConfiguration
@Stability(Stable) public CfnFunctionProps.Builder customOutputConfiguration(IResolvable customOutputConfiguration) Sets the value ofCfnFunctionProps.getCustomOutputConfiguration()- Parameters:
customOutputConfiguration- Configuration for custom output functions.- Returns:
this
-
customOutputConfiguration
@Stability(Stable) public CfnFunctionProps.Builder customOutputConfiguration(CfnFunction.CustomOutputConfigurationProperty customOutputConfiguration) Sets the value ofCfnFunctionProps.getCustomOutputConfiguration()- Parameters:
customOutputConfiguration- Configuration for custom output functions.- Returns:
this
-
description
Sets the value ofCfnFunctionProps.getDescription()- Parameters:
description- A description of the function.- Returns:
this
-
httpRequestConfiguration
@Stability(Stable) public CfnFunctionProps.Builder httpRequestConfiguration(IResolvable httpRequestConfiguration) Sets the value ofCfnFunctionProps.getHttpRequestConfiguration()- Parameters:
httpRequestConfiguration- Configuration for HTTP request functions.- Returns:
this
-
httpRequestConfiguration
@Stability(Stable) public CfnFunctionProps.Builder httpRequestConfiguration(CfnFunction.HttpRequestConfigurationProperty httpRequestConfiguration) Sets the value ofCfnFunctionProps.getHttpRequestConfiguration()- Parameters:
httpRequestConfiguration- Configuration for HTTP request functions.- Returns:
this
-
sequentialExecutorConfiguration
@Stability(Stable) public CfnFunctionProps.Builder sequentialExecutorConfiguration(IResolvable sequentialExecutorConfiguration) Sets the value ofCfnFunctionProps.getSequentialExecutorConfiguration()- Parameters:
sequentialExecutorConfiguration- Configuration for sequential executor functions.- Returns:
this
-
sequentialExecutorConfiguration
@Stability(Stable) public CfnFunctionProps.Builder sequentialExecutorConfiguration(CfnFunction.SequentialExecutorConfigurationProperty sequentialExecutorConfiguration) Sets the value ofCfnFunctionProps.getSequentialExecutorConfiguration()- Parameters:
sequentialExecutorConfiguration- Configuration for sequential executor functions.- Returns:
this
-
tags
Sets the value ofCfnFunctionProps.getTags()- Parameters:
tags- The tags to assign to the function resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionProps>- Returns:
- a new instance of
CfnFunctionProps - Throws:
NullPointerException- if any required attribute was not provided
-