public final class ResourceHealthMetadataProperties extends Object
| Constructor and Description |
|---|
ResourceHealthMetadataProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
category()
Get the category property: The category that the resource matches in the RHC Policy File.
|
Boolean |
signalAvailability()
Get the signalAvailability property: Is there a health signal for the resource.
|
void |
validate()
Validates the instance.
|
ResourceHealthMetadataProperties |
withCategory(String category)
Set the category property: The category that the resource matches in the RHC Policy File.
|
ResourceHealthMetadataProperties |
withSignalAvailability(Boolean signalAvailability)
Set the signalAvailability property: Is there a health signal for the resource.
|
public String category()
public ResourceHealthMetadataProperties withCategory(String category)
category - the category value to set.public Boolean signalAvailability()
public ResourceHealthMetadataProperties withSignalAvailability(Boolean signalAvailability)
signalAvailability - the signalAvailability value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.