Class MicrosoftGraphScopedRoleMembershipInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphScopedRoleMembershipInner
-
public final class MicrosoftGraphScopedRoleMembershipInner extends MicrosoftGraphEntity
scopedRoleMembership.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphScopedRoleMembershipInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: scopedRoleMembership.StringadministrativeUnitId()Get the administrativeUnitId property: Unique identifier for the administrative unit that the directory role is scoped to.StringroleId()Get the roleId property: Unique identifier for the directory role that the member is in.MicrosoftGraphIdentityroleMemberInfo()Get the roleMemberInfo property: identity.voidvalidate()Validates the instance.MicrosoftGraphScopedRoleMembershipInnerwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: scopedRoleMembership.MicrosoftGraphScopedRoleMembershipInnerwithAdministrativeUnitId(String administrativeUnitId)Set the administrativeUnitId property: Unique identifier for the administrative unit that the directory role is scoped to.MicrosoftGraphScopedRoleMembershipInnerwithId(String id)Set the id property: Read-only.MicrosoftGraphScopedRoleMembershipInnerwithRoleId(String roleId)Set the roleId property: Unique identifier for the directory role that the member is in.MicrosoftGraphScopedRoleMembershipInnerwithRoleMemberInfo(MicrosoftGraphIdentity roleMemberInfo)Set the roleMemberInfo property: identity.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
administrativeUnitId
public String administrativeUnitId()
Get the administrativeUnitId property: Unique identifier for the administrative unit that the directory role is scoped to.- Returns:
- the administrativeUnitId value.
-
withAdministrativeUnitId
public MicrosoftGraphScopedRoleMembershipInner withAdministrativeUnitId(String administrativeUnitId)
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 MicrosoftGraphScopedRoleMembershipInner object itself.
-
roleId
public String roleId()
Get the roleId property: Unique identifier for the directory role that the member is in.- Returns:
- the roleId value.
-
withRoleId
public MicrosoftGraphScopedRoleMembershipInner withRoleId(String roleId)
Set the roleId property: Unique identifier for the directory role that the member is in.- Parameters:
roleId- the roleId value to set.- Returns:
- the MicrosoftGraphScopedRoleMembershipInner object itself.
-
roleMemberInfo
public MicrosoftGraphIdentity roleMemberInfo()
Get the roleMemberInfo property: identity.- Returns:
- the roleMemberInfo value.
-
withRoleMemberInfo
public MicrosoftGraphScopedRoleMembershipInner withRoleMemberInfo(MicrosoftGraphIdentity roleMemberInfo)
Set the roleMemberInfo property: identity.- Parameters:
roleMemberInfo- the roleMemberInfo value to set.- Returns:
- the MicrosoftGraphScopedRoleMembershipInner object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: scopedRoleMembership.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphScopedRoleMembershipInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: scopedRoleMembership.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphScopedRoleMembershipInner object itself.
-
withId
public MicrosoftGraphScopedRoleMembershipInner withId(String id)
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.
-
-