@Generated(value="software.amazon.awssdk:codegen") public final class ActionExecution extends Object implements StructuredPojo, ToCopyableBuilder<ActionExecution.Builder,ActionExecution>
Represents information about the run of an action.
Modifier and Type | Class and Description |
---|---|
static interface |
ActionExecution.Builder |
Modifier and Type | Method and Description |
---|---|
static ActionExecution.Builder |
builder() |
boolean |
equals(Object obj) |
ErrorDetails |
errorDetails()
The details of an error returned by a URL external to AWS.
|
String |
externalExecutionId()
The external ID of the run of the action.
|
String |
externalExecutionUrl()
The URL of a resource external to AWS that will be used when running the action, for example an external
repository URL.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastStatusChange()
The last status change of the action.
|
String |
lastUpdatedBy()
The ARN of the user who last changed the pipeline.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Integer |
percentComplete()
A percentage of completeness of the action as it runs.
|
static Class<? extends ActionExecution.Builder> |
serializableBuilderClass() |
ActionExecutionStatus |
status()
The status of the action, or for a completed action, the last status of the action.
|
String |
statusAsString()
The status of the action, or for a completed action, the last status of the action.
|
String |
summary()
A summary of the run of the action.
|
ActionExecution.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
token()
The system-generated token used to identify a unique approval request.
|
String |
toString() |
copy
public ActionExecutionStatus status()
The status of the action, or for a completed action, the last status of the action.
If the service returns an enum value that is not available in the current SDK version, status
will
return ActionExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from statusAsString()
.
ActionExecutionStatus
public String statusAsString()
The status of the action, or for a completed action, the last status of the action.
If the service returns an enum value that is not available in the current SDK version, status
will
return ActionExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from statusAsString()
.
ActionExecutionStatus
public String summary()
A summary of the run of the action.
public Instant lastStatusChange()
The last status change of the action.
public String token()
The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState command and is used to validate that the approval request corresponding to this token is still valid.
public String lastUpdatedBy()
The ARN of the user who last changed the pipeline.
public String externalExecutionId()
The external ID of the run of the action.
public String externalExecutionUrl()
The URL of a resource external to AWS that will be used when running the action, for example an external repository URL.
public Integer percentComplete()
A percentage of completeness of the action as it runs.
public ErrorDetails errorDetails()
The details of an error returned by a URL external to AWS.
public ActionExecution.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ActionExecution.Builder,ActionExecution>
public static ActionExecution.Builder builder()
public static Class<? extends ActionExecution.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.