Class ProviderPermission

java.lang.Object
com.azure.resourcemanager.resources.models.ProviderPermission

public final class ProviderPermission extends Object
The provider permission.
  • Constructor Details

    • ProviderPermission

      public ProviderPermission()
      Creates an instance of ProviderPermission class.
  • Method Details

    • applicationId

      public String applicationId()
      Get the applicationId property: The application id.
      Returns:
      the applicationId value.
    • withApplicationId

      public ProviderPermission withApplicationId(String applicationId)
      Set the applicationId property: The application id.
      Parameters:
      applicationId - the applicationId value to set.
      Returns:
      the ProviderPermission object itself.
    • roleDefinition

      public RoleDefinition roleDefinition()
      Get the roleDefinition property: Role definition properties.
      Returns:
      the roleDefinition value.
    • withRoleDefinition

      public ProviderPermission withRoleDefinition(RoleDefinition roleDefinition)
      Set the roleDefinition property: Role definition properties.
      Parameters:
      roleDefinition - the roleDefinition value to set.
      Returns:
      the ProviderPermission object itself.
    • managedByRoleDefinition

      public RoleDefinition managedByRoleDefinition()
      Get the managedByRoleDefinition property: Role definition properties.
      Returns:
      the managedByRoleDefinition value.
    • withManagedByRoleDefinition

      public ProviderPermission withManagedByRoleDefinition(RoleDefinition managedByRoleDefinition)
      Set the managedByRoleDefinition property: Role definition properties.
      Parameters:
      managedByRoleDefinition - the managedByRoleDefinition value to set.
      Returns:
      the ProviderPermission object itself.
    • providerAuthorizationConsentState

      public ProviderAuthorizationConsentState providerAuthorizationConsentState()
      Get the providerAuthorizationConsentState property: The provider authorization consent state.
      Returns:
      the providerAuthorizationConsentState value.
    • withProviderAuthorizationConsentState

      public ProviderPermission withProviderAuthorizationConsentState(ProviderAuthorizationConsentState providerAuthorizationConsentState)
      Set the providerAuthorizationConsentState property: The provider authorization consent state.
      Parameters:
      providerAuthorizationConsentState - the providerAuthorizationConsentState value to set.
      Returns:
      the ProviderPermission object itself.
    • validate

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