Package software.amazon.awscdk.pipelines
Class CodePipelineActionFactoryResult.Builder
java.lang.Object
software.amazon.awscdk.pipelines.CodePipelineActionFactoryResult.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodePipelineActionFactoryResult>
- Enclosing interface:
CodePipelineActionFactoryResult
@Stability(Stable)
public static final class CodePipelineActionFactoryResult.Builder
extends Object
implements software.amazon.jsii.Builder<CodePipelineActionFactoryResult>
A builder for
CodePipelineActionFactoryResult
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCodePipelineActionFactoryResult.getProject()
runOrdersConsumed
(Number runOrdersConsumed) Sets the value ofCodePipelineActionFactoryResult.getRunOrdersConsumed()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
runOrdersConsumed
@Stability(Stable) public CodePipelineActionFactoryResult.Builder runOrdersConsumed(Number runOrdersConsumed) Sets the value ofCodePipelineActionFactoryResult.getRunOrdersConsumed()
- Parameters:
runOrdersConsumed
- How many RunOrders were consumed. This parameter is required. If you add 1 action, return the value 1 here.- Returns:
this
-
project
Sets the value ofCodePipelineActionFactoryResult.getProject()
- Parameters:
project
- If a CodeBuild project got created, the project.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CodePipelineActionFactoryResult>
- Returns:
- a new instance of
CodePipelineActionFactoryResult
- Throws:
NullPointerException
- if any required attribute was not provided
-