Class CfnFunctionPropsMixin.FunctionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudfront.CfnFunctionPropsMixin.FunctionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionPropsMixin.FunctionConfigProperty>
- Enclosing interface:
CfnFunctionPropsMixin.FunctionConfigProperty
@Stability(Stable)
public static final class CfnFunctionPropsMixin.FunctionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionPropsMixin.FunctionConfigProperty>
A builder for
CfnFunctionPropsMixin.FunctionConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFunctionPropsMixin.FunctionConfigProperty.getComment()keyValueStoreAssociations(List<? extends Object> keyValueStoreAssociations) keyValueStoreAssociations(IResolvable keyValueStoreAssociations) Sets the value ofCfnFunctionPropsMixin.FunctionConfigProperty.getRuntime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
comment
@Stability(Stable) public CfnFunctionPropsMixin.FunctionConfigProperty.Builder comment(String comment) Sets the value ofCfnFunctionPropsMixin.FunctionConfigProperty.getComment()- Parameters:
comment- A comment to describe the function.- Returns:
this
-
keyValueStoreAssociations
@Stability(Stable) public CfnFunctionPropsMixin.FunctionConfigProperty.Builder keyValueStoreAssociations(IResolvable keyValueStoreAssociations) - Parameters:
keyValueStoreAssociations- The configuration for the key value store associations.- Returns:
this
-
keyValueStoreAssociations
@Stability(Stable) public CfnFunctionPropsMixin.FunctionConfigProperty.Builder keyValueStoreAssociations(List<? extends Object> keyValueStoreAssociations) - Parameters:
keyValueStoreAssociations- The configuration for the key value store associations.- Returns:
this
-
runtime
@Stability(Stable) public CfnFunctionPropsMixin.FunctionConfigProperty.Builder runtime(String runtime) Sets the value ofCfnFunctionPropsMixin.FunctionConfigProperty.getRuntime()- Parameters:
runtime- The function's runtime environment version.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionPropsMixin.FunctionConfigProperty>- Returns:
- a new instance of
CfnFunctionPropsMixin.FunctionConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-