Class KpiResourceHealthDetails
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.KpiResourceHealthDetails
KPI Resource Health Details.
-
Constructor Summary
ConstructorDescriptionCreates an instance of KpiResourceHealthDetails class. -
Method Summary
Modifier and TypeMethodDescriptionGet the resourceHealthDetails property: Resource Health Status.Get the resourceHealthStatus property: Resource Health Status.void
validate()
Validates the instance.withResourceHealthDetails
(List<ResourceHealthDetails> resourceHealthDetails) Set the resourceHealthDetails property: Resource Health Status.withResourceHealthStatus
(ResourceHealthStatus resourceHealthStatus) Set the resourceHealthStatus property: Resource Health Status.
-
Constructor Details
-
KpiResourceHealthDetails
public KpiResourceHealthDetails()Creates an instance of KpiResourceHealthDetails class.
-
-
Method Details
-
resourceHealthStatus
Get the resourceHealthStatus property: Resource Health Status.- Returns:
- the resourceHealthStatus value.
-
withResourceHealthStatus
Set the resourceHealthStatus property: Resource Health Status.- Parameters:
resourceHealthStatus
- the resourceHealthStatus value to set.- Returns:
- the KpiResourceHealthDetails object itself.
-
resourceHealthDetails
Get the resourceHealthDetails property: Resource Health Status.- Returns:
- the resourceHealthDetails value.
-
withResourceHealthDetails
public KpiResourceHealthDetails withResourceHealthDetails(List<ResourceHealthDetails> resourceHealthDetails) Set the resourceHealthDetails property: Resource Health Status.- Parameters:
resourceHealthDetails
- the resourceHealthDetails value to set.- Returns:
- the KpiResourceHealthDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-