Class PermissionsCustomsItem
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.CustomsPermission
-
- com.azure.resourcemanager.securityinsights.models.Customs
-
- com.azure.resourcemanager.securityinsights.models.PermissionsCustomsItem
-
public final class PermissionsCustomsItem extends Customs
The PermissionsCustomsItem model.
-
-
Constructor Summary
Constructors Constructor Description PermissionsCustomsItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.PermissionsCustomsItem
withDescription(String description)
Set the description property: Customs permissions description.PermissionsCustomsItem
withName(String name)
Set the name property: Customs permissions name.-
Methods inherited from class com.azure.resourcemanager.securityinsights.models.CustomsPermission
description, name
-
-
-
-
Method Detail
-
withName
public PermissionsCustomsItem withName(String name)
Set the name property: Customs permissions name.
-
withDescription
public PermissionsCustomsItem withDescription(String description)
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.
-
-