Class MabContainerHealthDetails

java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.MabContainerHealthDetails

public final class MabContainerHealthDetails extends Object
MAB workload-specific Health Details.
  • Constructor Details

    • MabContainerHealthDetails

      public MabContainerHealthDetails()
      Creates an instance of MabContainerHealthDetails class.
  • Method Details

    • code

      public Integer code()
      Get the code property: Health Code.
      Returns:
      the code value.
    • withCode

      public MabContainerHealthDetails withCode(Integer code)
      Set the code property: Health Code.
      Parameters:
      code - the code value to set.
      Returns:
      the MabContainerHealthDetails object itself.
    • title

      public String title()
      Get the title property: Health Title.
      Returns:
      the title value.
    • withTitle

      public MabContainerHealthDetails withTitle(String title)
      Set the title property: Health Title.
      Parameters:
      title - the title value to set.
      Returns:
      the MabContainerHealthDetails object itself.
    • message

      public String message()
      Get the message property: Health Message.
      Returns:
      the message value.
    • withMessage

      public MabContainerHealthDetails withMessage(String message)
      Set the message property: Health Message.
      Parameters:
      message - the message value to set.
      Returns:
      the MabContainerHealthDetails object itself.
    • recommendations

      public List<String> recommendations()
      Get the recommendations property: Health Recommended Actions.
      Returns:
      the recommendations value.
    • withRecommendations

      public MabContainerHealthDetails withRecommendations(List<String> recommendations)
      Set the recommendations property: Health Recommended Actions.
      Parameters:
      recommendations - the recommendations value to set.
      Returns:
      the MabContainerHealthDetails object itself.
    • validate

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