Interface ActionExecution.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ActionExecution.Builder,ActionExecution>, SdkBuilder<ActionExecution.Builder,ActionExecution>, SdkPojo
Enclosing class:
ActionExecution

public static interface ActionExecution.Builder extends SdkPojo, CopyableBuilder<ActionExecution.Builder,ActionExecution>
  • Method Details

    • actionExecutionId

      ActionExecution.Builder actionExecutionId(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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the action, or for a completed action, the last status of the action.

      Parameters:
      status - The status of the action, or for a completed action, the last status of the action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the action, or for a completed action, the last status of the action.

      Parameters:
      status - The status of the action, or for a completed action, the last status of the action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • summary

      ActionExecution.Builder summary(String summary)

      A summary of the run of the action.

      Parameters:
      summary - A summary of the run of the action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastStatusChange

      ActionExecution.Builder lastStatusChange(Instant lastStatusChange)

      The last status change of the action.

      Parameters:
      lastStatusChange - The last status change of the action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedBy

      ActionExecution.Builder lastUpdatedBy(String lastUpdatedBy)

      The ARN of the user who last changed the pipeline.

      Parameters:
      lastUpdatedBy - The ARN of the user who last changed the pipeline.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • externalExecutionId

      ActionExecution.Builder externalExecutionId(String externalExecutionId)

      The external ID of the run of the action.

      Parameters:
      externalExecutionId - The external ID of the run of the action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • externalExecutionUrl

      ActionExecution.Builder externalExecutionUrl(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).

      Parameters:
      externalExecutionUrl - The URL of a resource external to Amazon Web Services that is used when running the action (for example, an external repository URL).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • percentComplete

      ActionExecution.Builder percentComplete(Integer percentComplete)

      A percentage of completeness of the action as it runs.

      Parameters:
      percentComplete - A percentage of completeness of the action as it runs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorDetails

      ActionExecution.Builder errorDetails(ErrorDetails errorDetails)

      The details of an error returned by a URL external to Amazon Web Services.

      Parameters:
      errorDetails - The details of an error returned by a URL external to Amazon Web Services.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorDetails

      default ActionExecution.Builder errorDetails(Consumer<ErrorDetails.Builder> errorDetails)

      The details of an error returned by a URL external to Amazon Web Services.

      This is a convenience method that creates an instance of the ErrorDetails.Builder avoiding the need to create one manually via ErrorDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to errorDetails(ErrorDetails).

      Parameters:
      errorDetails - a consumer that will call methods on ErrorDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: