Class CustomLambdaDeploymentConfigProps.Builder
java.lang.Object
software.amazon.awscdk.services.codedeploy.CustomLambdaDeploymentConfigProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CustomLambdaDeploymentConfigProps>
- Enclosing interface:
CustomLambdaDeploymentConfigProps
@Stability(Deprecated)
@Deprecated
public static final class CustomLambdaDeploymentConfigProps.Builder
extends Object
implements software.amazon.jsii.Builder<CustomLambdaDeploymentConfigProps>
Deprecated.
A builder for
CustomLambdaDeploymentConfigProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.deploymentConfigName(String deploymentConfigName) Deprecated.Use `LambdaDeploymentConfig`Deprecated.Use `LambdaDeploymentConfig`percentage(Number percentage) Deprecated.Use `LambdaDeploymentConfig`Deprecated.Use `LambdaDeploymentConfig`
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
interval
@Stability(Deprecated) @Deprecated public CustomLambdaDeploymentConfigProps.Builder interval(Duration interval) Deprecated.Use `LambdaDeploymentConfig`Sets the value ofCustomLambdaDeploymentConfigProps.getInterval()- Parameters:
interval- The interval, in number of minutes: - For LINEAR, how frequently additional traffic is shifted - For CANARY, how long to shift traffic before the full deployment. This parameter is required.- Returns:
this
-
percentage
@Stability(Deprecated) @Deprecated public CustomLambdaDeploymentConfigProps.Builder percentage(Number percentage) Deprecated.Use `LambdaDeploymentConfig`Sets the value ofCustomLambdaDeploymentConfigProps.getPercentage()- Parameters:
percentage- The integer percentage of traffic to shift: - For LINEAR, the percentage to shift every interval - For CANARY, the percentage to shift until the interval passes, before the full deployment. This parameter is required.- Returns:
this
-
type
@Stability(Deprecated) @Deprecated public CustomLambdaDeploymentConfigProps.Builder type(CustomLambdaDeploymentConfigType type) Deprecated.Use `LambdaDeploymentConfig`Sets the value ofCustomLambdaDeploymentConfigProps.getType()- Parameters:
type- The type of deployment config, either CANARY or LINEAR. This parameter is required.- Returns:
this
-
deploymentConfigName
@Stability(Deprecated) @Deprecated public CustomLambdaDeploymentConfigProps.Builder deploymentConfigName(String deploymentConfigName) Deprecated.Use `LambdaDeploymentConfig`Sets the value ofCustomLambdaDeploymentConfigProps.getDeploymentConfigName()- Parameters:
deploymentConfigName- The verbatim name of the deployment config. Must be unique per account/region. Other parameters cannot be updated if this name is provided.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CustomLambdaDeploymentConfigProps>- Returns:
- a new instance of
CustomLambdaDeploymentConfigProps - Throws:
NullPointerException- if any required attribute was not provided
-