@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()
For responses, this returns true if the service returned a value for the ArtifactStores property.
|
int |
hashCode() |
boolean |
hasStages()
For responses, this returns true if the service returned a value for the Stages property.
|
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()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasArtifactStores() method.
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()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasStages() method.
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 © 2023. All rights reserved.