public static interface PipelineDeclaration.Builder extends SdkPojo, CopyableBuilder<PipelineDeclaration.Builder,PipelineDeclaration>
| Modifier and Type | Method and Description |
|---|---|
PipelineDeclaration.Builder |
artifactStore(ArtifactStore artifactStore)
Represents information about the S3 bucket where artifacts are stored for the pipeline.
|
default PipelineDeclaration.Builder |
artifactStore(Consumer<ArtifactStore.Builder> artifactStore)
Represents information about the S3 bucket where artifacts are stored for the pipeline.
|
PipelineDeclaration.Builder |
artifactStores(Map<String,ArtifactStore> artifactStores)
A mapping of
artifactStore objects and their corresponding Amazon Web Services Regions. |
PipelineDeclaration.Builder |
name(String name)
The name of the pipeline.
|
PipelineDeclaration.Builder |
roleArn(String 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. |
PipelineDeclaration.Builder |
stages(Collection<StageDeclaration> stages)
The stage in which to perform the action.
|
PipelineDeclaration.Builder |
stages(Consumer<StageDeclaration.Builder>... stages)
The stage in which to perform the action.
|
PipelineDeclaration.Builder |
stages(StageDeclaration... stages)
The stage in which to perform the action.
|
PipelineDeclaration.Builder |
version(Integer version)
The version number of the pipeline.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPipelineDeclaration.Builder name(String name)
The name of the pipeline.
name - The name of the pipeline.PipelineDeclaration.Builder roleArn(String 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.
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.PipelineDeclaration.Builder artifactStore(ArtifactStore artifactStore)
Represents information about the S3 bucket where artifacts are stored for the pipeline.
You must include either artifactStore or artifactStores in your pipeline, but you
cannot use both. If you create a cross-region action in your pipeline, you must use
artifactStores.
artifactStore - Represents information about the S3 bucket where artifacts are stored for the pipeline.
You must include either artifactStore or artifactStores in your pipeline,
but you cannot use both. If you create a cross-region action in your pipeline, you must use
artifactStores.
default PipelineDeclaration.Builder artifactStore(Consumer<ArtifactStore.Builder> artifactStore)
Represents information about the S3 bucket where artifacts are stored for the pipeline.
You must include either artifactStore or artifactStores in your pipeline, but you
cannot use both. If you create a cross-region action in your pipeline, you must use
artifactStores.
ArtifactStore.Builder avoiding
the need to create one manually via ArtifactStore.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to artifactStore(ArtifactStore).
artifactStore - a consumer that will call methods on ArtifactStore.BuilderartifactStore(ArtifactStore)PipelineDeclaration.Builder artifactStores(Map<String,ArtifactStore> artifactStores)
A mapping of artifactStore objects and their corresponding Amazon Web Services 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 or artifactStores in your pipeline, but you
cannot use both. If you create a cross-region action in your pipeline, you must use
artifactStores.
artifactStores - A mapping of artifactStore objects and their corresponding Amazon Web Services 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 or artifactStores in your pipeline,
but you cannot use both. If you create a cross-region action in your pipeline, you must use
artifactStores.
PipelineDeclaration.Builder stages(Collection<StageDeclaration> stages)
The stage in which to perform the action.
stages - The stage in which to perform the action.PipelineDeclaration.Builder stages(StageDeclaration... stages)
The stage in which to perform the action.
stages - The stage in which to perform the action.PipelineDeclaration.Builder stages(Consumer<StageDeclaration.Builder>... stages)
The stage in which to perform the action.
This is a convenience method that creates an instance of theStageDeclaration.Builder avoiding the need to
create one manually via StageDeclaration.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #stages(List.
stages - a consumer that will call methods on
StageDeclaration.Builder#stages(java.util.Collection) PipelineDeclaration.Builder version(Integer version)
The version number of the pipeline. A new pipeline always has a version number of 1. This number is incremented when a pipeline is updated.
version - The version number of the pipeline. A new pipeline always has a version number of 1. This number is
incremented when a pipeline is updated.Copyright © 2023. All rights reserved.