Class CfnPipelineMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipelineMixinProps>
- Enclosing interface:
CfnPipelineMixinProps
CfnPipelineMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionartifactStore(IResolvable artifactStore) Sets the value ofCfnPipelineMixinProps.getArtifactStore()artifactStore(CfnPipelinePropsMixin.ArtifactStoreProperty artifactStore) Sets the value ofCfnPipelineMixinProps.getArtifactStore()artifactStores(List<? extends Object> artifactStores) Sets the value ofCfnPipelineMixinProps.getArtifactStores()artifactStores(IResolvable artifactStores) Sets the value ofCfnPipelineMixinProps.getArtifactStores()build()Builds the configured instance.disableInboundStageTransitions(List<? extends Object> disableInboundStageTransitions) Sets the value ofCfnPipelineMixinProps.getDisableInboundStageTransitions()disableInboundStageTransitions(IResolvable disableInboundStageTransitions) Sets the value ofCfnPipelineMixinProps.getDisableInboundStageTransitions()executionMode(String executionMode) Sets the value ofCfnPipelineMixinProps.getExecutionMode()Sets the value ofCfnPipelineMixinProps.getName()pipelineType(String pipelineType) Sets the value ofCfnPipelineMixinProps.getPipelineType()restartExecutionOnUpdate(Boolean restartExecutionOnUpdate) Sets the value ofCfnPipelineMixinProps.getRestartExecutionOnUpdate()restartExecutionOnUpdate(IResolvable restartExecutionOnUpdate) Sets the value ofCfnPipelineMixinProps.getRestartExecutionOnUpdate()Sets the value ofCfnPipelineMixinProps.getRoleArn()Sets the value ofCfnPipelineMixinProps.getStages()stages(IResolvable stages) Sets the value ofCfnPipelineMixinProps.getStages()Sets the value ofCfnPipelineMixinProps.getTags()Sets the value ofCfnPipelineMixinProps.getTriggers()triggers(IResolvable triggers) Sets the value ofCfnPipelineMixinProps.getTriggers()Sets the value ofCfnPipelineMixinProps.getVariables()variables(IResolvable variables) Sets the value ofCfnPipelineMixinProps.getVariables()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
artifactStore
Sets the value ofCfnPipelineMixinProps.getArtifactStore()- Parameters:
artifactStore- The S3 bucket where artifacts for the pipeline are stored.You must include either
artifactStoreorartifactStoresin your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must useartifactStores.- Returns:
this
-
artifactStore
@Stability(Stable) public CfnPipelineMixinProps.Builder artifactStore(CfnPipelinePropsMixin.ArtifactStoreProperty artifactStore) Sets the value ofCfnPipelineMixinProps.getArtifactStore()- Parameters:
artifactStore- The S3 bucket where artifacts for the pipeline are stored.You must include either
artifactStoreorartifactStoresin your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must useartifactStores.- Returns:
this
-
artifactStores
Sets the value ofCfnPipelineMixinProps.getArtifactStores()- Parameters:
artifactStores- A mapping ofartifactStoreobjects and their corresponding AWS Regions. There must be an artifact store for the pipeline Region and for each cross-region action in the pipeline.You must include either
artifactStoreorartifactStoresin your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must useartifactStores.- Returns:
this
-
artifactStores
@Stability(Stable) public CfnPipelineMixinProps.Builder artifactStores(List<? extends Object> artifactStores) Sets the value ofCfnPipelineMixinProps.getArtifactStores()- Parameters:
artifactStores- A mapping ofartifactStoreobjects and their corresponding AWS Regions. There must be an artifact store for the pipeline Region and for each cross-region action in the pipeline.You must include either
artifactStoreorartifactStoresin your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must useartifactStores.- Returns:
this
-
disableInboundStageTransitions
@Stability(Stable) public CfnPipelineMixinProps.Builder disableInboundStageTransitions(IResolvable disableInboundStageTransitions) Sets the value ofCfnPipelineMixinProps.getDisableInboundStageTransitions()- Parameters:
disableInboundStageTransitions- Represents the input of aDisableStageTransitionaction.- Returns:
this
-
disableInboundStageTransitions
@Stability(Stable) public CfnPipelineMixinProps.Builder disableInboundStageTransitions(List<? extends Object> disableInboundStageTransitions) Sets the value ofCfnPipelineMixinProps.getDisableInboundStageTransitions()- Parameters:
disableInboundStageTransitions- Represents the input of aDisableStageTransitionaction.- Returns:
this
-
executionMode
Sets the value ofCfnPipelineMixinProps.getExecutionMode()- Parameters:
executionMode- The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.- Returns:
this
-
name
Sets the value ofCfnPipelineMixinProps.getName()- Parameters:
name- The name of the pipeline.- Returns:
this
-
pipelineType
Sets the value ofCfnPipelineMixinProps.getPipelineType()- Parameters:
pipelineType- CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications.- V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters.
- V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration.
Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs.
For information about pricing for CodePipeline, see Pricing .
For information about which type of pipeline to choose, see What type of pipeline is right for me? .
- Returns:
this
-
restartExecutionOnUpdate
@Stability(Stable) public CfnPipelineMixinProps.Builder restartExecutionOnUpdate(Boolean restartExecutionOnUpdate) Sets the value ofCfnPipelineMixinProps.getRestartExecutionOnUpdate()- Parameters:
restartExecutionOnUpdate- Indicates whether to rerun the CodePipeline pipeline after you update it.- Returns:
this
-
restartExecutionOnUpdate
@Stability(Stable) public CfnPipelineMixinProps.Builder restartExecutionOnUpdate(IResolvable restartExecutionOnUpdate) Sets the value ofCfnPipelineMixinProps.getRestartExecutionOnUpdate()- Parameters:
restartExecutionOnUpdate- Indicates whether to rerun the CodePipeline pipeline after you update it.- Returns:
this
-
roleArn
Sets the value ofCfnPipelineMixinProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) for CodePipeline to use to either perform actions with noactionRoleArn, or to use to assume roles for actions with anactionRoleArn.- Returns:
this
-
stages
Sets the value ofCfnPipelineMixinProps.getStages()- Parameters:
stages- Represents information about a stage and its definition.- Returns:
this
-
stages
Sets the value ofCfnPipelineMixinProps.getStages()- Parameters:
stages- Represents information about a stage and its definition.- Returns:
this
-
tags
Sets the value ofCfnPipelineMixinProps.getTags()- Parameters:
tags- Specifies the tags applied to the pipeline.- Returns:
this
-
triggers
Sets the value ofCfnPipelineMixinProps.getTriggers()- Parameters:
triggers- The trigger configuration specifying a type of event, such as Git tags, that starts the pipeline.When a trigger configuration is specified, default change detection for repository and branch commits is disabled.
- Returns:
this
-
triggers
Sets the value ofCfnPipelineMixinProps.getTriggers()- Parameters:
triggers- The trigger configuration specifying a type of event, such as Git tags, that starts the pipeline.When a trigger configuration is specified, default change detection for repository and branch commits is disabled.
- Returns:
this
-
variables
Sets the value ofCfnPipelineMixinProps.getVariables()- Parameters:
variables- A list that defines the pipeline variables for a pipeline resource. Variable names can have alphanumeric and underscore characters, and the values must match[A-Za-z0-9@\-_]+.- Returns:
this
-
variables
Sets the value ofCfnPipelineMixinProps.getVariables()- Parameters:
variables- A list that defines the pipeline variables for a pipeline resource. Variable names can have alphanumeric and underscore characters, and the values must match[A-Za-z0-9@\-_]+.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipelineMixinProps>- Returns:
- a new instance of
CfnPipelineMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-