Class PolicyDescriptionContract
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.apimanagement.models.PolicyDescriptionContract
-
public final class PolicyDescriptionContract extends com.azure.core.management.ProxyResource
Policy description details.
-
-
Constructor Summary
Constructors Constructor Description PolicyDescriptionContract()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
Get the description property: Policy description.Long
scope()
Get the scope property: Binary OR value of the Snippet scope.void
validate()
Validates the instance.
-
-
-
Method Detail
-
description
public String description()
Get the description property: Policy description.- Returns:
- the description value.
-
scope
public Long scope()
Get the scope property: Binary OR value of the Snippet scope.- Returns:
- the scope value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-