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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RuleExecutionDetail.Builderinput(Consumer<RuleExecutionInput.Builder> input)Input details for the rule execution, such as role ARN, Region, and input artifacts.RuleExecutionDetail.Builderinput(RuleExecutionInput input)Input details for the rule execution, such as role ARN, Region, and input artifacts.RuleExecutionDetail.BuilderlastUpdateTime(Instant lastUpdateTime)The date and time of the last change to the rule execution, in timestamp format.default RuleExecutionDetail.Builderoutput(Consumer<RuleExecutionOutput.Builder> output)Output details for the rule execution, such as the rule execution result.RuleExecutionDetail.Builderoutput(RuleExecutionOutput output)Output details for the rule execution, such as the rule execution result.RuleExecutionDetail.BuilderpipelineExecutionId(String pipelineExecutionId)The ID of the pipeline execution in the stage where the rule was run.RuleExecutionDetail.BuilderpipelineVersion(Integer pipelineVersion)The version number of the pipeline with the stage where the rule was run.RuleExecutionDetail.BuilderruleExecutionId(String ruleExecutionId)The ID of the run for the rule.RuleExecutionDetail.BuilderruleName(String ruleName)The name of the rule that was run in the stage.RuleExecutionDetail.BuilderstageName(String stageName)The name of the stage where the rule was run.RuleExecutionDetail.BuilderstartTime(Instant startTime)The start time of the rule execution.RuleExecutionDetail.Builderstatus(String status)The status of the rule execution.RuleExecutionDetail.Builderstatus(RuleExecutionStatus status)The status of the rule execution.RuleExecutionDetail.BuilderupdatedBy(String updatedBy)The ARN of the user who changed the rule execution details.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
RuleExecutionDetail.Builder status(String status)
The status of the rule execution. Status categories are
InProgress,Succeeded, andFailed.- Parameters:
status- The status of the rule execution. Status categories areInProgress,Succeeded, andFailed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RuleExecutionStatus,RuleExecutionStatus
-
status
RuleExecutionDetail.Builder status(RuleExecutionStatus status)
The status of the rule execution. Status categories are
InProgress,Succeeded, andFailed.- Parameters:
status- The status of the rule execution. Status categories areInProgress,Succeeded, andFailed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RuleExecutionStatus,RuleExecutionStatus
-
input
RuleExecutionDetail.Builder input(RuleExecutionInput 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
default RuleExecutionDetail.Builder input(Consumer<RuleExecutionInput.Builder> 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 theRuleExecutionInput.Builderavoiding the need to create one manually viaRuleExecutionInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinput(RuleExecutionInput).- Parameters:
input- a consumer that will call methods onRuleExecutionInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
input(RuleExecutionInput)
-
output
RuleExecutionDetail.Builder output(RuleExecutionOutput 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
default RuleExecutionDetail.Builder output(Consumer<RuleExecutionOutput.Builder> output)
Output details for the rule execution, such as the rule execution result.
This is a convenience method that creates an instance of theRuleExecutionOutput.Builderavoiding the need to create one manually viaRuleExecutionOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutput(RuleExecutionOutput).- Parameters:
output- a consumer that will call methods onRuleExecutionOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
output(RuleExecutionOutput)
-
-