Class CfnConnectionFunctionProps.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnConnectionFunctionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionFunctionProps>
- Enclosing interface:
CfnConnectionFunctionProps
@Stability(Stable)
public static final class CfnConnectionFunctionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectionFunctionProps>
A builder for
CfnConnectionFunctionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoPublish(Boolean autoPublish) Sets the value ofCfnConnectionFunctionProps.getAutoPublish()autoPublish(IResolvable autoPublish) Sets the value ofCfnConnectionFunctionProps.getAutoPublish()build()Builds the configured instance.connectionFunctionCode(String connectionFunctionCode) Sets the value ofCfnConnectionFunctionProps.getConnectionFunctionCode()connectionFunctionConfig(IResolvable connectionFunctionConfig) Sets the value ofCfnConnectionFunctionProps.getConnectionFunctionConfig()connectionFunctionConfig(CfnConnectionFunction.ConnectionFunctionConfigProperty connectionFunctionConfig) Sets the value ofCfnConnectionFunctionProps.getConnectionFunctionConfig()Sets the value ofCfnConnectionFunctionProps.getName()Sets the value ofCfnConnectionFunctionProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionFunctionCode
@Stability(Stable) public CfnConnectionFunctionProps.Builder connectionFunctionCode(String connectionFunctionCode) Sets the value ofCfnConnectionFunctionProps.getConnectionFunctionCode()- Parameters:
connectionFunctionCode- the value to be set. This parameter is required.- Returns:
this
-
connectionFunctionConfig
@Stability(Stable) public CfnConnectionFunctionProps.Builder connectionFunctionConfig(IResolvable connectionFunctionConfig) Sets the value ofCfnConnectionFunctionProps.getConnectionFunctionConfig()- Parameters:
connectionFunctionConfig- the value to be set. This parameter is required.- Returns:
this
-
connectionFunctionConfig
@Stability(Stable) public CfnConnectionFunctionProps.Builder connectionFunctionConfig(CfnConnectionFunction.ConnectionFunctionConfigProperty connectionFunctionConfig) Sets the value ofCfnConnectionFunctionProps.getConnectionFunctionConfig()- Parameters:
connectionFunctionConfig- the value to be set. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnConnectionFunctionProps.getName()- Parameters:
name- the value to be set. This parameter is required.- Returns:
this
-
autoPublish
Sets the value ofCfnConnectionFunctionProps.getAutoPublish()- Parameters:
autoPublish- the value to be set.- Returns:
this
-
autoPublish
Sets the value ofCfnConnectionFunctionProps.getAutoPublish()- Parameters:
autoPublish- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnConnectionFunctionProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectionFunctionProps>- Returns:
- a new instance of
CfnConnectionFunctionProps - Throws:
NullPointerException- if any required attribute was not provided
-