Class MicrosoftGraphDelegatedPermissionClassification
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDelegatedPermissionClassification
delegatedPermissionClassification.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphDelegatedPermissionClassification class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: delegatedPermissionClassification.Get the classification property: permissionClassificationType.Get the permissionId property: The unique identifier (id) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal.Get the permissionName property: The claim value (value) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: delegatedPermissionClassification.withClassification(MicrosoftGraphPermissionClassificationType classification) Set the classification property: permissionClassificationType.Set the id property: Read-only.withPermissionId(String permissionId) Set the permissionId property: The unique identifier (id) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal.withPermissionName(String permissionName) Set the permissionName property: The claim value (value) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphDelegatedPermissionClassification
public MicrosoftGraphDelegatedPermissionClassification()Creates an instance of MicrosoftGraphDelegatedPermissionClassification class.
-
-
Method Details
-
classification
Get the classification property: permissionClassificationType.- Returns:
- the classification value.
-
withClassification
public MicrosoftGraphDelegatedPermissionClassification withClassification(MicrosoftGraphPermissionClassificationType classification) Set the classification property: permissionClassificationType.- Parameters:
classification- the classification value to set.- Returns:
- the MicrosoftGraphDelegatedPermissionClassification object itself.
-
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
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
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
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
Get the additionalProperties property: delegatedPermissionClassification.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphDelegatedPermissionClassification withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: delegatedPermissionClassification.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphDelegatedPermissionClassification object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-