Class CfnConnectionFunction.ConnectionFunctionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnConnectionFunction.ConnectionFunctionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionFunction.ConnectionFunctionConfigProperty>
- Enclosing interface:
CfnConnectionFunction.ConnectionFunctionConfigProperty
@Stability(Stable)
public static final class CfnConnectionFunction.ConnectionFunctionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectionFunction.ConnectionFunctionConfigProperty>
A builder for
CfnConnectionFunction.ConnectionFunctionConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnConnectionFunction.ConnectionFunctionConfigProperty.getComment()keyValueStoreAssociations(List<? extends Object> keyValueStoreAssociations) keyValueStoreAssociations(IResolvable keyValueStoreAssociations) Sets the value ofCfnConnectionFunction.ConnectionFunctionConfigProperty.getRuntime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
comment
@Stability(Stable) public CfnConnectionFunction.ConnectionFunctionConfigProperty.Builder comment(String comment) Sets the value ofCfnConnectionFunction.ConnectionFunctionConfigProperty.getComment()- Parameters:
comment- the value to be set. This parameter is required.- Returns:
this
-
runtime
@Stability(Stable) public CfnConnectionFunction.ConnectionFunctionConfigProperty.Builder runtime(String runtime) Sets the value ofCfnConnectionFunction.ConnectionFunctionConfigProperty.getRuntime()- Parameters:
runtime- the value to be set. This parameter is required.- Returns:
this
-
keyValueStoreAssociations
@Stability(Stable) public CfnConnectionFunction.ConnectionFunctionConfigProperty.Builder keyValueStoreAssociations(IResolvable keyValueStoreAssociations) Sets the value ofCfnConnectionFunction.ConnectionFunctionConfigProperty.getKeyValueStoreAssociations()- Parameters:
keyValueStoreAssociations- the value to be set.- Returns:
this
-
keyValueStoreAssociations
@Stability(Stable) public CfnConnectionFunction.ConnectionFunctionConfigProperty.Builder keyValueStoreAssociations(List<? extends Object> keyValueStoreAssociations) Sets the value ofCfnConnectionFunction.ConnectionFunctionConfigProperty.getKeyValueStoreAssociations()- Parameters:
keyValueStoreAssociations- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectionFunction.ConnectionFunctionConfigProperty>- Returns:
- a new instance of
CfnConnectionFunction.ConnectionFunctionConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-