@Generated(value="software.amazon.awssdk:codegen") public final class PipelineDeclaration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PipelineDeclaration.Builder,PipelineDeclaration>
Represents the structure of actions and stages to be performed in the pipeline.
Modifier and Type | Class and Description |
---|---|
static interface |
PipelineDeclaration.Builder |
Modifier and Type | Method and Description |
---|---|
ArtifactStore |
artifactStore()
Represents information about the Amazon S3 bucket where artifacts are stored for the pipeline.
|
Map<String,ArtifactStore> |
artifactStores()
A mapping of artifactStore objects and their corresponding regions.
|
static PipelineDeclaration.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the action to be performed.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PipelineDeclaration.Builder> |
serializableBuilderClass() |
List<StageDeclaration> |
stages()
The stage in which to perform the action.
|
PipelineDeclaration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Integer |
version()
The version number of the pipeline.
|
copy
public String name()
The name of the action to be performed.
public 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.
public ArtifactStore artifactStore()
Represents information about the Amazon S3 bucket where artifacts are stored for the pipeline.
public Map<String,ArtifactStore> artifactStores()
A mapping of artifactStore objects and their corresponding regions. There must be an artifact store for the pipeline region and for each cross-region action within the pipeline. You can only use either artifactStore or artifactStores, not both.
If you create a cross-region action in your pipeline, you must use artifactStores.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
If you create a cross-region action in your pipeline, you must use artifactStores.
public List<StageDeclaration> stages()
The stage in which to perform the action.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public 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.
public PipelineDeclaration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PipelineDeclaration.Builder,PipelineDeclaration>
public static PipelineDeclaration.Builder builder()
public static Class<? extends PipelineDeclaration.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.