Class KpiResourceHealthDetails
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.KpiResourceHealthDetails
-
public final class KpiResourceHealthDetails extends Object
KPI Resource Health Details.
-
-
Constructor Summary
Constructors Constructor Description KpiResourceHealthDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResourceHealthDetails>
resourceHealthDetails()
Get the resourceHealthDetails property: Resource Health Status.ResourceHealthStatus
resourceHealthStatus()
Get the resourceHealthStatus property: Resource Health Status.void
validate()
Validates the instance.KpiResourceHealthDetails
withResourceHealthDetails(List<ResourceHealthDetails> resourceHealthDetails)
Set the resourceHealthDetails property: Resource Health Status.KpiResourceHealthDetails
withResourceHealthStatus(ResourceHealthStatus resourceHealthStatus)
Set the resourceHealthStatus property: Resource Health Status.
-
-
-
Method Detail
-
resourceHealthStatus
public ResourceHealthStatus resourceHealthStatus()
Get the resourceHealthStatus property: Resource Health Status.- Returns:
- the resourceHealthStatus value.
-
withResourceHealthStatus
public KpiResourceHealthDetails withResourceHealthStatus(ResourceHealthStatus resourceHealthStatus)
Set the resourceHealthStatus property: Resource Health Status.- Parameters:
resourceHealthStatus
- the resourceHealthStatus value to set.- Returns:
- the KpiResourceHealthDetails object itself.
-
resourceHealthDetails
public List<ResourceHealthDetails> 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.
-
-