Class MicrosoftGraphDelegatedPermissionClassificationInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDelegatedPermissionClassificationInner
-
public final class MicrosoftGraphDelegatedPermissionClassificationInner extends MicrosoftGraphEntity
delegatedPermissionClassification.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphDelegatedPermissionClassificationInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: delegatedPermissionClassification.MicrosoftGraphPermissionClassificationTypeclassification()Get the classification property: permissionClassificationType.StringpermissionId()Get the permissionId property: The unique identifier (id) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal.StringpermissionName()Get the permissionName property: The claim value (value) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal.voidvalidate()Validates the instance.MicrosoftGraphDelegatedPermissionClassificationInnerwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: delegatedPermissionClassification.MicrosoftGraphDelegatedPermissionClassificationInnerwithClassification(MicrosoftGraphPermissionClassificationType classification)Set the classification property: permissionClassificationType.MicrosoftGraphDelegatedPermissionClassificationInnerwithId(String id)Set the id property: Read-only.MicrosoftGraphDelegatedPermissionClassificationInnerwithPermissionId(String permissionId)Set the permissionId property: The unique identifier (id) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal.MicrosoftGraphDelegatedPermissionClassificationInnerwithPermissionName(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
-
-
-
-
Method Detail
-
classification
public MicrosoftGraphPermissionClassificationType classification()
Get the classification property: permissionClassificationType.- Returns:
- the classification value.
-
withClassification
public MicrosoftGraphDelegatedPermissionClassificationInner withClassification(MicrosoftGraphPermissionClassificationType classification)
Set the classification property: permissionClassificationType.- Parameters:
classification- the classification value to set.- Returns:
- the MicrosoftGraphDelegatedPermissionClassificationInner 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 MicrosoftGraphDelegatedPermissionClassificationInner 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 MicrosoftGraphDelegatedPermissionClassificationInner 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 MicrosoftGraphDelegatedPermissionClassificationInner 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 MicrosoftGraphDelegatedPermissionClassificationInner object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: delegatedPermissionClassification.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphDelegatedPermissionClassificationInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: delegatedPermissionClassification.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphDelegatedPermissionClassificationInner object itself.
-
withId
public MicrosoftGraphDelegatedPermissionClassificationInner withId(String id)
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.
-
-