public static final class FunctionVersionProps.Builder extends Object
FunctionVersionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
FunctionVersionProps |
build()
Builds the configured instance.
|
FunctionVersionProps.Builder |
withCodeSha256(String value)
Sets the value of CodeSha256
|
FunctionVersionProps.Builder |
withDescription(String value)
Sets the value of Description
|
FunctionVersionProps.Builder |
withLambda(FunctionRef value)
Sets the value of Lambda
|
public FunctionVersionProps.Builder withLambda(FunctionRef value)
value - Function to get the value ofthispublic FunctionVersionProps.Builder withCodeSha256(@Nullable String value)
value - SHA256 of the version of the Lambda source code
Specify to validate that you're deploying the right version.thispublic FunctionVersionProps.Builder withDescription(@Nullable String value)
value - Description of the versionthispublic FunctionVersionProps build()
FunctionVersionPropsNullPointerException - if any required attribute was not providedCopyright © 2018. All rights reserved.