Class Customs
java.lang.Object
com.azure.resourcemanager.securityinsights.models.CustomsPermission
com.azure.resourcemanager.securityinsights.models.Customs
- Direct Known Subclasses:
PermissionsCustomsItem
Customs permissions required for the connector.
-
Constructor Summary
-
Method Summary
Methods inherited from class com.azure.resourcemanager.securityinsights.models.CustomsPermission
description, name
-
Constructor Details
-
Customs
public Customs()
-
-
Method Details
-
withName
Set the name property: Customs permissions name.- Overrides:
withName
in classCustomsPermission
- Parameters:
name
- the name value to set.- Returns:
- the CustomsPermission object itself.
-
withDescription
Set the description property: Customs permissions description.- Overrides:
withDescription
in classCustomsPermission
- Parameters:
description
- the description value to set.- Returns:
- the CustomsPermission object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classCustomsPermission
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-