Class MicrosoftGraphDirectoryRoleInner


  • public final class MicrosoftGraphDirectoryRoleInner
    extends MicrosoftGraphDirectoryObjectInner
    Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
    • Constructor Detail

      • MicrosoftGraphDirectoryRoleInner

        public MicrosoftGraphDirectoryRoleInner()
    • Method Detail

      • description

        public String description()
        Get the description property: The description for the directory role. Read-only.
        Returns:
        the description value.
      • withDescription

        public MicrosoftGraphDirectoryRoleInner withDescription​(String description)
        Set the description property: The description for the directory role. Read-only.
        Parameters:
        description - the description value to set.
        Returns:
        the MicrosoftGraphDirectoryRoleInner object itself.
      • displayName

        public String displayName()
        Get the displayName property: The display name for the directory role. Read-only.
        Returns:
        the displayName value.
      • withDisplayName

        public MicrosoftGraphDirectoryRoleInner withDisplayName​(String displayName)
        Set the displayName property: The display name for the directory role. Read-only.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the MicrosoftGraphDirectoryRoleInner object itself.
      • roleTemplateId

        public String roleTemplateId()
        Get the roleTemplateId property: The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read only.
        Returns:
        the roleTemplateId value.
      • withRoleTemplateId

        public MicrosoftGraphDirectoryRoleInner withRoleTemplateId​(String roleTemplateId)
        Set the roleTemplateId property: The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read only.
        Parameters:
        roleTemplateId - the roleTemplateId value to set.
        Returns:
        the MicrosoftGraphDirectoryRoleInner object itself.
      • members

        public List<MicrosoftGraphDirectoryObjectInner> members()
        Get the members property: Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable.
        Returns:
        the members value.
      • withMembers

        public MicrosoftGraphDirectoryRoleInner withMembers​(List<MicrosoftGraphDirectoryObjectInner> members)
        Set the members property: Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable.
        Parameters:
        members - the members value to set.
        Returns:
        the MicrosoftGraphDirectoryRoleInner 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:
        additionalProperties in class MicrosoftGraphDirectoryObjectInner
        Returns:
        the additionalProperties value.