Class MicrosoftGraphScopedRoleMembership
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphScopedRoleMembership
scopedRoleMembership.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphScopedRoleMembership class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: scopedRoleMembership.Get the administrativeUnitId property: Unique identifier for the administrative unit that the directory role is scoped to.roleId()Get the roleId property: Unique identifier for the directory role that the member is in.Get the roleMemberInfo property: identity.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: scopedRoleMembership.withAdministrativeUnitId(String administrativeUnitId) Set the administrativeUnitId property: Unique identifier for the administrative unit that the directory role is scoped to.Set the id property: Read-only.withRoleId(String roleId) Set the roleId property: Unique identifier for the directory role that the member is in.withRoleMemberInfo(MicrosoftGraphIdentity roleMemberInfo) Set the roleMemberInfo property: identity.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphScopedRoleMembership
public MicrosoftGraphScopedRoleMembership()Creates an instance of MicrosoftGraphScopedRoleMembership class.
-
-
Method Details
-
administrativeUnitId
Get the administrativeUnitId property: Unique identifier for the administrative unit that the directory role is scoped to.- Returns:
- the administrativeUnitId value.
-
withAdministrativeUnitId
Set the administrativeUnitId property: Unique identifier for the administrative unit that the directory role is scoped to.- Parameters:
administrativeUnitId- the administrativeUnitId value to set.- Returns:
- the MicrosoftGraphScopedRoleMembership object itself.
-
roleId
Get the roleId property: Unique identifier for the directory role that the member is in.- Returns:
- the roleId value.
-
withRoleId
Set the roleId property: Unique identifier for the directory role that the member is in.- Parameters:
roleId- the roleId value to set.- Returns:
- the MicrosoftGraphScopedRoleMembership object itself.
-
roleMemberInfo
Get the roleMemberInfo property: identity.- Returns:
- the roleMemberInfo value.
-
withRoleMemberInfo
Set the roleMemberInfo property: identity.- Parameters:
roleMemberInfo- the roleMemberInfo value to set.- Returns:
- the MicrosoftGraphScopedRoleMembership object itself.
-
additionalProperties
Get the additionalProperties property: scopedRoleMembership.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphScopedRoleMembership withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: scopedRoleMembership.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphScopedRoleMembership object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-