public static interface PipelineDeclaration.Builder extends CopyableBuilder<PipelineDeclaration.Builder,PipelineDeclaration>
Modifier and Type | Method and Description |
---|---|
PipelineDeclaration.Builder |
artifactStore(ArtifactStore artifactStore)
Represents information about the Amazon S3 bucket where artifacts are stored for the pipeline.
|
default PipelineDeclaration.Builder |
artifactStore(Consumer<ArtifactStore.Builder> artifactStore)
Represents information about the Amazon S3 bucket where artifacts are stored for the pipeline.
|
PipelineDeclaration.Builder |
name(String name)
The name of the action to be performed.
|
PipelineDeclaration.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) for AWS 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(StageDeclaration... stages)
The stage in which to perform the action.
|
PipelineDeclaration.Builder |
version(Integer version)
The version number of the pipeline.
|
copy
apply, build
PipelineDeclaration.Builder name(String name)
The name of the action to be performed.
name
- The name of the action to be performed.PipelineDeclaration.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) for AWS 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 AWS 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 Amazon S3 bucket where artifacts are stored for the pipeline.
artifactStore
- Represents information about the Amazon S3 bucket where artifacts are stored for the pipeline.default PipelineDeclaration.Builder artifactStore(Consumer<ArtifactStore.Builder> artifactStore)
Represents information about the Amazon S3 bucket where artifacts are stored for the pipeline.
This is a convenience that creates an instance of theArtifactStore.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.Builder
artifactStore(ArtifactStore)
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 version(Integer version)
The version number of the pipeline. A new pipeline always has a version number of 1. This number is automatically 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
automatically incremented when a pipeline is updated.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.