Interface RuleExecutionDetail.Builder

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

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

    • pipelineExecutionId

      RuleExecutionDetail.Builder pipelineExecutionId(String pipelineExecutionId)

      The ID of the pipeline execution in the stage where the rule was run. Use the GetPipelineState action to retrieve the current pipelineExecutionId of the stage.

      Parameters:
      pipelineExecutionId - The ID of the pipeline execution in the stage where the rule was run. Use the GetPipelineState action to retrieve the current pipelineExecutionId of the stage.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleExecutionId

      RuleExecutionDetail.Builder ruleExecutionId(String ruleExecutionId)

      The ID of the run for the rule.

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

      RuleExecutionDetail.Builder pipelineVersion(Integer pipelineVersion)

      The version number of the pipeline with the stage where the rule was run.

      Parameters:
      pipelineVersion - The version number of the pipeline with the stage where the rule was run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stageName

      RuleExecutionDetail.Builder stageName(String stageName)

      The name of the stage where the rule was run.

      Parameters:
      stageName - The name of the stage where the rule was run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleName

      RuleExecutionDetail.Builder ruleName(String ruleName)

      The name of the rule that was run in the stage.

      Parameters:
      ruleName - The name of the rule that was run in the stage.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTime

      RuleExecutionDetail.Builder startTime(Instant startTime)

      The start time of the rule execution.

      Parameters:
      startTime - The start time of the rule execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdateTime

      RuleExecutionDetail.Builder lastUpdateTime(Instant lastUpdateTime)

      The date and time of the last change to the rule execution, in timestamp format.

      Parameters:
      lastUpdateTime - The date and time of the last change to the rule execution, in timestamp format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedBy

      RuleExecutionDetail.Builder updatedBy(String updatedBy)

      The ARN of the user who changed the rule execution details.

      Parameters:
      updatedBy - The ARN of the user who changed the rule execution details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the rule execution. Status categories are InProgress, Succeeded, and Failed.

      Parameters:
      status - The status of the rule execution. Status categories are InProgress, Succeeded, and Failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the rule execution. Status categories are InProgress, Succeeded, and Failed.

      Parameters:
      status - The status of the rule execution. Status categories are InProgress, Succeeded, and Failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • input

      Input details for the rule execution, such as role ARN, Region, and input artifacts.

      Parameters:
      input - Input details for the rule execution, such as role ARN, Region, and input artifacts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • input

      Input details for the rule execution, such as role ARN, Region, and input artifacts.

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

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

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

      Output details for the rule execution, such as the rule execution result.

      Parameters:
      output - Output details for the rule execution, such as the rule execution result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • output

      Output details for the rule execution, such as the rule execution result.

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

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

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