Class DiagnosticCategoryInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.DiagnosticCategoryInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
Class representing detector definition.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DiagnosticCategoryInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of the diagnostic category.voidvalidate()Validates the instance.Set the kind property: Kind of resource.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kindMethods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
DiagnosticCategoryInner
public DiagnosticCategoryInner()Creates an instance of DiagnosticCategoryInner class.
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
description
Get the description property: Description of the diagnostic category.- Returns:
- the description value.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-