Class User.Builder

  • Enclosing class:
    User

    public static final class User.Builder
    extends Object
    • Method Detail

      • assignedLicensesNextLink

        public User.Builder assignedLicensesNextLink​(String assignedLicensesNextLink)
      • assignedPlansNextLink

        public User.Builder assignedPlansNextLink​(String assignedPlansNextLink)
      • businessPhonesNextLink

        public User.Builder businessPhonesNextLink​(String businessPhonesNextLink)
      • consentProvidedForMinor

        public User.Builder consentProvidedForMinor​(String consentProvidedForMinor)
      • externalUserStateChangeDateTime

        public User.Builder externalUserStateChangeDateTime​(OffsetDateTime externalUserStateChangeDateTime)
      • identitiesNextLink

        public User.Builder identitiesNextLink​(String identitiesNextLink)
      • imAddressesNextLink

        public User.Builder imAddressesNextLink​(String imAddressesNextLink)
      • legalAgeGroupClassification

        public User.Builder legalAgeGroupClassification​(String legalAgeGroupClassification)
      • licenseAssignmentStatesNextLink

        public User.Builder licenseAssignmentStatesNextLink​(String licenseAssignmentStatesNextLink)
      • onPremisesDistinguishedName

        public User.Builder onPremisesDistinguishedName​(String onPremisesDistinguishedName)
      • onPremisesDomainName

        public User.Builder onPremisesDomainName​(String onPremisesDomainName)
      • onPremisesImmutableId

        public User.Builder onPremisesImmutableId​(String onPremisesImmutableId)
      • onPremisesProvisioningErrorsNextLink

        public User.Builder onPremisesProvisioningErrorsNextLink​(String onPremisesProvisioningErrorsNextLink)
      • onPremisesSamAccountName

        public User.Builder onPremisesSamAccountName​(String onPremisesSamAccountName)
      • onPremisesSecurityIdentifier

        public User.Builder onPremisesSecurityIdentifier​(String onPremisesSecurityIdentifier)
      • onPremisesSyncEnabled

        public User.Builder onPremisesSyncEnabled​(Boolean onPremisesSyncEnabled)
      • onPremisesUserPrincipalName

        public User.Builder onPremisesUserPrincipalName​(String onPremisesUserPrincipalName)
      • otherMailsNextLink

        public User.Builder otherMailsNextLink​(String otherMailsNextLink)
      • preferredDataLocation

        public User.Builder preferredDataLocation​(String preferredDataLocation)
      • provisionedPlansNextLink

        public User.Builder provisionedPlansNextLink​(String provisionedPlansNextLink)
      • proxyAddressesNextLink

        public User.Builder proxyAddressesNextLink​(String proxyAddressesNextLink)
      • securityIdentifier

        public User.Builder securityIdentifier​(String securityIdentifier)
      • serviceProvisioningErrorsNextLink

        public User.Builder serviceProvisioningErrorsNextLink​(String serviceProvisioningErrorsNextLink)
      • signInSessionsValidFromDateTime

        public User.Builder signInSessionsValidFromDateTime​(OffsetDateTime signInSessionsValidFromDateTime)
      • deviceEnrollmentLimit

        public User.Builder deviceEnrollmentLimit​(Integer deviceEnrollmentLimit)
        “The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000.”
        Parameters:
        deviceEnrollmentLimit - value of deviceEnrollmentLimit property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • pastProjectsNextLink

        public User.Builder pastProjectsNextLink​(String pastProjectsNextLink)
      • responsibilitiesNextLink

        public User.Builder responsibilitiesNextLink​(String responsibilitiesNextLink)
      • calendar

        public User.Builder calendar​(Calendar calendar)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = false

        Org.OData.Capabilities.V1.DeleteRestrictions

        Deletable = false

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.InsertRestrictions

        Insertable = false

        Org.OData.Capabilities.V1.SearchRestrictions

        Searchable = false

        Parameters:
        calendar - value of calendar property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • calendarGroups

        public User.Builder calendarGroups​(List<CalendarGroup> calendarGroups)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = false

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.SearchRestrictions

        Searchable = false

        Parameters:
        calendarGroups - value of calendarGroups property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • calendarGroups

        public User.Builder calendarGroups​(CalendarGroup... calendarGroups)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = false

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.SearchRestrictions

        Searchable = false

        Parameters:
        calendarGroups - value of calendarGroups property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • calendars

        public User.Builder calendars​(List<Calendar> calendars)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = false

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.SearchRestrictions

        Searchable = false

        Parameters:
        calendars - value of calendars property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • calendars

        public User.Builder calendars​(Calendar... calendars)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = false

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.SearchRestrictions

        Searchable = false

        Parameters:
        calendars - value of calendars property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • calendarView

        public User.Builder calendarView​(List<Event> calendarView)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = true

        Org.OData.Capabilities.V1.DeleteRestrictions

        Deletable = false

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.InsertRestrictions

        Insertable = false

        Org.OData.Capabilities.V1.NavigationRestrictions

        Org.OData.Capabilities.V1.SearchRestrictions

        Searchable = false

        Org.OData.Capabilities.V1.UpdateRestrictions

        Updatable = false

        Parameters:
        calendarView - value of calendarView property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • calendarView

        public User.Builder calendarView​(Event... calendarView)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = true

        Org.OData.Capabilities.V1.DeleteRestrictions

        Deletable = false

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.InsertRestrictions

        Insertable = false

        Org.OData.Capabilities.V1.NavigationRestrictions

        Org.OData.Capabilities.V1.SearchRestrictions

        Searchable = false

        Org.OData.Capabilities.V1.UpdateRestrictions

        Updatable = false

        Parameters:
        calendarView - value of calendarView property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contactFolders

        public User.Builder contactFolders​(List<ContactFolder> contactFolders)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = true

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.SearchRestrictions

        Searchable = false

        Parameters:
        contactFolders - value of contactFolders property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contactFolders

        public User.Builder contactFolders​(ContactFolder... contactFolders)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = true

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.SearchRestrictions

        Searchable = false

        Parameters:
        contactFolders - value of contactFolders property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contacts

        public User.Builder contacts​(List<Contact> contacts)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = true

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Parameters:
        contacts - value of contacts property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • contacts

        public User.Builder contacts​(Contact... contacts)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = true

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Parameters:
        contacts - value of contacts property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • events

        public User.Builder events​(List<Event> events)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = false

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.SearchRestrictions

        Searchable = false

        Parameters:
        events - value of events property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • events

        public User.Builder events​(Event... events)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = false

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.SearchRestrictions

        Searchable = false

        Parameters:
        events - value of events property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • inferenceClassification

        public User.Builder inferenceClassification​(InferenceClassification inferenceClassification)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = false

        Org.OData.Capabilities.V1.DeleteRestrictions

        Deletable = false

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.InsertRestrictions

        Insertable = false

        Org.OData.Capabilities.V1.SearchRestrictions

        Searchable = false

        Parameters:
        inferenceClassification - value of inferenceClassification property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • mailFolders

        public User.Builder mailFolders​(List<MailFolder> mailFolders)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = true

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.SearchRestrictions

        Searchable = false

        Parameters:
        mailFolders - value of mailFolders property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • mailFolders

        public User.Builder mailFolders​(MailFolder... mailFolders)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = true

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.SearchRestrictions

        Searchable = false

        Parameters:
        mailFolders - value of mailFolders property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • messages

        public User.Builder messages​(List<Message> messages)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = false

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Parameters:
        messages - value of messages property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • messages

        public User.Builder messages​(Message... messages)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = false

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Parameters:
        messages - value of messages property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • outlook

        public User.Builder outlook​(OutlookUser outlook)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = false

        Org.OData.Capabilities.V1.DeleteRestrictions

        Deletable = false

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.InsertRestrictions

        Insertable = false

        Org.OData.Capabilities.V1.SearchRestrictions

        Searchable = false

        Org.OData.Capabilities.V1.UpdateRestrictions

        Updatable = false

        Parameters:
        outlook - value of outlook property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • people

        public User.Builder people​(List<Person> people)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = false

        Org.OData.Capabilities.V1.DeleteRestrictions

        Deletable = false

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.InsertRestrictions

        Insertable = false

        Org.OData.Capabilities.V1.UpdateRestrictions

        Updatable = false

        Parameters:
        people - value of people property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • people

        public User.Builder people​(Person... people)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = false

        Org.OData.Capabilities.V1.DeleteRestrictions

        Deletable = false

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.InsertRestrictions

        Insertable = false

        Org.OData.Capabilities.V1.UpdateRestrictions

        Updatable = false

        Parameters:
        people - value of people property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • managedDevices

        public User.Builder managedDevices​(List<ManagedDevice> managedDevices)
        “The managed devices associated with the user.”
        Parameters:
        managedDevices - value of managedDevices property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • managedDevices

        public User.Builder managedDevices​(ManagedDevice... managedDevices)
        “The managed devices associated with the user.”
        Parameters:
        managedDevices - value of managedDevices property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • deviceManagementTroubleshootingEvents

        public User.Builder deviceManagementTroubleshootingEvents​(List<DeviceManagementTroubleshootingEvent> deviceManagementTroubleshootingEvents)
        “The list of troubleshooting events for this user.”
        Parameters:
        deviceManagementTroubleshootingEvents - value of deviceManagementTroubleshootingEvents property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • deviceManagementTroubleshootingEvents

        public User.Builder deviceManagementTroubleshootingEvents​(DeviceManagementTroubleshootingEvent... deviceManagementTroubleshootingEvents)
        “The list of troubleshooting events for this user.”
        Parameters:
        deviceManagementTroubleshootingEvents - value of deviceManagementTroubleshootingEvents property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • photo

        public User.Builder photo​(ProfilePhoto photo)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = false

        Org.OData.Capabilities.V1.DeleteRestrictions

        Deletable = true

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.InsertRestrictions

        Insertable = false

        Org.OData.Capabilities.V1.SearchRestrictions

        Searchable = false

        Parameters:
        photo - value of photo property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • photos

        public User.Builder photos​(List<ProfilePhoto> photos)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = false

        Org.OData.Capabilities.V1.CountRestrictions

        Countable = false

        Org.OData.Capabilities.V1.DeleteRestrictions

        Deletable = false

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.InsertRestrictions

        Insertable = false

        Org.OData.Capabilities.V1.SearchRestrictions

        Searchable = false

        Org.OData.Capabilities.V1.UpdateRestrictions

        Updatable = false

        Parameters:
        photos - value of photos property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • photos

        public User.Builder photos​(ProfilePhoto... photos)

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = false

        Org.OData.Capabilities.V1.CountRestrictions

        Countable = false

        Org.OData.Capabilities.V1.DeleteRestrictions

        Deletable = false

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.InsertRestrictions

        Insertable = false

        Org.OData.Capabilities.V1.SearchRestrictions

        Searchable = false

        Org.OData.Capabilities.V1.UpdateRestrictions

        Updatable = false

        Parameters:
        photos - value of photos property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • build

        public User build()