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.Builderbuilder()final booleanfinal booleanequalsBySdkFields(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 inthashCode()final RuleExecutionInputinput()Input details for the rule execution, such as role ARN, Region, and input artifacts.final InstantThe date and time of the last change to the rule execution, in timestamp format.final RuleExecutionOutputoutput()Output details for the rule execution, such as the rule execution result.final StringThe ID of the pipeline execution in the stage where the rule was run.final IntegerThe version number of the pipeline with the stage where the rule was run.final StringThe ID of the run for the rule.final StringruleName()The name of the rule that was run in the stage.static Class<? extends RuleExecutionDetail.Builder> final StringThe name of the stage where the rule was run.final InstantThe start time of the rule execution.final RuleExecutionStatusstatus()The status of the rule execution.final StringThe status of the rule execution.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringThe 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,
statuswill 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,
statuswill 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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<RuleExecutionDetail.Builder,RuleExecutionDetail> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-