@Stability(value=Stable) public static final class CfnFunctionProps.Builder extends Object implements software.amazon.jsii.Builder<CfnFunctionProps>
CfnFunctionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnFunctionProps.Builder |
autoPublish(Boolean autoPublish)
Sets the value of
CfnFunctionProps.getAutoPublish() |
CfnFunctionProps.Builder |
autoPublish(IResolvable autoPublish)
Sets the value of
CfnFunctionProps.getAutoPublish() |
CfnFunctionProps |
build()
Builds the configured instance.
|
CfnFunctionProps.Builder |
functionCode(String functionCode)
Sets the value of
CfnFunctionProps.getFunctionCode() |
CfnFunctionProps.Builder |
functionConfig(CfnFunction.FunctionConfigProperty functionConfig)
Sets the value of
CfnFunctionProps.getFunctionConfig() |
CfnFunctionProps.Builder |
functionConfig(IResolvable functionConfig)
Sets the value of
CfnFunctionProps.getFunctionConfig() |
CfnFunctionProps.Builder |
name(String name)
Sets the value of
CfnFunctionProps.getName() |
@Stability(value=Stable) public CfnFunctionProps.Builder autoPublish(Boolean autoPublish)
CfnFunctionProps.getAutoPublish()autoPublish - `AWS::CloudFront::Function.AutoPublish`.this@Stability(value=Stable) public CfnFunctionProps.Builder autoPublish(IResolvable autoPublish)
CfnFunctionProps.getAutoPublish()autoPublish - `AWS::CloudFront::Function.AutoPublish`.this@Stability(value=Stable) public CfnFunctionProps.Builder functionCode(String functionCode)
CfnFunctionProps.getFunctionCode()functionCode - `AWS::CloudFront::Function.FunctionCode`.this@Stability(value=Stable) public CfnFunctionProps.Builder functionConfig(CfnFunction.FunctionConfigProperty functionConfig)
CfnFunctionProps.getFunctionConfig()functionConfig - `AWS::CloudFront::Function.FunctionConfig`.this@Stability(value=Stable) public CfnFunctionProps.Builder functionConfig(IResolvable functionConfig)
CfnFunctionProps.getFunctionConfig()functionConfig - `AWS::CloudFront::Function.FunctionConfig`.this@Stability(value=Stable) public CfnFunctionProps.Builder name(String name)
CfnFunctionProps.getName()name - `AWS::CloudFront::Function.Name`. This parameter is required.this@Stability(value=Stable) public CfnFunctionProps build()
build in interface software.amazon.jsii.Builder<CfnFunctionProps>CfnFunctionPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.