java.lang.Object
com.azure.resourcemanager.securityinsights.models.Permissions

public final class Permissions extends Object
Permissions required for the connector.
  • Constructor Details

    • Permissions

      public Permissions()
  • Method Details

    • resourceProvider

      public List<PermissionsResourceProviderItem> resourceProvider()
      Get the resourceProvider property: Resource provider permissions required for the connector.
      Returns:
      the resourceProvider value.
    • withResourceProvider

      public Permissions withResourceProvider(List<PermissionsResourceProviderItem> resourceProvider)
      Set the resourceProvider property: Resource provider permissions required for the connector.
      Parameters:
      resourceProvider - the resourceProvider value to set.
      Returns:
      the Permissions object itself.
    • customs

      public List<PermissionsCustomsItem> customs()
      Get the customs property: Customs permissions required for the connector.
      Returns:
      the customs value.
    • withCustoms

      public Permissions withCustoms(List<PermissionsCustomsItem> customs)
      Set the customs property: Customs permissions required for the connector.
      Parameters:
      customs - the customs value to set.
      Returns:
      the Permissions object itself.
    • validate

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