@Stability(value=Stable) public static final class CodeBuildActionProps.Builder extends Object
CodeBuildActionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CodeBuildActionProps.Builder |
actionName(String actionName)
Sets the value of ActionName
|
CodeBuildActionProps |
build()
Builds the configured instance.
|
CodeBuildActionProps.Builder |
environmentVariables(Map<String,BuildEnvironmentVariable> environmentVariables)
Sets the value of EnvironmentVariables
|
CodeBuildActionProps.Builder |
extraInputs(List<Artifact> extraInputs)
Sets the value of ExtraInputs
|
CodeBuildActionProps.Builder |
input(Artifact input)
Sets the value of Input
|
CodeBuildActionProps.Builder |
outputs(List<Artifact> outputs)
Sets the value of Outputs
|
CodeBuildActionProps.Builder |
project(IProject project)
Sets the value of Project
|
CodeBuildActionProps.Builder |
role(IRole role)
Sets the value of Role
|
CodeBuildActionProps.Builder |
runOrder(Number runOrder)
Sets the value of RunOrder
|
CodeBuildActionProps.Builder |
type(CodeBuildActionType type)
Sets the value of Type
|
@Stability(value=Stable) public CodeBuildActionProps.Builder input(Artifact input)
input - The source to use as input for this action. This parameter is required.this@Stability(value=Stable) public CodeBuildActionProps.Builder project(IProject project)
project - The action's Project. This parameter is required.this@Stability(value=Stable) public CodeBuildActionProps.Builder environmentVariables(Map<String,BuildEnvironmentVariable> environmentVariables)
environmentVariables - The environment variables to pass to the CodeBuild project when this action executes. If a variable with the same name was set both on the project level, and here, this value will take precedence.this@Stability(value=Stable) public CodeBuildActionProps.Builder extraInputs(List<Artifact> extraInputs)
extraInputs - The list of additional input Artifacts for this action.this@Stability(value=Stable) public CodeBuildActionProps.Builder outputs(List<Artifact> outputs)
outputs - The list of output Artifacts for this action. **Note**: if you specify more than one output Artifact here, you cannot use the primary 'artifacts' section of the buildspec; you have to use the 'secondary-artifacts' section instead. See https://docs.aws.amazon.com/codebuild/latest/userguide/sample-multi-in-out.html for details.this@Stability(value=Stable) public CodeBuildActionProps.Builder type(CodeBuildActionType type)
type - The type of the action that determines its CodePipeline Category - Build, or Test.this@Stability(value=Stable) public CodeBuildActionProps.Builder role(IRole role)
role - The Role in which context's this Action will be executing in. 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 IAction.bind method in the ActionBindOptions.role property.this@Stability(value=Stable) public CodeBuildActionProps.Builder actionName(String actionName)
actionName - The physical, human-readable name of the Action. Not that Action names must be unique within a single Stage. This parameter is required.this@Stability(value=Stable) public CodeBuildActionProps.Builder runOrder(Number runOrder)
runOrder - The runOrder property for this Action. RunOrder determines the relative order in which multiple Actions in the same Stage execute.this@Stability(value=Stable) public CodeBuildActionProps build()
CodeBuildActionPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.