Class CustomsPermission
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.CustomsPermission
-
-
Constructor Summary
Constructors Constructor Description CustomsPermission()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
Get the description property: Customs permissions description.String
name()
Get the name property: Customs permissions name.void
validate()
Validates the instance.CustomsPermission
withDescription(String description)
Set the description property: Customs permissions description.CustomsPermission
withName(String name)
Set the name property: Customs permissions name.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Customs permissions name.- Returns:
- the name value.
-
withName
public CustomsPermission withName(String name)
Set the name property: Customs permissions name.- Parameters:
name
- the name value to set.- Returns:
- the CustomsPermission object itself.
-
description
public String description()
Get the description property: Customs permissions description.- Returns:
- the description value.
-
withDescription
public CustomsPermission withDescription(String description)
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.
-
-