public static final class CfnPipelineProps.Builder
extends java.lang.Object
CfnPipelineProps
Constructor and Description |
---|
Builder() |
public CfnPipelineProps.Builder roleArn(java.lang.String roleArn)
CfnPipelineProps.getRoleArn()
roleArn
- The Amazon Resource Name (ARN) for CodePipeline to use to either perform actions with no `actionRoleArn` , or to use to assume roles for actions with an `actionRoleArn` . This parameter is required.this
public CfnPipelineProps.Builder stages(IResolvable stages)
CfnPipelineProps.getStages()
stages
- Represents information about a stage and its definition. This parameter is required.this
public CfnPipelineProps.Builder stages(java.util.List<? extends java.lang.Object> stages)
CfnPipelineProps.getStages()
stages
- Represents information about a stage and its definition. This parameter is required.this
public CfnPipelineProps.Builder artifactStore(IResolvable artifactStore)
CfnPipelineProps.getArtifactStore()
artifactStore
- The S3 bucket where artifacts for the pipeline are stored.
You must include either
artifactStore
orartifactStores
in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must useartifactStores
.
this
public CfnPipelineProps.Builder artifactStore(CfnPipeline.ArtifactStoreProperty artifactStore)
CfnPipelineProps.getArtifactStore()
artifactStore
- The S3 bucket where artifacts for the pipeline are stored.
You must include either
artifactStore
orartifactStores
in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must useartifactStores
.
this
public CfnPipelineProps.Builder artifactStores(IResolvable artifactStores)
CfnPipelineProps.getArtifactStores()
artifactStores
- A mapping of `artifactStore` objects 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
artifactStore
orartifactStores
in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must useartifactStores
.
this
public CfnPipelineProps.Builder artifactStores(java.util.List<? extends java.lang.Object> artifactStores)
CfnPipelineProps.getArtifactStores()
artifactStores
- A mapping of `artifactStore` objects 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
artifactStore
orartifactStores
in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must useartifactStores
.
this
public CfnPipelineProps.Builder disableInboundStageTransitions(IResolvable disableInboundStageTransitions)
CfnPipelineProps.getDisableInboundStageTransitions()
disableInboundStageTransitions
- Represents the input of a `DisableStageTransition` action.this
public CfnPipelineProps.Builder disableInboundStageTransitions(java.util.List<? extends java.lang.Object> disableInboundStageTransitions)
CfnPipelineProps.getDisableInboundStageTransitions()
disableInboundStageTransitions
- Represents the input of a `DisableStageTransition` action.this
public CfnPipelineProps.Builder name(java.lang.String name)
CfnPipelineProps.getName()
name
- The name of the pipeline.this
public CfnPipelineProps.Builder restartExecutionOnUpdate(java.lang.Boolean restartExecutionOnUpdate)
CfnPipelineProps.getRestartExecutionOnUpdate()
restartExecutionOnUpdate
- Indicates whether to rerun the CodePipeline pipeline after you update it.this
public CfnPipelineProps.Builder restartExecutionOnUpdate(IResolvable restartExecutionOnUpdate)
CfnPipelineProps.getRestartExecutionOnUpdate()
restartExecutionOnUpdate
- Indicates whether to rerun the CodePipeline pipeline after you update it.this
public CfnPipelineProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnPipelineProps.getTags()
tags
- Specifies the tags applied to the pipeline.this
public CfnPipelineProps build()
CfnPipelineProps
java.lang.NullPointerException
- if any required attribute was not provided