@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActionExecution extends Object implements Serializable, Cloneable, StructuredPojo
Represents information about the run of an action.
Constructor and Description |
---|
ActionExecution() |
Modifier and Type | Method and Description |
---|---|
ActionExecution |
clone() |
boolean |
equals(Object obj) |
String |
getActionExecutionId()
ID of the workflow action execution in the current stage.
|
ErrorDetails |
getErrorDetails()
The details of an error returned by a URL external to Amazon Web Services.
|
String |
getExternalExecutionId()
The external ID of the run of the action.
|
String |
getExternalExecutionUrl()
The URL of a resource external to Amazon Web Services that is used when running the action (for example, an
external repository URL).
|
Date |
getLastStatusChange()
The last status change of the action.
|
String |
getLastUpdatedBy()
The ARN of the user who last changed the pipeline.
|
Integer |
getPercentComplete()
A percentage of completeness of the action as it runs.
|
String |
getStatus()
The status of the action, or for a completed action, the last status of the action.
|
String |
getSummary()
A summary of the run of the action.
|
String |
getToken()
The system-generated token used to identify a unique approval request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionExecutionId(String actionExecutionId)
ID of the workflow action execution in the current stage.
|
void |
setErrorDetails(ErrorDetails errorDetails)
The details of an error returned by a URL external to Amazon Web Services.
|
void |
setExternalExecutionId(String externalExecutionId)
The external ID of the run of the action.
|
void |
setExternalExecutionUrl(String externalExecutionUrl)
The URL of a resource external to Amazon Web Services that is used when running the action (for example, an
external repository URL).
|
void |
setLastStatusChange(Date lastStatusChange)
The last status change of the action.
|
void |
setLastUpdatedBy(String lastUpdatedBy)
The ARN of the user who last changed the pipeline.
|
void |
setPercentComplete(Integer percentComplete)
A percentage of completeness of the action as it runs.
|
void |
setStatus(ActionExecutionStatus status)
The status of the action, or for a completed action, the last status of the action.
|
void |
setStatus(String status)
The status of the action, or for a completed action, the last status of the action.
|
void |
setSummary(String summary)
A summary of the run of the action.
|
void |
setToken(String token)
The system-generated token used to identify a unique approval request.
|
String |
toString()
Returns a string representation of this object.
|
ActionExecution |
withActionExecutionId(String actionExecutionId)
ID of the workflow action execution in the current stage.
|
ActionExecution |
withErrorDetails(ErrorDetails errorDetails)
The details of an error returned by a URL external to Amazon Web Services.
|
ActionExecution |
withExternalExecutionId(String externalExecutionId)
The external ID of the run of the action.
|
ActionExecution |
withExternalExecutionUrl(String externalExecutionUrl)
The URL of a resource external to Amazon Web Services that is used when running the action (for example, an
external repository URL).
|
ActionExecution |
withLastStatusChange(Date lastStatusChange)
The last status change of the action.
|
ActionExecution |
withLastUpdatedBy(String lastUpdatedBy)
The ARN of the user who last changed the pipeline.
|
ActionExecution |
withPercentComplete(Integer percentComplete)
A percentage of completeness of the action as it runs.
|
ActionExecution |
withStatus(ActionExecutionStatus status)
The status of the action, or for a completed action, the last status of the action.
|
ActionExecution |
withStatus(String status)
The status of the action, or for a completed action, the last status of the action.
|
ActionExecution |
withSummary(String summary)
A summary of the run of the action.
|
ActionExecution |
withToken(String token)
The system-generated token used to identify a unique approval request.
|
public void setActionExecutionId(String actionExecutionId)
ID of the workflow action execution in the current stage. Use the GetPipelineState action to retrieve the current action execution details of the current stage.
For older executions, this field might be empty. The action execution ID is available for executions run on or after March 2020.
actionExecutionId
- ID of the workflow action execution in the current stage. Use the GetPipelineState action to
retrieve the current action execution details of the current stage. For older executions, this field might be empty. The action execution ID is available for executions run on or after March 2020.
public String getActionExecutionId()
ID of the workflow action execution in the current stage. Use the GetPipelineState action to retrieve the current action execution details of the current stage.
For older executions, this field might be empty. The action execution ID is available for executions run on or after March 2020.
For older executions, this field might be empty. The action execution ID is available for executions run on or after March 2020.
public ActionExecution withActionExecutionId(String actionExecutionId)
ID of the workflow action execution in the current stage. Use the GetPipelineState action to retrieve the current action execution details of the current stage.
For older executions, this field might be empty. The action execution ID is available for executions run on or after March 2020.
actionExecutionId
- ID of the workflow action execution in the current stage. Use the GetPipelineState action to
retrieve the current action execution details of the current stage. For older executions, this field might be empty. The action execution ID is available for executions run on or after March 2020.
public void setStatus(String status)
The status of the action, or for a completed action, the last status of the action.
status
- The status of the action, or for a completed action, the last status of the action.ActionExecutionStatus
public String getStatus()
The status of the action, or for a completed action, the last status of the action.
ActionExecutionStatus
public ActionExecution withStatus(String status)
The status of the action, or for a completed action, the last status of the action.
status
- The status of the action, or for a completed action, the last status of the action.ActionExecutionStatus
public void setStatus(ActionExecutionStatus status)
The status of the action, or for a completed action, the last status of the action.
status
- The status of the action, or for a completed action, the last status of the action.ActionExecutionStatus
public ActionExecution withStatus(ActionExecutionStatus status)
The status of the action, or for a completed action, the last status of the action.
status
- The status of the action, or for a completed action, the last status of the action.ActionExecutionStatus
public void setSummary(String summary)
A summary of the run of the action.
summary
- A summary of the run of the action.public String getSummary()
A summary of the run of the action.
public ActionExecution withSummary(String summary)
A summary of the run of the action.
summary
- A summary of the run of the action.public void setLastStatusChange(Date lastStatusChange)
The last status change of the action.
lastStatusChange
- The last status change of the action.public Date getLastStatusChange()
The last status change of the action.
public ActionExecution withLastStatusChange(Date lastStatusChange)
The last status change of the action.
lastStatusChange
- The last status change of the action.public void setToken(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. It is used to validate that the approval request
corresponding to this token is still valid.
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. It is used to validate that the
approval request corresponding to this token is still valid.public String getToken()
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. It is used to validate that the approval request
corresponding to this token is still valid.
GetPipelineState
command. It is used to validate that the
approval request corresponding to this token is still valid.public ActionExecution withToken(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. It is used to validate that the approval request
corresponding to this token is still valid.
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. It is used to validate that the
approval request corresponding to this token is still valid.public void setLastUpdatedBy(String lastUpdatedBy)
The ARN of the user who last changed the pipeline.
lastUpdatedBy
- The ARN of the user who last changed the pipeline.public String getLastUpdatedBy()
The ARN of the user who last changed the pipeline.
public ActionExecution withLastUpdatedBy(String lastUpdatedBy)
The ARN of the user who last changed the pipeline.
lastUpdatedBy
- The ARN of the user who last changed the pipeline.public void setExternalExecutionId(String externalExecutionId)
The external ID of the run of the action.
externalExecutionId
- The external ID of the run of the action.public String getExternalExecutionId()
The external ID of the run of the action.
public ActionExecution withExternalExecutionId(String externalExecutionId)
The external ID of the run of the action.
externalExecutionId
- The external ID of the run of the action.public void setExternalExecutionUrl(String externalExecutionUrl)
The URL of a resource external to Amazon Web Services that is used when running the action (for example, an external repository URL).
externalExecutionUrl
- The URL of a resource external to Amazon Web Services that is used when running the action (for example,
an external repository URL).public String getExternalExecutionUrl()
The URL of a resource external to Amazon Web Services that is used when running the action (for example, an external repository URL).
public ActionExecution withExternalExecutionUrl(String externalExecutionUrl)
The URL of a resource external to Amazon Web Services that is used when running the action (for example, an external repository URL).
externalExecutionUrl
- The URL of a resource external to Amazon Web Services that is used when running the action (for example,
an external repository URL).public void setPercentComplete(Integer percentComplete)
A percentage of completeness of the action as it runs.
percentComplete
- A percentage of completeness of the action as it runs.public Integer getPercentComplete()
A percentage of completeness of the action as it runs.
public ActionExecution withPercentComplete(Integer percentComplete)
A percentage of completeness of the action as it runs.
percentComplete
- A percentage of completeness of the action as it runs.public void setErrorDetails(ErrorDetails errorDetails)
The details of an error returned by a URL external to Amazon Web Services.
errorDetails
- The details of an error returned by a URL external to Amazon Web Services.public ErrorDetails getErrorDetails()
The details of an error returned by a URL external to Amazon Web Services.
public ActionExecution withErrorDetails(ErrorDetails errorDetails)
The details of an error returned by a URL external to Amazon Web Services.
errorDetails
- The details of an error returned by a URL external to Amazon Web Services.public String toString()
toString
in class Object
Object.toString()
public ActionExecution clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.