Class EventRuleStatusSummary

    • Method Detail

      • status

        public final EventRuleStatus status()

        The status of the EventRule.

        • Values:

          • ACTIVE

            • The EventRule can process events.

          • INACTIVE

            • The EventRule may be unable to process events.

          • CREATING

            • The EventRule is being created.

              Only GET and LIST calls can be run.

          • UPDATING

            • The EventRule is being updated.

              Only GET and LIST calls can be run.

          • DELETING

            • The EventRule is being deleted.

              Only GET and LIST calls can be run.

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

        Returns:
        The status of the EventRule.

        • Values:

          • ACTIVE

            • The EventRule can process events.

          • INACTIVE

            • The EventRule may be unable to process events.

          • CREATING

            • The EventRule is being created.

              Only GET and LIST calls can be run.

          • UPDATING

            • The EventRule is being updated.

              Only GET and LIST calls can be run.

          • DELETING

            • The EventRule is being deleted.

              Only GET and LIST calls can be run.

        See Also:
        EventRuleStatus
      • statusAsString

        public final String statusAsString()

        The status of the EventRule.

        • Values:

          • ACTIVE

            • The EventRule can process events.

          • INACTIVE

            • The EventRule may be unable to process events.

          • CREATING

            • The EventRule is being created.

              Only GET and LIST calls can be run.

          • UPDATING

            • The EventRule is being updated.

              Only GET and LIST calls can be run.

          • DELETING

            • The EventRule is being deleted.

              Only GET and LIST calls can be run.

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

        Returns:
        The status of the EventRule.

        • Values:

          • ACTIVE

            • The EventRule can process events.

          • INACTIVE

            • The EventRule may be unable to process events.

          • CREATING

            • The EventRule is being created.

              Only GET and LIST calls can be run.

          • UPDATING

            • The EventRule is being updated.

              Only GET and LIST calls can be run.

          • DELETING

            • The EventRule is being deleted.

              Only GET and LIST calls can be run.

        See Also:
        EventRuleStatus
      • reason

        public final String reason()

        A human-readable reason for EventRuleStatus.

        Returns:
        A human-readable reason for EventRuleStatus.
      • 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)