@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()
Returns true if the ArtifactRevisions 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() |
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()
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.
You can use hasArtifactRevisions() to see if a value was sent in this field.
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 © 2021. All rights reserved.