Class MicrosoftGraphResourceAccess
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphResourceAccess
resourceAccess.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphResourceAccess class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: resourceAccess.id()Get the id property: The unique identifier for one of the oauth2PermissionScopes or appRole instances that the resource application exposes.type()Get the type property: Specifies whether the id property references an oauth2PermissionScopes or an appRole.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: resourceAccess.Set the id property: The unique identifier for one of the oauth2PermissionScopes or appRole instances that the resource application exposes.Set the type property: Specifies whether the id property references an oauth2PermissionScopes or an appRole.
-
Constructor Details
-
MicrosoftGraphResourceAccess
public MicrosoftGraphResourceAccess()Creates an instance of MicrosoftGraphResourceAccess class.
-
-
Method Details
-
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
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
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
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
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.
-