Class CustomsPermission
java.lang.Object
com.azure.resourcemanager.securityinsights.models.CustomsPermission
- Direct Known Subclasses:
Customs
Customs permissions required for the connector.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Customs permissions description.name()
Get the name property: Customs permissions name.void
validate()
Validates the instance.withDescription
(String description) Set the description property: Customs permissions description.Set the name property: Customs permissions name.
-
Constructor Details
-
CustomsPermission
public CustomsPermission()
-
-
Method Details
-
name
Get the name property: Customs permissions name.- Returns:
- the name value.
-
withName
Set the name property: Customs permissions name.- Parameters:
name
- the name value to set.- Returns:
- the CustomsPermission object itself.
-
description
Get the description property: Customs permissions description.- Returns:
- the description value.
-
withDescription
Set the description property: Customs permissions description.- Parameters:
description
- the description value to set.- Returns:
- the CustomsPermission object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-