Class CfnWebFunctionRevisionProps.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnWebFunctionRevisionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebFunctionRevisionProps>
- Enclosing interface:
CfnWebFunctionRevisionProps
@Stability(Stable)
public static final class CfnWebFunctionRevisionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebFunctionRevisionProps>
A builder for
CfnWebFunctionRevisionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.buildConfig(IResolvable buildConfig) Sets the value ofCfnWebFunctionRevisionProps.getBuildConfig()buildConfig(CfnWebFunctionRevision.BuildConfigProperty buildConfig) Sets the value ofCfnWebFunctionRevisionProps.getBuildConfig()description(String description) Sets the value ofCfnWebFunctionRevisionProps.getDescription()functionName(String functionName) Sets the value ofCfnWebFunctionRevisionProps.getFunctionName()Sets the value ofCfnWebFunctionRevisionProps.getKmsKeyArn()serviceConfig(IResolvable serviceConfig) Sets the value ofCfnWebFunctionRevisionProps.getServiceConfig()serviceConfig(CfnWebFunctionRevision.ServiceConfigProperty serviceConfig) Sets the value ofCfnWebFunctionRevisionProps.getServiceConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
buildConfig
Sets the value ofCfnWebFunctionRevisionProps.getBuildConfig()- Parameters:
buildConfig- The build configuration for the revision. This parameter is required.- Returns:
this
-
buildConfig
@Stability(Stable) public CfnWebFunctionRevisionProps.Builder buildConfig(CfnWebFunctionRevision.BuildConfigProperty buildConfig) Sets the value ofCfnWebFunctionRevisionProps.getBuildConfig()- Parameters:
buildConfig- The build configuration for the revision. This parameter is required.- Returns:
this
-
functionName
Sets the value ofCfnWebFunctionRevisionProps.getFunctionName()- Parameters:
functionName- The name of the web function this revision belongs to. This parameter is required. 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
-
serviceConfig
@Stability(Stable) public CfnWebFunctionRevisionProps.Builder serviceConfig(IResolvable serviceConfig) Sets the value ofCfnWebFunctionRevisionProps.getServiceConfig()- Parameters:
serviceConfig- The service configuration for the revision. This parameter is required.- Returns:
this
-
serviceConfig
@Stability(Stable) public CfnWebFunctionRevisionProps.Builder serviceConfig(CfnWebFunctionRevision.ServiceConfigProperty serviceConfig) Sets the value ofCfnWebFunctionRevisionProps.getServiceConfig()- Parameters:
serviceConfig- The service configuration for the revision. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnWebFunctionRevisionProps.getDescription()- Parameters:
description- A description of the revision.- Returns:
this
-
kmsKeyArn
Sets the value ofCfnWebFunctionRevisionProps.getKmsKeyArn()- Parameters:
kmsKeyArn- The ARN of the KMS key used to encrypt the revision.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebFunctionRevisionProps>- Returns:
- a new instance of
CfnWebFunctionRevisionProps - Throws:
NullPointerException- if any required attribute was not provided
-