Class MicrosoftGraphAdministrativeUnitInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphAdministrativeUnitInner
-
public final class MicrosoftGraphAdministrativeUnitInner extends MicrosoftGraphDirectoryObjectInner
Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphAdministrativeUnitInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: Represents an Azure Active Directory object.Stringdescription()Get the description property: An optional description for the administrative unit.StringdisplayName()Get the displayName property: Display name for the administrative unit.List<MicrosoftGraphExtensionInner>extensions()Get the extensions property: The extensions property.List<MicrosoftGraphDirectoryObjectInner>members()Get the members property: Users and groups that are members of this Adminsitrative Unit.List<MicrosoftGraphScopedRoleMembershipInner>scopedRoleMembers()Get the scopedRoleMembers property: Scoped-role members of this Administrative Unit.voidvalidate()Validates the instance.Stringvisibility()Get the visibility property: Controls whether the administrative unit and its members are hidden or public.MicrosoftGraphAdministrativeUnitInnerwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: Represents an Azure Active Directory object.MicrosoftGraphAdministrativeUnitInnerwithDeletedDateTime(OffsetDateTime deletedDateTime)Set the deletedDateTime property: The deletedDateTime property.MicrosoftGraphAdministrativeUnitInnerwithDescription(String description)Set the description property: An optional description for the administrative unit.MicrosoftGraphAdministrativeUnitInnerwithDisplayName(String displayName)Set the displayName property: Display name for the administrative unit.MicrosoftGraphAdministrativeUnitInnerwithExtensions(List<MicrosoftGraphExtensionInner> extensions)Set the extensions property: The extensions property.MicrosoftGraphAdministrativeUnitInnerwithId(String id)Set the id property: Read-only.MicrosoftGraphAdministrativeUnitInnerwithMembers(List<MicrosoftGraphDirectoryObjectInner> members)Set the members property: Users and groups that are members of this Adminsitrative Unit.MicrosoftGraphAdministrativeUnitInnerwithScopedRoleMembers(List<MicrosoftGraphScopedRoleMembershipInner> scopedRoleMembers)Set the scopedRoleMembers property: Scoped-role members of this Administrative Unit.MicrosoftGraphAdministrativeUnitInnerwithVisibility(String visibility)Set the visibility property: Controls whether the administrative unit and its members are hidden or public.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
deletedDateTime
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
description
public String description()
Get the description property: An optional description for the administrative unit.- Returns:
- the description value.
-
withDescription
public MicrosoftGraphAdministrativeUnitInner withDescription(String description)
Set the description property: An optional description for the administrative unit.- Parameters:
description- the description value to set.- Returns:
- the MicrosoftGraphAdministrativeUnitInner object itself.
-
displayName
public String displayName()
Get the displayName property: Display name for the administrative unit.- Returns:
- the displayName value.
-
withDisplayName
public MicrosoftGraphAdministrativeUnitInner withDisplayName(String displayName)
Set the displayName property: Display name for the administrative unit.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphAdministrativeUnitInner object itself.
-
visibility
public String visibility()
Get the visibility property: Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership or Public. If not set, default behavior is Public. When set to HiddenMembership, only members of the administrative unit can list other members of the adminstrative unit.- Returns:
- the visibility value.
-
withVisibility
public MicrosoftGraphAdministrativeUnitInner withVisibility(String visibility)
Set the visibility property: Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership or Public. If not set, default behavior is Public. When set to HiddenMembership, only members of the administrative unit can list other members of the adminstrative unit.- Parameters:
visibility- the visibility value to set.- Returns:
- the MicrosoftGraphAdministrativeUnitInner object itself.
-
members
public List<MicrosoftGraphDirectoryObjectInner> members()
Get the members property: Users and groups that are members of this Adminsitrative Unit. HTTP Methods: GET (list members), POST (add members), DELETE (remove members).- Returns:
- the members value.
-
withMembers
public MicrosoftGraphAdministrativeUnitInner withMembers(List<MicrosoftGraphDirectoryObjectInner> members)
Set the members property: Users and groups that are members of this Adminsitrative Unit. HTTP Methods: GET (list members), POST (add members), DELETE (remove members).- Parameters:
members- the members value to set.- Returns:
- the MicrosoftGraphAdministrativeUnitInner object itself.
-
scopedRoleMembers
public List<MicrosoftGraphScopedRoleMembershipInner> scopedRoleMembers()
Get the scopedRoleMembers property: Scoped-role members of this Administrative Unit. HTTP Methods: GET (list scopedRoleMemberships), POST (add scopedRoleMembership), DELETE (remove scopedRoleMembership).- Returns:
- the scopedRoleMembers value.
-
withScopedRoleMembers
public MicrosoftGraphAdministrativeUnitInner withScopedRoleMembers(List<MicrosoftGraphScopedRoleMembershipInner> scopedRoleMembers)
Set the scopedRoleMembers property: Scoped-role members of this Administrative Unit. HTTP Methods: GET (list scopedRoleMemberships), POST (add scopedRoleMembership), DELETE (remove scopedRoleMembership).- Parameters:
scopedRoleMembers- the scopedRoleMembers value to set.- Returns:
- the MicrosoftGraphAdministrativeUnitInner object itself.
-
extensions
public List<MicrosoftGraphExtensionInner> extensions()
Get the extensions property: The extensions property.- Returns:
- the extensions value.
-
withExtensions
public MicrosoftGraphAdministrativeUnitInner withExtensions(List<MicrosoftGraphExtensionInner> extensions)
Set the extensions property: The extensions property.- Parameters:
extensions- the extensions value to set.- Returns:
- the MicrosoftGraphAdministrativeUnitInner object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.- Overrides:
additionalPropertiesin classMicrosoftGraphDirectoryObjectInner- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphAdministrativeUnitInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphDirectoryObjectInner- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphAdministrativeUnitInner object itself.
-
withDeletedDateTime
public MicrosoftGraphAdministrativeUnitInner withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deletedDateTime property: The deletedDateTime property.- Overrides:
withDeletedDateTimein classMicrosoftGraphDirectoryObjectInner- Parameters:
deletedDateTime- the deletedDateTime value to set.- Returns:
- the MicrosoftGraphDirectoryObjectInner object itself.
-
withId
public MicrosoftGraphAdministrativeUnitInner withId(String id)
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphDirectoryObjectInner- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphDirectoryObjectInner- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-