@Generated(value="software.amazon.awssdk:codegen") public class PipelineExecution extends Object implements StructuredPojo, 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
pipelineExecutionId()
The ID of the pipeline execution.
|
String |
pipelineName()
The name of the pipeline that was executed.
|
Integer |
pipelineVersion()
The version number of the pipeline that was executed.
|
static Class<? extends PipelineExecution.Builder> |
serializableBuilderClass() |
PipelineExecutionStatus |
status()
The status of the pipeline execution.
|
String |
statusString()
The status of the pipeline execution.
|
PipelineExecution.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String pipelineName()
The name of the pipeline that was executed.
public Integer pipelineVersion()
The version number of the pipeline that was executed.
public String pipelineExecutionId()
The ID of the pipeline execution.
public PipelineExecutionStatus status()
The status of the pipeline execution.
InProgress: The pipeline execution is currently running.
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.
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 statusString()
.
InProgress: The pipeline execution is currently running.
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.
Failed: The pipeline execution was not completed successfully.
PipelineExecutionStatus
public String statusString()
The status of the pipeline execution.
InProgress: The pipeline execution is currently running.
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.
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 statusString()
.
InProgress: The pipeline execution is currently running.
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.
Failed: The pipeline execution was not completed successfully.
PipelineExecutionStatus
public 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.
public PipelineExecution.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PipelineExecution.Builder,PipelineExecution>
public static PipelineExecution.Builder builder()
public static Class<? extends PipelineExecution.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.