Interface RuleExecutionResult.Builder

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

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

    • externalExecutionId

      RuleExecutionResult.Builder externalExecutionId(String externalExecutionId)

      The external ID for the rule execution.

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

      RuleExecutionResult.Builder externalExecutionSummary(String externalExecutionSummary)

      The external provider summary for the rule execution.

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

      RuleExecutionResult.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 rule.

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

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