@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 Amazon Web Services 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.
|
boolean |
hasTriggers()
For responses, this returns true if the service returned a value for the Triggers property.
|
boolean |
hasVariables()
For responses, this returns true if the service returned a value for the Variables property.
|
String |
name()
The name of the pipeline.
|
PipelineType |
pipelineType()
CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can
tailor your pipeline features and cost to the needs of your applications.
|
String |
pipelineTypeAsString()
CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can
tailor your pipeline features and cost to the needs of your applications.
|
String |
roleArn()
The Amazon Resource Name (ARN) for 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.
|
List<PipelineTriggerDeclaration> |
triggers()
The trigger configuration specifying a type of event, such as Git tags, that starts the pipeline.
|
List<PipelineVariableDeclaration> |
variables()
A list that defines the pipeline variables for a pipeline resource.
|
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 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 Amazon Web Services 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 Amazon Web Services 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 final PipelineType pipelineType()
CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications.
V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters.
V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration.
Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs.
For information about pricing for CodePipeline, see Pricing.
For information about which type of pipeline to choose, see What type of pipeline is right for me?.
If the service returns an enum value that is not available in the current SDK version, pipelineType will
return PipelineType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
pipelineTypeAsString().
V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters.
V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration.
Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs.
For information about pricing for CodePipeline, see Pricing.
For information about which type of pipeline to choose, see What type of pipeline is right for me?.
PipelineTypepublic final String pipelineTypeAsString()
CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications.
V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters.
V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration.
Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs.
For information about pricing for CodePipeline, see Pricing.
For information about which type of pipeline to choose, see What type of pipeline is right for me?.
If the service returns an enum value that is not available in the current SDK version, pipelineType will
return PipelineType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
pipelineTypeAsString().
V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters.
V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration.
Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs.
For information about pricing for CodePipeline, see Pricing.
For information about which type of pipeline to choose, see What type of pipeline is right for me?.
PipelineTypepublic final boolean hasTriggers()
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<PipelineTriggerDeclaration> triggers()
The trigger configuration specifying a type of event, such as Git tags, that starts the pipeline.
When a trigger configuration is specified, default change detection for repository and branch commits is disabled.
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 hasTriggers() method.
When a trigger configuration is specified, default change detection for repository and branch commits is disabled.
public final boolean hasVariables()
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<PipelineVariableDeclaration> variables()
A list that defines the pipeline variables for a pipeline resource. Variable names can have alphanumeric and
underscore characters, and the values must match [A-Za-z0-9@\-_]+.
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 hasVariables() method.
[A-Za-z0-9@\-_]+.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.