Class PermissionsCustomsItem
java.lang.Object
com.azure.resourcemanager.securityinsights.models.CustomsPermission
com.azure.resourcemanager.securityinsights.models.Customs
com.azure.resourcemanager.securityinsights.models.PermissionsCustomsItem
The PermissionsCustomsItem model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.withDescription
(String description) Set the description property: Customs permissions description.Set the name property: Customs permissions name.Methods inherited from class com.azure.resourcemanager.securityinsights.models.CustomsPermission
description, name
-
Constructor Details
-
PermissionsCustomsItem
public PermissionsCustomsItem()
-
-
Method Details
-
withName
Set the name property: Customs permissions name. -
withDescription
Set the description property: Customs permissions description.- Overrides:
withDescription
in classCustoms
- Parameters:
description
- the description value to set.- Returns:
- the CustomsPermission object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classCustoms
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-