@Stability(value=Experimental) public static final class FunctionProps.Builder extends Object implements software.amazon.jsii.Builder<FunctionProps>
FunctionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
FunctionProps |
build()
Builds the configured instance.
|
FunctionProps.Builder |
code(FunctionCode code)
Sets the value of
FunctionProps.getCode() |
FunctionProps.Builder |
comment(String comment)
Sets the value of
FunctionProps.getComment() |
FunctionProps.Builder |
functionName(String functionName)
Sets the value of
FunctionProps.getFunctionName() |
@Stability(value=Experimental) public FunctionProps.Builder code(FunctionCode code)
FunctionProps.getCode()code - The source code of the function. This parameter is required.this@Stability(value=Experimental) public FunctionProps.Builder comment(String comment)
FunctionProps.getComment()comment - A comment to describe the function.this@Stability(value=Experimental) public FunctionProps.Builder functionName(String functionName)
FunctionProps.getFunctionName()functionName - A name to identify the function.this@Stability(value=Experimental) public FunctionProps build()
build in interface software.amazon.jsii.Builder<FunctionProps>FunctionPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.