Class CfnConnectionFunctionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudfront.CfnConnectionFunctionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionFunctionMixinProps>
- Enclosing interface:
CfnConnectionFunctionMixinProps
@Stability(Stable)
public static final class CfnConnectionFunctionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectionFunctionMixinProps>
A builder for
CfnConnectionFunctionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoPublish(Boolean autoPublish) Sets the value ofCfnConnectionFunctionMixinProps.getAutoPublish()autoPublish(IResolvable autoPublish) Sets the value ofCfnConnectionFunctionMixinProps.getAutoPublish()build()Builds the configured instance.connectionFunctionCode(String connectionFunctionCode) Sets the value ofCfnConnectionFunctionMixinProps.getConnectionFunctionCode()connectionFunctionConfig(CfnConnectionFunctionPropsMixin.ConnectionFunctionConfigProperty connectionFunctionConfig) Sets the value ofCfnConnectionFunctionMixinProps.getConnectionFunctionConfig()connectionFunctionConfig(IResolvable connectionFunctionConfig) Sets the value ofCfnConnectionFunctionMixinProps.getConnectionFunctionConfig()Sets the value ofCfnConnectionFunctionMixinProps.getName()Sets the value ofCfnConnectionFunctionMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoPublish
Sets the value ofCfnConnectionFunctionMixinProps.getAutoPublish()- Parameters:
autoPublish- A flag that determines whether to automatically publish the function to theLIVEstage when it’s created. To automatically publish to theLIVEstage, set this property totrue.- Returns:
this
-
autoPublish
@Stability(Stable) public CfnConnectionFunctionMixinProps.Builder autoPublish(IResolvable autoPublish) Sets the value ofCfnConnectionFunctionMixinProps.getAutoPublish()- Parameters:
autoPublish- A flag that determines whether to automatically publish the function to theLIVEstage when it’s created. To automatically publish to theLIVEstage, set this property totrue.- Returns:
this
-
connectionFunctionCode
@Stability(Stable) public CfnConnectionFunctionMixinProps.Builder connectionFunctionCode(String connectionFunctionCode) Sets the value ofCfnConnectionFunctionMixinProps.getConnectionFunctionCode()- Parameters:
connectionFunctionCode- The code for the connection function.- Returns:
this
-
connectionFunctionConfig
@Stability(Stable) public CfnConnectionFunctionMixinProps.Builder connectionFunctionConfig(IResolvable connectionFunctionConfig) Sets the value ofCfnConnectionFunctionMixinProps.getConnectionFunctionConfig()- Parameters:
connectionFunctionConfig- Contains configuration information about a CloudFront function.- Returns:
this
-
connectionFunctionConfig
@Stability(Stable) public CfnConnectionFunctionMixinProps.Builder connectionFunctionConfig(CfnConnectionFunctionPropsMixin.ConnectionFunctionConfigProperty connectionFunctionConfig) Sets the value ofCfnConnectionFunctionMixinProps.getConnectionFunctionConfig()- Parameters:
connectionFunctionConfig- Contains configuration information about a CloudFront function.- Returns:
this
-
name
Sets the value ofCfnConnectionFunctionMixinProps.getName()- Parameters:
name- The connection function name.- Returns:
this
-
tags
Sets the value ofCfnConnectionFunctionMixinProps.getTags()- Parameters:
tags- A complex type that contains zero or moreTagelements.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectionFunctionMixinProps>- Returns:
- a new instance of
CfnConnectionFunctionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-