public class ResourceHealthMetadataInner extends ProxyOnlyResource
| Constructor and Description |
|---|
ResourceHealthMetadataInner() |
| 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.
|
ResourceHealthMetadataInner |
withCategory(String category)
Set the category property: The category that the resource matches in the RHC Policy File.
|
ResourceHealthMetadataInner |
withKind(String kind)
Set the kind property: Kind of resource.
|
ResourceHealthMetadataInner |
withSignalAvailability(Boolean signalAvailability)
Set the signalAvailability property: Is there a health signal for the resource.
|
kindpublic String category()
public ResourceHealthMetadataInner withCategory(String category)
category - the category value to set.public Boolean signalAvailability()
public ResourceHealthMetadataInner withSignalAvailability(Boolean signalAvailability)
signalAvailability - the signalAvailability value to set.public ResourceHealthMetadataInner withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.