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.String
administrativeUnitId()
Get the administrativeUnitId property: Unique identifier for the administrative unit that the directory role is scoped to.String
roleId()
Get the roleId property: Unique identifier for the directory role that the member is in.MicrosoftGraphIdentity
roleMemberInfo()
Get the roleMemberInfo property: identity.void
validate()
Validates the instance.MicrosoftGraphScopedRoleMembershipInner
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: scopedRoleMembership.MicrosoftGraphScopedRoleMembershipInner
withAdministrativeUnitId(String administrativeUnitId)
Set the administrativeUnitId property: Unique identifier for the administrative unit that the directory role is scoped to.MicrosoftGraphScopedRoleMembershipInner
withId(String id)
Set the id property: Read-only.MicrosoftGraphScopedRoleMembershipInner
withRoleId(String roleId)
Set the roleId property: Unique identifier for the directory role that the member is in.MicrosoftGraphScopedRoleMembershipInner
withRoleMemberInfo(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:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphScopedRoleMembershipInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: scopedRoleMembership.- Overrides:
withAdditionalProperties
in 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:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-