public static final class CfnCodeDeployLambdaAliasUpdate.Builder
extends java.lang.Object
CfnCodeDeployLambdaAliasUpdate
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCodeDeployLambdaAliasUpdate.Builder |
afterAllowTrafficHook(java.lang.String afterAllowTrafficHook)
Sets the value of
CfnCodeDeployLambdaAliasUpdate.getAfterAllowTrafficHook() |
CfnCodeDeployLambdaAliasUpdate.Builder |
applicationName(java.lang.String applicationName)
Sets the value of
CfnCodeDeployLambdaAliasUpdate.getApplicationName() |
CfnCodeDeployLambdaAliasUpdate.Builder |
beforeAllowTrafficHook(java.lang.String beforeAllowTrafficHook)
Sets the value of
CfnCodeDeployLambdaAliasUpdate.getBeforeAllowTrafficHook() |
CfnCodeDeployLambdaAliasUpdate |
build()
Builds the configured instance.
|
CfnCodeDeployLambdaAliasUpdate.Builder |
deploymentGroupName(java.lang.String deploymentGroupName)
Sets the value of
CfnCodeDeployLambdaAliasUpdate.getDeploymentGroupName() |
public CfnCodeDeployLambdaAliasUpdate.Builder applicationName(java.lang.String applicationName)
CfnCodeDeployLambdaAliasUpdate.getApplicationName()
applicationName
- The name of the AWS CodeDeploy application. This parameter is required.this
public CfnCodeDeployLambdaAliasUpdate.Builder deploymentGroupName(java.lang.String deploymentGroupName)
CfnCodeDeployLambdaAliasUpdate.getDeploymentGroupName()
deploymentGroupName
- The name of the AWS CodeDeploy deployment group. This parameter is required.
This is where the traffic-shifting policy is set.this
public CfnCodeDeployLambdaAliasUpdate.Builder afterAllowTrafficHook(java.lang.String afterAllowTrafficHook)
CfnCodeDeployLambdaAliasUpdate.getAfterAllowTrafficHook()
afterAllowTrafficHook
- The name of the Lambda function to run after traffic routing completes.this
public CfnCodeDeployLambdaAliasUpdate.Builder beforeAllowTrafficHook(java.lang.String beforeAllowTrafficHook)
CfnCodeDeployLambdaAliasUpdate.getBeforeAllowTrafficHook()
beforeAllowTrafficHook
- The name of the Lambda function to run before traffic routing starts.this
public CfnCodeDeployLambdaAliasUpdate build()
CfnCodeDeployLambdaAliasUpdate
java.lang.NullPointerException
- if any required attribute was not provided