Class StageExecution
- java.lang.Object
-
- software.amazon.awssdk.services.codepipeline.model.StageExecution
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StageExecution.Builder,StageExecution>
@Generated("software.amazon.awssdk:codegen") public final class StageExecution extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StageExecution.Builder,StageExecution>
Represents information about the run of a stage.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStageExecution.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StageExecution.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpipelineExecutionId()The ID of the pipeline execution associated with the stage.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StageExecution.Builder>serializableBuilderClass()StageExecutionStatusstatus()The status of the stage, or for a completed stage, the last status of the stage.StringstatusAsString()The status of the stage, or for a completed stage, the last status of the stage.StageExecution.BuildertoBuilder()StringtoString()Returns a string representation of this object.ExecutionTypetype()The type of pipeline execution for the stage, such as a rollback pipeline execution.StringtypeAsString()The type of pipeline execution for the stage, such as a rollback pipeline execution.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
pipelineExecutionId
public final String pipelineExecutionId()
The ID of the pipeline execution associated with the stage.
- Returns:
- The ID of the pipeline execution associated with the stage.
-
status
public final StageExecutionStatus status()
The status of the stage, or for a completed stage, the last status of the stage.
A status of cancelled means that the pipeline’s definition was updated before the stage execution could be completed.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStageExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the stage, or for a completed stage, the last status of the stage.
A status of cancelled means that the pipeline’s definition was updated before the stage execution could be completed.
- See Also:
StageExecutionStatus
-
statusAsString
public final String statusAsString()
The status of the stage, or for a completed stage, the last status of the stage.
A status of cancelled means that the pipeline’s definition was updated before the stage execution could be completed.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStageExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the stage, or for a completed stage, the last status of the stage.
A status of cancelled means that the pipeline’s definition was updated before the stage execution could be completed.
- See Also:
StageExecutionStatus
-
type
public final ExecutionType type()
The type of pipeline execution for the stage, such as a rollback pipeline execution.
If the service returns an enum value that is not available in the current SDK version,
typewill returnExecutionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of pipeline execution for the stage, such as a rollback pipeline execution.
- See Also:
ExecutionType
-
typeAsString
public final String typeAsString()
The type of pipeline execution for the stage, such as a rollback pipeline execution.
If the service returns an enum value that is not available in the current SDK version,
typewill returnExecutionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of pipeline execution for the stage, such as a rollback pipeline execution.
- See Also:
ExecutionType
-
toBuilder
public StageExecution.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StageExecution.Builder,StageExecution>
-
builder
public static StageExecution.Builder builder()
-
serializableBuilderClass
public static Class<? extends StageExecution.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-