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.StringclientAppId()Get the clientAppId property: The clientAppId property.StringclientId()Get the clientId property: The clientId property.Stringpermission()Get the permission property: The permission property.StringpermissionType()Get the permissionType property: The permissionType property.StringresourceAppId()Get the resourceAppId property: The resourceAppId property.voidvalidate()Validates the instance.MicrosoftGraphResourceSpecificPermissionGrantInnerwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: Represents an Azure Active Directory object.MicrosoftGraphResourceSpecificPermissionGrantInnerwithClientAppId(String clientAppId)Set the clientAppId property: The clientAppId property.MicrosoftGraphResourceSpecificPermissionGrantInnerwithClientId(String clientId)Set the clientId property: The clientId property.MicrosoftGraphResourceSpecificPermissionGrantInnerwithDeletedDateTime(OffsetDateTime deletedDateTime)Set the deletedDateTime property: The deletedDateTime property.MicrosoftGraphResourceSpecificPermissionGrantInnerwithId(String id)Set the id property: Read-only.MicrosoftGraphResourceSpecificPermissionGrantInnerwithPermission(String permission)Set the permission property: The permission property.MicrosoftGraphResourceSpecificPermissionGrantInnerwithPermissionType(String permissionType)Set the permissionType property: The permissionType property.MicrosoftGraphResourceSpecificPermissionGrantInnerwithResourceAppId(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:
additionalPropertiesin 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:
withAdditionalPropertiesin 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:
withDeletedDateTimein 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:
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.
-
-