Class DiagnosticCondition


  • public final class DiagnosticCondition
    extends Object
    Condition applicable to the resource, or to the job overall, that warrant customer attention.
    • Constructor Detail

      • DiagnosticCondition

        public DiagnosticCondition()
    • Method Detail

      • since

        public String since()
        Get the since property: The UTC timestamp of when the condition started. Customers should be able to find a corresponding event in the ops log around this time.
        Returns:
        the since value.
      • code

        public String code()
        Get the code property: The opaque diagnostic code.
        Returns:
        the code value.
      • message

        public String message()
        Get the message property: The human-readable message describing the condition in detail. Localized in the Accept-Language of the client request.
        Returns:
        the message value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.