Class MembersSetProfileV2Builder

    • Method Detail

      • withNewEmail

        public MembersSetProfileV2Builder withNewEmail​(java.lang.String newEmail)
        Set value for optional field.
        Parameters:
        newEmail - New email for member. Must have length of at most 255 and match pattern " ^['#&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*\\.[A-Za-z]{2,15}$".
        Returns:
        this builder
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • withNewExternalId

        public MembersSetProfileV2Builder withNewExternalId​(java.lang.String newExternalId)
        Set value for optional field.
        Parameters:
        newExternalId - New external ID for member. Must have length of at most 64.
        Returns:
        this builder
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • withNewGivenName

        public MembersSetProfileV2Builder withNewGivenName​(java.lang.String newGivenName)
        Set value for optional field.
        Parameters:
        newGivenName - New given name for member. Must have length of at most 100 and match pattern "[^/:?*<>\"|]*".
        Returns:
        this builder
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • withNewSurname

        public MembersSetProfileV2Builder withNewSurname​(java.lang.String newSurname)
        Set value for optional field.
        Parameters:
        newSurname - New surname for member. Must have length of at most 100 and match pattern "[^/:?*<>\"|]*".
        Returns:
        this builder
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • withNewPersistentId

        public MembersSetProfileV2Builder withNewPersistentId​(java.lang.String newPersistentId)
        Set value for optional field.
        Parameters:
        newPersistentId - New persistent ID. This field only available to teams using persistent ID SAML configuration.
        Returns:
        this builder
      • withNewIsDirectoryRestricted

        public MembersSetProfileV2Builder withNewIsDirectoryRestricted​(java.lang.Boolean newIsDirectoryRestricted)
        Set value for optional field.
        Parameters:
        newIsDirectoryRestricted - New value for whether the user is a directory restricted user.
        Returns:
        this builder