Class RuleExecution

    • Method Detail

      • ruleExecutionId

        public final String ruleExecutionId()

        The execution ID for the run of the rule.

        Returns:
        The execution ID for the run of the rule.
      • statusAsString

        public final String statusAsString()

        The status of the run of the rule, such as 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 run of the rule, such as FAILED.
        See Also:
        RuleExecutionStatus
      • summary

        public final String summary()

        A summary of the run of the rule.

        Returns:
        A summary of the run of the rule.
      • lastStatusChange

        public final Instant lastStatusChange()

        The last status change of the rule.

        Returns:
        The last status change of the rule.
      • token

        public final String token()

        The system-generated token used to identify a unique request.

        Returns:
        The system-generated token used to identify a unique request.
      • lastUpdatedBy

        public final String lastUpdatedBy()

        The ARN of the user who last changed the rule.

        Returns:
        The ARN of the user who last changed the rule.
      • externalExecutionId

        public final String externalExecutionId()

        The external ID of the run of the rule.

        Returns:
        The external ID of the run of the rule.
      • externalExecutionUrl

        public final String externalExecutionUrl()

        The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an external repository URL).

        Returns:
        The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an external repository URL).
      • errorDetails

        public final ErrorDetails errorDetails()
        Returns the value of the ErrorDetails property for this object.
        Returns:
        The value of the ErrorDetails property for this object.
      • 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)