@Generated(value="software.amazon.awssdk:codegen") public final class PipelineExecution extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PipelineExecution.Builder,PipelineExecution>
Represents information about an execution of a pipeline.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PipelineExecution.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<ArtifactRevision> |
artifactRevisions()
A list of
ArtifactRevision objects included in a pipeline execution. |
static PipelineExecution.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasArtifactRevisions()
For responses, this returns true if the service returned a value for the ArtifactRevisions property.
|
int |
hashCode() |
String |
pipelineExecutionId()
The ID of the pipeline execution.
|
String |
pipelineName()
The name of the pipeline with the specified pipeline execution.
|
Integer |
pipelineVersion()
The version number of the pipeline with the specified pipeline execution.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PipelineExecution.Builder> |
serializableBuilderClass() |
PipelineExecutionStatus |
status()
The status of the pipeline execution.
|
String |
statusAsString()
The status of the pipeline execution.
|
String |
statusSummary()
A summary that contains a description of the pipeline execution status.
|
PipelineExecution.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String pipelineName()
The name of the pipeline with the specified pipeline execution.
public final Integer pipelineVersion()
The version number of the pipeline with the specified pipeline execution.
public final String pipelineExecutionId()
The ID of the pipeline execution.
public final PipelineExecutionStatus status()
The status of the pipeline execution.
Cancelled: The pipeline’s definition was updated before the pipeline execution could be completed.
InProgress: The pipeline execution is currently running.
Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions.
Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions.
Succeeded: The pipeline execution was completed successfully.
Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution advanced and continued through the pipeline instead. For more information, see Superseded Executions.
Failed: The pipeline execution was not completed successfully.
If the service returns an enum value that is not available in the current SDK version, status will
return PipelineExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
Cancelled: The pipeline’s definition was updated before the pipeline execution could be completed.
InProgress: The pipeline execution is currently running.
Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions.
Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions.
Succeeded: The pipeline execution was completed successfully.
Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution advanced and continued through the pipeline instead. For more information, see Superseded Executions.
Failed: The pipeline execution was not completed successfully.
PipelineExecutionStatuspublic final String statusAsString()
The status of the pipeline execution.
Cancelled: The pipeline’s definition was updated before the pipeline execution could be completed.
InProgress: The pipeline execution is currently running.
Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions.
Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions.
Succeeded: The pipeline execution was completed successfully.
Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution advanced and continued through the pipeline instead. For more information, see Superseded Executions.
Failed: The pipeline execution was not completed successfully.
If the service returns an enum value that is not available in the current SDK version, status will
return PipelineExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
Cancelled: The pipeline’s definition was updated before the pipeline execution could be completed.
InProgress: The pipeline execution is currently running.
Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions.
Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions.
Succeeded: The pipeline execution was completed successfully.
Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution advanced and continued through the pipeline instead. For more information, see Superseded Executions.
Failed: The pipeline execution was not completed successfully.
PipelineExecutionStatuspublic final String statusSummary()
A summary that contains a description of the pipeline execution status.
public final boolean hasArtifactRevisions()
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<ArtifactRevision> artifactRevisions()
A list of ArtifactRevision objects included in a pipeline execution.
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 hasArtifactRevisions() method.
ArtifactRevision objects included in a pipeline execution.public PipelineExecution.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PipelineExecution.Builder,PipelineExecution>public static PipelineExecution.Builder builder()
public static Class<? extends PipelineExecution.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.