Class ResourceInstanceViewStatus


  • public final class ResourceInstanceViewStatus
    extends Object
    Instance view status.
    • Constructor Detail

      • ResourceInstanceViewStatus

        public ResourceInstanceViewStatus()
    • Method Detail

      • code

        public String code()
        Get the code property: The status code.
        Returns:
        the code value.
      • displayStatus

        public String displayStatus()
        Get the displayStatus property: The short localizable label for the status.
        Returns:
        the displayStatus value.
      • message

        public String message()
        Get the message property: The detailed status message, including for alerts and error messages.
        Returns:
        the message value.
      • time

        public OffsetDateTime time()
        Get the time property: The time of the status.
        Returns:
        the time value.
      • level

        public StatusLevelTypes level()
        Get the level property: The level code.
        Returns:
        the level value.
      • withLevel

        public ResourceInstanceViewStatus withLevel​(StatusLevelTypes level)
        Set the level property: The level code.
        Parameters:
        level - the level value to set.
        Returns:
        the ResourceInstanceViewStatus object itself.
      • validate

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