java.lang.Object
com.azure.resourcemanager.securityinsights.models.CustomsPermission
com.azure.resourcemanager.securityinsights.models.Customs
Direct Known Subclasses:
PermissionsCustomsItem

public class Customs extends CustomsPermission
Customs permissions required for the connector.
  • Constructor Details

    • Customs

      public Customs()
  • Method Details

    • withName

      public Customs withName(String name)
      Set the name property: Customs permissions name.
      Overrides:
      withName in class CustomsPermission
      Parameters:
      name - the name value to set.
      Returns:
      the CustomsPermission object itself.
    • withDescription

      public Customs withDescription(String description)
      Set the description property: Customs permissions description.
      Overrides:
      withDescription in class CustomsPermission
      Parameters:
      description - the description value to set.
      Returns:
      the CustomsPermission object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class CustomsPermission
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.