Class RuleExecutionDetail

    • Method Detail

      • pipelineExecutionId

        public final 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.

        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

        public final String ruleExecutionId()

        The ID of the run for the rule.

        Returns:
        The ID of the run for the rule.
      • pipelineVersion

        public final Integer 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

        public final String stageName()

        The name of the stage where the rule was run.

        Returns:
        The name of the stage where the rule was run.
      • ruleName

        public final String 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

        public final Instant startTime()

        The start time of the rule execution.

        Returns:
        The start time of the rule execution.
      • lastUpdateTime

        public final Instant 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

        public final String 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

        public final RuleExecutionStatus status()

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

        If the service returns an enum value that is not available in the current SDK version, status will return RuleExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The status of the rule execution. Status categories are InProgress, Succeeded, and Failed.
        See Also:
        RuleExecutionStatus
      • statusAsString

        public final String statusAsString()

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

        If the service returns an enum value that is not available in the current SDK version, status will return RuleExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The status of the rule execution. Status categories are InProgress, Succeeded, and Failed.
        See Also:
        RuleExecutionStatus
      • input

        public final RuleExecutionInput 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

        public final RuleExecutionOutput 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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)