Class LambdaDeploymentConfigProps.Builder
java.lang.Object
software.amazon.awscdk.services.codedeploy.LambdaDeploymentConfigProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LambdaDeploymentConfigProps>
- Enclosing interface:
LambdaDeploymentConfigProps
@Stability(Stable)
public static final class LambdaDeploymentConfigProps.Builder
extends Object
implements software.amazon.jsii.Builder<LambdaDeploymentConfigProps>
A builder for
LambdaDeploymentConfigProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deploymentConfigName(String deploymentConfigName) Sets the value ofBaseDeploymentConfigOptions.getDeploymentConfigName()trafficRouting(TrafficRouting trafficRouting) Sets the value ofLambdaDeploymentConfigProps.getTrafficRouting()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
trafficRouting
@Stability(Stable) public LambdaDeploymentConfigProps.Builder trafficRouting(TrafficRouting trafficRouting) Sets the value ofLambdaDeploymentConfigProps.getTrafficRouting()- Parameters:
trafficRouting- The configuration that specifies how traffic is shifted from the 'blue' target group to the 'green' target group during a deployment.- Returns:
this
-
deploymentConfigName
@Stability(Stable) public LambdaDeploymentConfigProps.Builder deploymentConfigName(String deploymentConfigName) Sets the value ofBaseDeploymentConfigOptions.getDeploymentConfigName()- Parameters:
deploymentConfigName- The physical, human-readable name of the Deployment Configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LambdaDeploymentConfigProps>- Returns:
- a new instance of
LambdaDeploymentConfigProps - Throws:
NullPointerException- if any required attribute was not provided
-