Interface RuleExecution.Builder

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

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

    • ruleExecutionId

      RuleExecution.Builder ruleExecutionId(String ruleExecutionId)

      The execution ID for the run of the rule.

      Parameters:
      ruleExecutionId - The execution ID for the run of the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      RuleExecution.Builder status(String status)

      The status of the run of the rule, such as FAILED.

      Parameters:
      status - The status of the run of the rule, such as FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the run of the rule, such as FAILED.

      Parameters:
      status - The status of the run of the rule, such as FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • summary

      RuleExecution.Builder summary(String summary)

      A summary of the run of the rule.

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

      RuleExecution.Builder lastStatusChange(Instant lastStatusChange)

      The last status change of the rule.

      Parameters:
      lastStatusChange - The last status change of the rule.
      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 request.

      Parameters:
      token - The system-generated token used to identify a unique request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedBy

      RuleExecution.Builder lastUpdatedBy(String lastUpdatedBy)

      The ARN of the user who last changed the rule.

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

      RuleExecution.Builder externalExecutionId(String externalExecutionId)

      The external ID of the run of the rule.

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

      RuleExecution.Builder externalExecutionUrl(String externalExecutionUrl)

      The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an external repository URL).

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

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