Class CfnWebFunctionRevisionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnWebFunctionRevisionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebFunctionRevisionMixinProps>
- Enclosing interface:
CfnWebFunctionRevisionMixinProps
@Stability(Stable)
public static final class CfnWebFunctionRevisionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebFunctionRevisionMixinProps>
A builder for
CfnWebFunctionRevisionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWebFunctionRevisionMixinProps.getBuildConfig()buildConfig(IResolvable buildConfig) Sets the value ofCfnWebFunctionRevisionMixinProps.getBuildConfig()description(String description) Sets the value ofCfnWebFunctionRevisionMixinProps.getDescription()functionName(String functionName) Sets the value ofCfnWebFunctionRevisionMixinProps.getFunctionName()Sets the value ofCfnWebFunctionRevisionMixinProps.getKmsKeyArn()Sets the value ofCfnWebFunctionRevisionMixinProps.getServiceConfig()serviceConfig(IResolvable serviceConfig) Sets the value ofCfnWebFunctionRevisionMixinProps.getServiceConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
buildConfig
@Stability(Stable) public CfnWebFunctionRevisionMixinProps.Builder buildConfig(IResolvable buildConfig) Sets the value ofCfnWebFunctionRevisionMixinProps.getBuildConfig()- Parameters:
buildConfig- The build configuration for the revision.- Returns:
this
-
buildConfig
@Stability(Stable) public CfnWebFunctionRevisionMixinProps.Builder buildConfig(CfnWebFunctionRevisionPropsMixin.BuildConfigProperty buildConfig) Sets the value ofCfnWebFunctionRevisionMixinProps.getBuildConfig()- Parameters:
buildConfig- The build configuration for the revision.- Returns:
this
-
description
Sets the value ofCfnWebFunctionRevisionMixinProps.getDescription()- Parameters:
description- A description of the revision.- Returns:
this
-
functionName
@Stability(Stable) public CfnWebFunctionRevisionMixinProps.Builder functionName(String functionName) Sets the value ofCfnWebFunctionRevisionMixinProps.getFunctionName()- Parameters:
functionName- The name of the web function this revision belongs to. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.- Returns:
this
-
kmsKeyArn
Sets the value ofCfnWebFunctionRevisionMixinProps.getKmsKeyArn()- Parameters:
kmsKeyArn- The ARN of the KMS key used to encrypt the revision.- Returns:
this
-
serviceConfig
@Stability(Stable) public CfnWebFunctionRevisionMixinProps.Builder serviceConfig(IResolvable serviceConfig) Sets the value ofCfnWebFunctionRevisionMixinProps.getServiceConfig()- Parameters:
serviceConfig- The service configuration for the revision.- Returns:
this
-
serviceConfig
@Stability(Stable) public CfnWebFunctionRevisionMixinProps.Builder serviceConfig(CfnWebFunctionRevisionPropsMixin.ServiceConfigProperty serviceConfig) Sets the value ofCfnWebFunctionRevisionMixinProps.getServiceConfig()- Parameters:
serviceConfig- The service configuration for the revision.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebFunctionRevisionMixinProps>- Returns:
- a new instance of
CfnWebFunctionRevisionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-