public static final class CfnFunction.FunctionConfigProperty.Builder
extends java.lang.Object
CfnFunction.FunctionConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnFunction.FunctionConfigProperty |
build()
Builds the configured instance.
|
CfnFunction.FunctionConfigProperty.Builder |
comment(java.lang.String comment)
Sets the value of
CfnFunction.FunctionConfigProperty.getComment() |
CfnFunction.FunctionConfigProperty.Builder |
runtime(java.lang.String runtime)
Sets the value of
CfnFunction.FunctionConfigProperty.getRuntime() |
public CfnFunction.FunctionConfigProperty.Builder comment(java.lang.String comment)
CfnFunction.FunctionConfigProperty.getComment()
comment
- A comment to describe the function. This parameter is required.this
public CfnFunction.FunctionConfigProperty.Builder runtime(java.lang.String runtime)
CfnFunction.FunctionConfigProperty.getRuntime()
runtime
- The function's runtime environment. This parameter is required.
The only valid value is cloudfront-js-1.0
.this
public CfnFunction.FunctionConfigProperty build()
CfnFunction.FunctionConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided