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.MicrosoftGraphPermissionClassificationType
classification()
Get the classification property: permissionClassificationType.String
permissionId()
Get the permissionId property: The unique identifier (id) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal.String
permissionName()
Get the permissionName property: The claim value (value) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal.void
validate()
Validates the instance.MicrosoftGraphDelegatedPermissionClassificationInner
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: delegatedPermissionClassification.MicrosoftGraphDelegatedPermissionClassificationInner
withClassification(MicrosoftGraphPermissionClassificationType classification)
Set the classification property: permissionClassificationType.MicrosoftGraphDelegatedPermissionClassificationInner
withId(String id)
Set the id property: Read-only.MicrosoftGraphDelegatedPermissionClassificationInner
withPermissionId(String permissionId)
Set the permissionId property: The unique identifier (id) for the delegated permission listed in the oauth2PermissionScopes collection of the servicePrincipal.MicrosoftGraphDelegatedPermissionClassificationInner
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
-
-
-
-
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:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphDelegatedPermissionClassificationInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: delegatedPermissionClassification.- Overrides:
withAdditionalProperties
in 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:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-