Class MicrosoftGraphResourceSpecificPermissionGrant
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphResourceSpecificPermissionGrant
public final class MicrosoftGraphResourceSpecificPermissionGrant
extends MicrosoftGraphDirectoryObjectInner
resourceSpecificPermissionGrant
Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphResourceSpecificPermissionGrant class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: Represents an Azure Active Directory object.Get the clientAppId property: The clientAppId property.clientId()Get the clientId property: The clientId property.Get the permission property: The permission property.Get the permissionType property: The permissionType property.Get the resourceAppId property: The resourceAppId property.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: Represents an Azure Active Directory object.withClientAppId(String clientAppId) Set the clientAppId property: The clientAppId property.withClientId(String clientId) Set the clientId property: The clientId property.withDeletedDateTime(OffsetDateTime deletedDateTime) Set the deletedDateTime property: The deletedDateTime property.Set the id property: Read-only.withPermission(String permission) Set the permission property: The permission property.withPermissionType(String permissionType) Set the permissionType property: The permissionType property.withResourceAppId(String resourceAppId) Set the resourceAppId property: The resourceAppId property.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
deletedDateTimeMethods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphResourceSpecificPermissionGrant
public MicrosoftGraphResourceSpecificPermissionGrant()Creates an instance of MicrosoftGraphResourceSpecificPermissionGrant class.
-
-
Method Details
-
clientAppId
Get the clientAppId property: The clientAppId property.- Returns:
- the clientAppId value.
-
withClientAppId
Set the clientAppId property: The clientAppId property.- Parameters:
clientAppId- the clientAppId value to set.- Returns:
- the MicrosoftGraphResourceSpecificPermissionGrant object itself.
-
clientId
Get the clientId property: The clientId property.- Returns:
- the clientId value.
-
withClientId
Set the clientId property: The clientId property.- Parameters:
clientId- the clientId value to set.- Returns:
- the MicrosoftGraphResourceSpecificPermissionGrant object itself.
-
permission
Get the permission property: The permission property.- Returns:
- the permission value.
-
withPermission
Set the permission property: The permission property.- Parameters:
permission- the permission value to set.- Returns:
- the MicrosoftGraphResourceSpecificPermissionGrant object itself.
-
permissionType
Get the permissionType property: The permissionType property.- Returns:
- the permissionType value.
-
withPermissionType
Set the permissionType property: The permissionType property.- Parameters:
permissionType- the permissionType value to set.- Returns:
- the MicrosoftGraphResourceSpecificPermissionGrant object itself.
-
resourceAppId
Get the resourceAppId property: The resourceAppId property.- Returns:
- the resourceAppId value.
-
withResourceAppId
Set the resourceAppId property: The resourceAppId property.- Parameters:
resourceAppId- the resourceAppId value to set.- Returns:
- the MicrosoftGraphResourceSpecificPermissionGrant object itself.
-
additionalProperties
Get the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.- Overrides:
additionalPropertiesin classMicrosoftGraphDirectoryObjectInner- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphResourceSpecificPermissionGrant withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphDirectoryObjectInner- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphResourceSpecificPermissionGrant object itself.
-
withDeletedDateTime
public MicrosoftGraphResourceSpecificPermissionGrant withDeletedDateTime(OffsetDateTime deletedDateTime) Set the deletedDateTime property: The deletedDateTime property.- Overrides:
withDeletedDateTimein classMicrosoftGraphDirectoryObjectInner- Parameters:
deletedDateTime- the deletedDateTime value to set.- Returns:
- the MicrosoftGraphDirectoryObjectInner object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphDirectoryObjectInner- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphDirectoryObjectInner- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-