@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 S3 bucket where artifacts are stored for the pipeline.
|
Map<String,ArtifactStore> |
artifactStores()
A mapping of
artifactStore objects and their corresponding AWS Regions. |
static PipelineDeclaration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasArtifactStores()
Returns true if the ArtifactStores property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasStages()
Returns true if the Stages property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
name()
The name of the pipeline.
|
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() |
String |
toString()
Returns a string representation of this object.
|
Integer |
version()
The version number of the pipeline.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the pipeline.
public final 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.
actionRoleArn, or to use to assume roles for actions with an actionRoleArn.public final 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.
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.
public final boolean hasArtifactStores()
public final Map<String,ArtifactStore> artifactStores()
A mapping of artifactStore objects and their corresponding AWS 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasArtifactStores() to see if a value was sent in this field.
artifactStore objects and their corresponding AWS 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.
public final boolean hasStages()
public final 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.
You can use hasStages() to see if a value was sent in this field.
public final 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.
public PipelineDeclaration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PipelineDeclaration.Builder,PipelineDeclaration>public static PipelineDeclaration.Builder builder()
public static Class<? extends PipelineDeclaration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.