CopyableBuilder<PipelineDeclaration.Builder,PipelineDeclaration>
, SdkBuilder<PipelineDeclaration.Builder,PipelineDeclaration>
public static interface PipelineDeclaration.Builder extends CopyableBuilder<PipelineDeclaration.Builder,PipelineDeclaration>
Modifier and Type | Method | Description |
---|---|---|
PipelineDeclaration.Builder |
artifactStore(ArtifactStore artifactStore) |
Represents the context of an action within the stage of a pipeline to a job worker.
|
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 the context of an action within the stage of a pipeline to a job worker.
artifactStore
- Represents the context of an action within the stage of a pipeline to a job worker.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.
NOTE: This method appends the values to the existing list (if any). Use
#setStages(java.util.Collection)
or #withStages(java.util.Collection)
if you want to override
the existing values.
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.