public static final class CodeDeployServerDeployAction.Builder
extends java.lang.Object
CodeDeployServerDeployAction
.Modifier and Type | Method and Description |
---|---|
CodeDeployServerDeployAction.Builder |
actionName(java.lang.String actionName)
The physical, human-readable name of the Action.
|
CodeDeployServerDeployAction |
build() |
static CodeDeployServerDeployAction.Builder |
create() |
CodeDeployServerDeployAction.Builder |
deploymentGroup(IServerDeploymentGroup deploymentGroup)
The CodeDeploy server Deployment Group to deploy to.
|
CodeDeployServerDeployAction.Builder |
input(Artifact input)
The source to use as input for deployment.
|
CodeDeployServerDeployAction.Builder |
role(IRole role)
The Role in which context's this Action will be executing in.
|
CodeDeployServerDeployAction.Builder |
runOrder(java.lang.Number runOrder)
The runOrder property for this Action.
|
CodeDeployServerDeployAction.Builder |
variablesNamespace(java.lang.String variablesNamespace)
The name of the namespace to use for variables emitted by this action.
|
public static CodeDeployServerDeployAction.Builder create()
CodeDeployServerDeployAction.Builder
.public CodeDeployServerDeployAction.Builder actionName(java.lang.String actionName)
Note that Action names must be unique within a single Stage.
actionName
- The physical, human-readable name of the Action. This parameter is required.this
public CodeDeployServerDeployAction.Builder runOrder(java.lang.Number runOrder)
RunOrder determines the relative order in which multiple Actions in the same Stage execute.
Default: 1
runOrder
- The runOrder property for this Action. This parameter is required.this
https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html
public CodeDeployServerDeployAction.Builder variablesNamespace(java.lang.String variablesNamespace)
Default: - a name will be generated, based on the stage and action names, if any of the action's variables were referenced - otherwise, no namespace will be set
variablesNamespace
- The name of the namespace to use for variables emitted by this action. This parameter is required.this
public CodeDeployServerDeployAction.Builder role(IRole role)
The Pipeline's Role will assume this Role (the required permissions for that will be granted automatically) right before executing this Action. This Action will be passed into your {@link IAction.bind} method in the {@link ActionBindOptions.role} property.
Default: a new Role will be generated
role
- The Role in which context's this Action will be executing in. This parameter is required.this
public CodeDeployServerDeployAction.Builder deploymentGroup(IServerDeploymentGroup deploymentGroup)
deploymentGroup
- The CodeDeploy server Deployment Group to deploy to. This parameter is required.this
public CodeDeployServerDeployAction.Builder input(Artifact input)
input
- The source to use as input for deployment. This parameter is required.this
public CodeDeployServerDeployAction build()