@Stability(value=Stable) public static final class PipelineProps.Builder extends Object implements software.amazon.jsii.Builder<PipelineProps>
PipelineProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
PipelineProps.Builder |
artifactBucket(IBucket artifactBucket)
Sets the value of
PipelineProps.getArtifactBucket() |
PipelineProps |
build()
Builds the configured instance.
|
PipelineProps.Builder |
crossRegionReplicationBuckets(Map<String,IBucket> crossRegionReplicationBuckets)
Sets the value of
PipelineProps.getCrossRegionReplicationBuckets() |
PipelineProps.Builder |
pipelineName(String pipelineName)
Sets the value of
PipelineProps.getPipelineName() |
PipelineProps.Builder |
restartExecutionOnUpdate(Boolean restartExecutionOnUpdate)
Sets the value of
PipelineProps.getRestartExecutionOnUpdate() |
PipelineProps.Builder |
role(IRole role)
Sets the value of
PipelineProps.getRole() |
PipelineProps.Builder |
stages(List<StageProps> stages)
Sets the value of
PipelineProps.getStages() |
@Stability(value=Stable) public PipelineProps.Builder artifactBucket(IBucket artifactBucket)
PipelineProps.getArtifactBucket()artifactBucket - The S3 bucket used by this Pipeline to store artifacts.this@Stability(value=Experimental) public PipelineProps.Builder crossRegionReplicationBuckets(Map<String,IBucket> crossRegionReplicationBuckets)
PipelineProps.getCrossRegionReplicationBuckets()crossRegionReplicationBuckets - A map of region to S3 bucket name used for cross-region CodePipeline.
For every Action that you specify targeting a different region than the Pipeline itself,
if you don't provide an explicit Bucket for that region using this property,
the construct will automatically create a Stack containing an S3 Bucket in that region.this@Stability(value=Stable) public PipelineProps.Builder pipelineName(String pipelineName)
PipelineProps.getPipelineName()pipelineName - Name of the pipeline.this@Stability(value=Stable) public PipelineProps.Builder restartExecutionOnUpdate(Boolean restartExecutionOnUpdate)
PipelineProps.getRestartExecutionOnUpdate()restartExecutionOnUpdate - Indicates whether to rerun the AWS CodePipeline pipeline after you update it.this@Stability(value=Stable) public PipelineProps.Builder role(IRole role)
PipelineProps.getRole()role - The IAM role to be assumed by this Pipeline.this@Stability(value=Stable) public PipelineProps.Builder stages(List<StageProps> stages)
PipelineProps.getStages()stages - The list of Stages, in order, to create this Pipeline with.
You can always add more Stages later by calling {@link Pipeline#addStage}.this@Stability(value=Stable) public PipelineProps build()
build in interface software.amazon.jsii.Builder<PipelineProps>PipelinePropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.