Class MicrosoftGraphResourceSpecificPermissionGrantInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphResourceSpecificPermissionGrantInner
-
public final class MicrosoftGraphResourceSpecificPermissionGrantInner extends MicrosoftGraphDirectoryObjectInner
Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphResourceSpecificPermissionGrantInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: Represents an Azure Active Directory object.String
clientAppId()
Get the clientAppId property: The clientAppId property.String
clientId()
Get the clientId property: The clientId property.String
permission()
Get the permission property: The permission property.String
permissionType()
Get the permissionType property: The permissionType property.String
resourceAppId()
Get the resourceAppId property: The resourceAppId property.void
validate()
Validates the instance.MicrosoftGraphResourceSpecificPermissionGrantInner
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Represents an Azure Active Directory object.MicrosoftGraphResourceSpecificPermissionGrantInner
withClientAppId(String clientAppId)
Set the clientAppId property: The clientAppId property.MicrosoftGraphResourceSpecificPermissionGrantInner
withClientId(String clientId)
Set the clientId property: The clientId property.MicrosoftGraphResourceSpecificPermissionGrantInner
withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deletedDateTime property: The deletedDateTime property.MicrosoftGraphResourceSpecificPermissionGrantInner
withId(String id)
Set the id property: Read-only.MicrosoftGraphResourceSpecificPermissionGrantInner
withPermission(String permission)
Set the permission property: The permission property.MicrosoftGraphResourceSpecificPermissionGrantInner
withPermissionType(String permissionType)
Set the permissionType property: The permissionType property.MicrosoftGraphResourceSpecificPermissionGrantInner
withResourceAppId(String resourceAppId)
Set the resourceAppId property: The resourceAppId property.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
deletedDateTime
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
clientAppId
public String clientAppId()
Get the clientAppId property: The clientAppId property.- Returns:
- the clientAppId value.
-
withClientAppId
public MicrosoftGraphResourceSpecificPermissionGrantInner withClientAppId(String clientAppId)
Set the clientAppId property: The clientAppId property.- Parameters:
clientAppId
- the clientAppId value to set.- Returns:
- the MicrosoftGraphResourceSpecificPermissionGrantInner object itself.
-
clientId
public String clientId()
Get the clientId property: The clientId property.- Returns:
- the clientId value.
-
withClientId
public MicrosoftGraphResourceSpecificPermissionGrantInner withClientId(String clientId)
Set the clientId property: The clientId property.- Parameters:
clientId
- the clientId value to set.- Returns:
- the MicrosoftGraphResourceSpecificPermissionGrantInner object itself.
-
permission
public String permission()
Get the permission property: The permission property.- Returns:
- the permission value.
-
withPermission
public MicrosoftGraphResourceSpecificPermissionGrantInner withPermission(String permission)
Set the permission property: The permission property.- Parameters:
permission
- the permission value to set.- Returns:
- the MicrosoftGraphResourceSpecificPermissionGrantInner object itself.
-
permissionType
public String permissionType()
Get the permissionType property: The permissionType property.- Returns:
- the permissionType value.
-
withPermissionType
public MicrosoftGraphResourceSpecificPermissionGrantInner withPermissionType(String permissionType)
Set the permissionType property: The permissionType property.- Parameters:
permissionType
- the permissionType value to set.- Returns:
- the MicrosoftGraphResourceSpecificPermissionGrantInner object itself.
-
resourceAppId
public String resourceAppId()
Get the resourceAppId property: The resourceAppId property.- Returns:
- the resourceAppId value.
-
withResourceAppId
public MicrosoftGraphResourceSpecificPermissionGrantInner withResourceAppId(String resourceAppId)
Set the resourceAppId property: The resourceAppId property.- Parameters:
resourceAppId
- the resourceAppId value to set.- Returns:
- the MicrosoftGraphResourceSpecificPermissionGrantInner object itself.
-
additionalProperties
public Map<String,Object> 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:
additionalProperties
in classMicrosoftGraphDirectoryObjectInner
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphResourceSpecificPermissionGrantInner 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:
withAdditionalProperties
in classMicrosoftGraphDirectoryObjectInner
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphResourceSpecificPermissionGrantInner object itself.
-
withDeletedDateTime
public MicrosoftGraphResourceSpecificPermissionGrantInner withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deletedDateTime property: The deletedDateTime property.- Overrides:
withDeletedDateTime
in classMicrosoftGraphDirectoryObjectInner
- Parameters:
deletedDateTime
- the deletedDateTime value to set.- Returns:
- the MicrosoftGraphDirectoryObjectInner object itself.
-
withId
public MicrosoftGraphResourceSpecificPermissionGrantInner withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphDirectoryObjectInner
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphDirectoryObjectInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-