Class MicrosoftGraphResourceAccess
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphResourceAccess
-
public final class MicrosoftGraphResourceAccess extends Object
resourceAccess.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphResourceAccess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: resourceAccess.UUIDid()Get the id property: The unique identifier for one of the oauth2PermissionScopes or appRole instances that the resource application exposes.Stringtype()Get the type property: Specifies whether the id property references an oauth2PermissionScopes or an appRole.voidvalidate()Validates the instance.MicrosoftGraphResourceAccesswithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: resourceAccess.MicrosoftGraphResourceAccesswithId(UUID id)Set the id property: The unique identifier for one of the oauth2PermissionScopes or appRole instances that the resource application exposes.MicrosoftGraphResourceAccesswithType(String type)Set the type property: Specifies whether the id property references an oauth2PermissionScopes or an appRole.
-
-
-
Method Detail
-
id
public UUID id()
Get the id property: The unique identifier for one of the oauth2PermissionScopes or appRole instances that the resource application exposes.- Returns:
- the id value.
-
withId
public MicrosoftGraphResourceAccess withId(UUID id)
Set the id property: The unique identifier for one of the oauth2PermissionScopes or appRole instances that the resource application exposes.- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphResourceAccess object itself.
-
type
public String type()
Get the type property: Specifies whether the id property references an oauth2PermissionScopes or an appRole. Possible values are Scope or Role.- Returns:
- the type value.
-
withType
public MicrosoftGraphResourceAccess withType(String type)
Set the type property: Specifies whether the id property references an oauth2PermissionScopes or an appRole. Possible values are Scope or Role.- Parameters:
type- the type value to set.- Returns:
- the MicrosoftGraphResourceAccess object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: resourceAccess.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphResourceAccess withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: resourceAccess.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphResourceAccess object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-