Class InstanceViewStatus

java.lang.Object
com.microsoft.azure.management.compute.InstanceViewStatus

public class InstanceViewStatus extends Object
Instance view status.
  • Constructor Details

    • InstanceViewStatus

      public InstanceViewStatus()
  • Method Details

    • code

      public String code()
      Get the status code.
      Returns:
      the code value
    • withCode

      public InstanceViewStatus withCode(String code)
      Set the status code.
      Parameters:
      code - the code value to set
      Returns:
      the InstanceViewStatus object itself.
    • level

      public StatusLevelTypes level()
      Get the level code. Possible values include: 'Info', 'Warning', 'Error'.
      Returns:
      the level value
    • withLevel

      public InstanceViewStatus withLevel(StatusLevelTypes level)
      Set the level code. Possible values include: 'Info', 'Warning', 'Error'.
      Parameters:
      level - the level value to set
      Returns:
      the InstanceViewStatus object itself.
    • displayStatus

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

      public InstanceViewStatus withDisplayStatus(String displayStatus)
      Set the short localizable label for the status.
      Parameters:
      displayStatus - the displayStatus value to set
      Returns:
      the InstanceViewStatus object itself.
    • message

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

      public InstanceViewStatus withMessage(String message)
      Set the detailed status message, including for alerts and error messages.
      Parameters:
      message - the message value to set
      Returns:
      the InstanceViewStatus object itself.
    • time

      public org.joda.time.DateTime time()
      Get the time of the status.
      Returns:
      the time value
    • withTime

      public InstanceViewStatus withTime(org.joda.time.DateTime time)
      Set the time of the status.
      Parameters:
      time - the time value to set
      Returns:
      the InstanceViewStatus object itself.