Class MabContainerHealthDetails
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.MabContainerHealthDetails
-
public final class MabContainerHealthDetails extends Object
MAB workload-specific Health Details.
-
-
Constructor Summary
Constructors Constructor Description MabContainerHealthDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
code()
Get the code property: Health Code.String
message()
Get the message property: Health Message.List<String>
recommendations()
Get the recommendations property: Health Recommended Actions.String
title()
Get the title property: Health Title.void
validate()
Validates the instance.MabContainerHealthDetails
withCode(Integer code)
Set the code property: Health Code.MabContainerHealthDetails
withMessage(String message)
Set the message property: Health Message.MabContainerHealthDetails
withRecommendations(List<String> recommendations)
Set the recommendations property: Health Recommended Actions.MabContainerHealthDetails
withTitle(String title)
Set the title property: Health Title.
-
-
-
Method Detail
-
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.
-
-