Class RoleAssignment.Builder

    • Method Detail

      • description

        public RoleAssignment.Builder description​(String description)
        “Description of the Role Assignment.”
        Parameters:
        description - value of description property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • displayName

        public RoleAssignment.Builder displayName​(String displayName)
        “The display or friendly name of the role Assignment.”
        Parameters:
        displayName - value of displayName property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • resourceScopes

        public RoleAssignment.Builder resourceScopes​(List<String> resourceScopes)
        “List of ids of role scope member security groups. These are IDs from Azure Active Directory.”
        Parameters:
        resourceScopes - value of resourceScopes property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • resourceScopes

        public RoleAssignment.Builder resourceScopes​(String... resourceScopes)
        “List of ids of role scope member security groups. These are IDs from Azure Active Directory.”
        Parameters:
        resourceScopes - value of resourceScopes property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • resourceScopesNextLink

        public RoleAssignment.Builder resourceScopesNextLink​(String resourceScopesNextLink)
        “List of ids of role scope member security groups. These are IDs from Azure Active Directory.”
        Parameters:
        resourceScopesNextLink - value of resourceScopes@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • scopeMembers

        public RoleAssignment.Builder scopeMembers​(List<String> scopeMembers)
        “List of ids of role scope member security groups. These are IDs from Azure Active Directory.”
        Parameters:
        scopeMembers - value of scopeMembers property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • scopeMembers

        public RoleAssignment.Builder scopeMembers​(String... scopeMembers)
        “List of ids of role scope member security groups. These are IDs from Azure Active Directory.”
        Parameters:
        scopeMembers - value of scopeMembers property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • scopeMembersNextLink

        public RoleAssignment.Builder scopeMembersNextLink​(String scopeMembersNextLink)
        “List of ids of role scope member security groups. These are IDs from Azure Active Directory.”
        Parameters:
        scopeMembersNextLink - value of scopeMembers@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • scopeType

        public RoleAssignment.Builder scopeType​(RoleAssignmentScopeType scopeType)
        “Specifies the type of scope for a Role Assignment. Default type 'ResourceScope' allows assignment of ResourceScopes. For 'AllDevices', 'AllLicensedUsers', and ' AllDevicesAndLicensedUsers', the ResourceScopes property should be left empty.”
        Parameters:
        scopeType - value of scopeType property (as defined in service metadata)
        Returns:
        this (for method chaining)