MicrosoftGraphResourceAccess Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphResourceAccess
- com.
Implements
public final class MicrosoftGraphResourceAccess
implements JsonSerializable<MicrosoftGraphResourceAccess>
resourceAccess.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphResourceAccess() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
UUID |
id()
Get the id property: The unique identifier for one of the oauth2Permission |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Specifies whether the id property references an oauth2Permission |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withId(UUID id)
Set the id property: The unique identifier for one of the oauth2Permission |
Microsoft |
withType(String type)
Set the type property: Specifies whether the id property references an oauth2Permission |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphResourceAccess
public MicrosoftGraphResourceAccess()
Creates an instance of MicrosoftGraphResourceAccess class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: resourceAccess.
Returns:
fromJson
public static MicrosoftGraphResourceAccess fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphResourceAccess from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
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:
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphResourceAccess withAdditionalProperties(Map
Set the additionalProperties property: resourceAccess.
Parameters:
Returns:
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:
Returns:
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:
Returns:
Applies to
Azure SDK for Java