Class RuleExecutionDetail
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<RuleExecutionDetail.Builder,
RuleExecutionDetail>
The details of the runs for a rule and the results produced on an artifact as it passes through stages in the pipeline.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RuleExecutionDetail.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final RuleExecutionInput
input()
Input details for the rule execution, such as role ARN, Region, and input artifacts.final Instant
The date and time of the last change to the rule execution, in timestamp format.final RuleExecutionOutput
output()
Output details for the rule execution, such as the rule execution result.final String
The ID of the pipeline execution in the stage where the rule was run.final Integer
The version number of the pipeline with the stage where the rule was run.final String
The ID of the run for the rule.final String
ruleName()
The name of the rule that was run in the stage.static Class
<? extends RuleExecutionDetail.Builder> final String
The name of the stage where the rule was run.final Instant
The start time of the rule execution.final RuleExecutionStatus
status()
The status of the rule execution.final String
The status of the rule execution.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
The ARN of the user who changed the rule execution details.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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:
- 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.
-
ruleExecutionId
The ID of the run for the rule.
- Returns:
- The ID of the run for the rule.
-
pipelineVersion
The version number of the pipeline with the stage where the rule was run.
- Returns:
- The version number of the pipeline with the stage where the rule was run.
-
stageName
The name of the stage where the rule was run.
- Returns:
- The name of the stage where the rule was run.
-
ruleName
The name of the rule that was run in the stage.
- Returns:
- The name of the rule that was run in the stage.
-
startTime
The start time of the rule execution.
- Returns:
- The start time of the rule execution.
-
lastUpdateTime
The date and time of the last change to the rule execution, in timestamp format.
- Returns:
- The date and time of the last change to the rule execution, in timestamp format.
-
updatedBy
The ARN of the user who changed the rule execution details.
- Returns:
- The ARN of the user who changed the rule execution details.
-
status
The status of the rule execution. Status categories are
InProgress
,Succeeded
, andFailed
.If the service returns an enum value that is not available in the current SDK version,
status
will returnRuleExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of the rule execution. Status categories are
InProgress
,Succeeded
, andFailed
. - See Also:
-
statusAsString
The status of the rule execution. Status categories are
InProgress
,Succeeded
, andFailed
.If the service returns an enum value that is not available in the current SDK version,
status
will returnRuleExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of the rule execution. Status categories are
InProgress
,Succeeded
, andFailed
. - See Also:
-
input
Input details for the rule execution, such as role ARN, Region, and input artifacts.
- Returns:
- Input details for the rule execution, such as role ARN, Region, and input artifacts.
-
output
Output details for the rule execution, such as the rule execution result.
- Returns:
- Output details for the rule execution, such as the rule execution result.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<RuleExecutionDetail.Builder,
RuleExecutionDetail> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-