Class MicrosoftGraphDelegatedPermissionClassification

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDelegatedPermissionClassification

public final class MicrosoftGraphDelegatedPermissionClassification extends MicrosoftGraphEntity
delegatedPermissionClassification.
  • Constructor Details

    • MicrosoftGraphDelegatedPermissionClassification

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

    • classification

      Get the classification property: permissionClassificationType.
      Returns:
      the classification value.
    • withClassification

      Set the classification property: permissionClassificationType.
      Parameters:
      classification - the classification value to set.
      Returns:
      the MicrosoftGraphDelegatedPermissionClassification object itself.
    • permissionId

      public String permissionId()
      Get the permissionId property: The unique identifier (id) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Required on create. Does not support $filter.
      Returns:
      the permissionId value.
    • withPermissionId

      public MicrosoftGraphDelegatedPermissionClassification withPermissionId(String permissionId)
      Set the permissionId property: The unique identifier (id) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Required on create. Does not support $filter.
      Parameters:
      permissionId - the permissionId value to set.
      Returns:
      the MicrosoftGraphDelegatedPermissionClassification object itself.
    • permissionName

      public String permissionName()
      Get the permissionName property: The claim value (value) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Does not support $filter.
      Returns:
      the permissionName value.
    • withPermissionName

      public MicrosoftGraphDelegatedPermissionClassification withPermissionName(String permissionName)
      Set the permissionName property: The claim value (value) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal. Does not support $filter.
      Parameters:
      permissionName - the permissionName value to set.
      Returns:
      the MicrosoftGraphDelegatedPermissionClassification object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: delegatedPermissionClassification.
      Overrides:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphDelegatedPermissionClassification withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: delegatedPermissionClassification.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphDelegatedPermissionClassification object itself.
    • withId

      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

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