Interface ActionExecutionResult.Builder

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

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

    • externalExecutionId

      ActionExecutionResult.Builder externalExecutionId(String externalExecutionId)

      The action provider's external ID for the action execution.

      Parameters:
      externalExecutionId - The action provider's external ID for the action execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • externalExecutionSummary

      ActionExecutionResult.Builder externalExecutionSummary(String externalExecutionSummary)

      The action provider's summary for the action execution.

      Parameters:
      externalExecutionSummary - The action provider's summary for the action execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • externalExecutionUrl

      ActionExecutionResult.Builder externalExecutionUrl(String externalExecutionUrl)

      The deepest external link to the external resource (for example, a repository URL or deployment endpoint) that is used when running the action.

      Parameters:
      externalExecutionUrl - The deepest external link to the external resource (for example, a repository URL or deployment endpoint) that is used when running the action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorDetails

      ActionExecutionResult.Builder errorDetails(ErrorDetails errorDetails)
      Sets the value of the ErrorDetails property for this object.
      Parameters:
      errorDetails - The new value for the ErrorDetails property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorDetails

      default ActionExecutionResult.Builder errorDetails(Consumer<ErrorDetails.Builder> errorDetails)
      Sets the value of the ErrorDetails property for this object. 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: