MicrosoftGraphScopedRoleMembership Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphScopedRoleMembership
- com.
- com.
public final class MicrosoftGraphScopedRoleMembership
extends MicrosoftGraphEntity
scopedRoleMembership.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphScopedRoleMembership() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
administrativeUnitId()
Get the administrative |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
roleId()
Get the role |
Microsoft |
roleMemberInfo()
Get the role |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAdministrativeUnitId(String administrativeUnitId)
Set the administrative |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withRoleId(String roleId)
Set the role |
Microsoft |
withRoleMemberInfo(MicrosoftGraphIdentity roleMemberInfo)
Set the role |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphScopedRoleMembership
public MicrosoftGraphScopedRoleMembership()
Creates an instance of MicrosoftGraphScopedRoleMembership class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: scopedRoleMembership.
Overrides:
MicrosoftGraphScopedRoleMembership.additionalProperties()Returns:
administrativeUnitId
public String administrativeUnitId()
Get the administrativeUnitId property: Unique identifier for the administrative unit that the directory role is scoped to.
Returns:
fromJson
public static MicrosoftGraphScopedRoleMembership fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphScopedRoleMembership from the JsonReader.
Parameters:
Returns:
Throws:
roleId
public String roleId()
Get the roleId property: Unique identifier for the directory role that the member is in.
Returns:
roleMemberInfo
public MicrosoftGraphIdentity roleMemberInfo()
Get the roleMemberInfo property: identity.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphScopedRoleMembership.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphScopedRoleMembership.validate()withAdditionalProperties
public MicrosoftGraphScopedRoleMembership withAdditionalProperties(Map
Set the additionalProperties property: scopedRoleMembership.
Overrides:
MicrosoftGraphScopedRoleMembership.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withAdministrativeUnitId
public MicrosoftGraphScopedRoleMembership withAdministrativeUnitId(String administrativeUnitId)
Set the administrativeUnitId property: Unique identifier for the administrative unit that the directory role is scoped to.
Parameters:
Returns:
withId
public MicrosoftGraphScopedRoleMembership withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphScopedRoleMembership.withId(String id)Parameters:
withRoleId
public MicrosoftGraphScopedRoleMembership withRoleId(String roleId)
Set the roleId property: Unique identifier for the directory role that the member is in.
Parameters:
Returns:
withRoleMemberInfo
public MicrosoftGraphScopedRoleMembership withRoleMemberInfo(MicrosoftGraphIdentity roleMemberInfo)
Set the roleMemberInfo property: identity.
Parameters:
Returns:
Applies to
Azure SDK for Java