Class MabContainerHealthDetails
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.MabContainerHealthDetails
MAB workload-specific Health Details.
-
Constructor Summary
ConstructorDescriptionCreates an instance of MabContainerHealthDetails class. -
Method Summary
Modifier and TypeMethodDescriptioncode()
Get the code property: Health Code.message()
Get the message property: Health Message.Get the recommendations property: Health Recommended Actions.title()
Get the title property: Health Title.void
validate()
Validates the instance.Set the code property: Health Code.withMessage
(String message) Set the message property: Health Message.withRecommendations
(List<String> recommendations) Set the recommendations property: Health Recommended Actions.Set the title property: Health Title.
-
Constructor Details
-
MabContainerHealthDetails
public MabContainerHealthDetails()Creates an instance of MabContainerHealthDetails class.
-
-
Method Details
-
code
Get the code property: Health Code.- Returns:
- the code value.
-
withCode
Set the code property: Health Code.- Parameters:
code
- the code value to set.- Returns:
- the MabContainerHealthDetails object itself.
-
title
Get the title property: Health Title.- Returns:
- the title value.
-
withTitle
Set the title property: Health Title.- Parameters:
title
- the title value to set.- Returns:
- the MabContainerHealthDetails object itself.
-
message
Get the message property: Health Message.- Returns:
- the message value.
-
withMessage
Set the message property: Health Message.- Parameters:
message
- the message value to set.- Returns:
- the MabContainerHealthDetails object itself.
-
recommendations
Get the recommendations property: Health Recommended Actions.- Returns:
- the recommendations value.
-
withRecommendations
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.
-